Upgrade to release 1.2.15:
- Resolve Python 2.7 support issue introduced in v1.2.14 in
sphinx.py.
- Add extra_stacklevel argument for interoperating with other
wrapper functions (refer to #68 for a concrete use case).
- Update class method deprecation warnings for Python 3.13.
- Update GitHub workflows and fix development dependencies for
Python 3.12.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
migrate to hatchling build backend
Changes for v3.5.3 (2024-12-31)
Use interactive shells and bind to make environment variable name completions work in older Bash versions (#506)
Changes for v3.5.2 (2024-12-06)
Fix _parse_known_args monkeypatching
Note: This fix is required to restore compatibility with Python 3.12.8 and 3.13.1.
CI improvements
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.24.1:
- Typing: Fix typing for class_registry.get_class
From release 3.24.0:
- Typing: Improve typings in marshmallow.fields
- Typing: Replace type comments with inline typings
- Typing: Fix type hint for nested parameter of Nested
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.3.1:
- [Backport devel-2.3.x] Fix PyInstaller hooks to work with v6.x.x
- Remove duplicated code block for dependency management (applies
to stable branches only)
- [Backport devel-2.3.x] Bump SDL2 deps versions to latest
available releases (macOS, Linux, Windows)
- [Backport devel-2.3.x] Fix issue with CompoundSelectionBehavior
silently ignoring ValueError in on_selected_nodes event
- [Backport devel-2.3.x] Label: Prevent overwriting disabled_color
attribute when color is updated
- [Backport devel-2.3.x] Fix ConfigParser.write error with when
--save is supplied as an argument
- [Backport devel-2.3.x] Update monitor module to use dp
- [Backport devel-2.3.x] Rename CaptureDelegate to
KivyCaptureDelegate in AVFoundationCamera to avoid duplicated
symbols
- [Backport devel-2.3.x] avplayer audio provider: Fixes seek and
state on iOS and macOS
- [Backport devel-2.3.x] Fix numpy float/int error when using
CameraAndroid.decode_frame
- [Backport devel-2.3.x] Use filetype as imghdr built-in module is
deprecated and slated for removal in Python 3.13
- [Backport devel-2.3.x] Updated ES vkeyboard layout to resemble a
real ES keyboard layout
- [Backport devel-2.3.x] Fix xsel import when clipboard is empty,
and add timeout failsafe
- [Backport devel-2.3.x] Fix SDL_EventFilter definitions to match
SDL definitions (fixes build on GCC 14)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes CVE-2024-53907 and CVE-2024-53908
Release Notes:
https://docs.djangoproject.com/en/dev/releases/4.2.17/
Switch to python_setuptools_build_meta
Fix:
WARNING: python3-django-4.2.17-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.8.3:
- Remove deprecate from payload.
- Add background parameter to servers.
- Split async_io.py and simplify server start/stop.
- Update custom_msg example to include server.
- Move repl doc to repl repo.
- Add API to set max until disconnect.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.7.0:
- Add support for Python 3.13, drop Python 3.8
- setup: Use summary for package summary
- tox: Use pre-commit for 'pep8' target
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.8.0:
- Added experimental support for running functions in
subinterpreters on Python 3.13 and later
- Added support for the copy(), copy_into(), move() and move_into()
methods in anyio.Path, available in Python 3.14
- Changed TaskGroup on asyncio to always spawn tasks non-eagerly,
even if using a task factory created via
asyncio.create_eager_task_factory(), to preserve expected
Trio-like task scheduling semantics
- Configure SO_RCVBUF, SO_SNDBUF and TCP_NODELAY on the selector
thread waker socket pair (this should improve the performance of
wait_readable() and wait_writable() when using the
ProactorEventLoop)
- Fixed AssertionError when using nest-asyncio
- Fixed return type annotation of various context managers'
__exit__ method
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.8.1:
- Fix handling of nullable Raw fields for OAS 3.1.0
- Support marshmallow 4
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.10.4:
- Fix for comparison of AnyUrl objects
- Properly fetch PEP 695 type params for functions, do not fetch
annotations from signature
- Include JSON Schema input core schema in function schemas
- Add len to _BaseUrl to avoid TypeError
- Make sure the type reference is removed from the seen references
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Update from deprecated pyOpenSSL APIs to non-deprecated cryptography APIs.
License-Update:
format of LICENSE changed from "ASCII text" to "ASCII text, with CRLF line terminators"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- meta: bump the minimum required Python version to 3.9
- core: reset cached endpoints on alternate setting changes
- core: only search for endpoints on the correct alternate settings
- tree: guard finalizers against aborted initialization
- version: handle when patch component is missing
- core: fix bMaxPower conversion for SuperSpeed devices
- openusb: fix missing commas in __all__ list
- libusb1: fix trailing comma in LIBUSB_TRANSFER_TYPE_CONTROL
- legacy: Fix DeviceHandle finalizer checking for the wrong attribute
- libloader: search in default homebrew prefix on apple silicon
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Typing: Fix typing for Schema.from_dict <marshmallow.schema.Schema.from_dict>
- Documentation: Various documentation cleanups, including more concise docs in the marshmallow.fields API reference
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- [Alarm] Fix Alarm reuse on cancellation.
- [xDS RBAC] Support string_match in HeaderMatcher.
- [pick_first] fix shutdown bug in new PF impl.
- [c-ares] Fix inverted length check in GrpcPolledFdWindows.
- [RetryFilter] Copy the SliceBuffer from RetryFilter's cache to batch payload.
- [EventEngine] Add stronger wording on Endpoint::Read contract.
- [chttp2] Fix channelz address.
- [XdsClient] Add missing authority to XdsClient metrics scope.
- [EventEngine] API contract: Endpoint::Read will provide either an error or data, but never both.
- [Build] Dropped Bazel 6.x support.
- [Build] Override MACOSX_DEPLOYMENT_TARGET for gRPC Python.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.0:
- Accept generic collections.abc.Mapping, not just dict, as input.
- indent keyword argument for customizing indent width of arrays.
- Type annotate dump function's output stream object as
typing.IO[bytes] (previously typing.BinaryIO)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.5.1:
- Add --find to recursively find SBOM files
- Add --fixup to repair any loaded SBOM files
- Add support for component CPE values
- Add support for component types, e.g. library, application or
firmware
- Add support for loading CycloneDX files
- Add support for loading fallback files
- Add support for loading SPDX files
- Add support for substituted values like @VCS_VERSION@
- Add support for SWID activationStatus
- Add support for verifying different SBOM different formats
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.0.1:
* Change deflate_tree: base_length[] and length_code[] not to be
const to avoid C2166 error on windows
* Drop support for python 3.8 and add support for python 3.13
Patch 0001-Do-not-override-const-qualifier.patch has been merged
in the upstream therefore the file is no longer needed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.3.0:
- Upgraded bitarray dependency to >= 3.0.0.
- Explicit support for Python 3.13.
- Added i and I struct codes for 32-bit ints.
- Removed the 'experimental feature' label from the new exotic
floating point types.
- Fix for negative index LSB0 slicing issue.
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.4.1:
- Project metadata are now stored using pyproject.toml instead of
setup.cfg using setuptools as the build backend.
- Enforce annotation delayed loading for a simpler and consistent
types in the project.
- Optional mypyc compilation upgraded to version 1.14 for Python
>= 3.8
- Converting content to Unicode bytes may insert utf_8 instead of
preferred utf-8.
- Deprecation warning "'count' is passed as positional argument"
when converting to Unicode bytes on Python 3.13+
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
While recipe build depends on python3-beautifulsoup4-native and
python3-soupsieve-native, it failed at fix loop dependency error
...
|ERROR: Task virtual:native:meta-openembedded/meta-python/
recipes-devtools/python/python3-soupsieve_2.6.bb:do_populate_sysroot
has circular dependency on virtual:native:meta-openembedded/
meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.3.bb:do_populate_sysroot
...
Correct runtime depends as class-target override to workaround
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Translations update: korean, chinese (traditional), portugese, russian,
dutch, kazakh, swedish, turkish, slovak, ukranian, spanish, french.
- Move the repository to the pallets-eco organization.
- Stop supporting Python 3.9 and start supporting Python 3.13
- Removed required flag support from HiddenWidget,RangeWidget and SelectWidget to
conform to W3C
- NoneOf and AnyOf can validate multiple valued fields like SelectMultipleField
- Use GHA and pre-commit workflows inspired from Flask.
- Fix SelectMultipleBase import.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- fix: Update run_with_catch log flushing
- feat: Write CACHEDIR.TAG file
- Upgrade setuptools to 75.3
- Upgrade setuptools to 75.5 and wheel to 0.45
- No longer forcibly echo off during windows batch activation
- feat: Write CACHEDIR.TAG file
- Upgrade to pip 24.3
- docs: fix the documentation typo on Extend Functionality page.
- Fix broken Windows zipapp and drop 3.7 support
- Skip $PATH entries we cannot check rather than dying with PermissionError
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add max_part_size to MultiPartParser to limit the size of parts in multipart/form-data requests
- Allow to raise HTTPException before websocket.accept()
- Bump minimum python-multipart version to 0.0.13
- Change python-multipart import to python_multipart
- Revert bump on python-multipart on starlette[full] extras
- Raise ClientDisconnect on StreamingResponse
- Use ETag from headers when parsing If-Range in FileResponse
- Follow directory symlinks in StaticFiles when follow_symlinks=True
- Bump minimum python-multipart version to 0.0.18
- Bump minimum httpx version to 0.27.0
- Exclude the query parameters from the scope[raw_path] on the TestClient
- Replace dict by Mapping on HTTPException.headers
- Correct middleware argument passing and improve factory pattern
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
- introduces a more generalized handling of potential denial of service attack
(DOS) due to recursion errors for deeply nested statements.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix bugs in cross-timezone scheduling
- Add support for python 3.12
- Remove dependency on old mock
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Extend AggregateRequest with scorer argument (#3409)
- Pin pytest-profiling version due to the bug
- Fixed unsecured tempfile.mktemp() command usage (#3446)
- Fixed bug with SLOWLOG GET response parsing on Redis Software (#3441)
- Fixed issue with invoking _close() on closed event loop (#3438)
- Migrate test infrastructure to new custom docker images (#3415)
- Fixed flacky test with HEXPIREAT command
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Handle messages containing only end boundary #142.
- Don't warn when CRLF is found after last boundary on MultipartParser #193.
- Hard break if found data after last boundary on MultipartParser #189.
- Handle PermissionError in fallback code for old import name #182.
- Add dunder attributes to multipart package #177.
- Replace FutureWarning to PendingDeprecationWarning #174.
- Add missing files to SDist #171.
- Fix import scheme for multipart module (#168).
- Rename import to python_multipart
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Updated various documentation inaccuracies, especially on subprocess handling.
- Changed fail under checks to use the precision set in the coverage configuration.
- Added a --cov-precision cli option that can override the value set in your coverage configuration.
- Dropped support for now EOL Python 3.8.Updated various documentation inaccuracies, especially on subprocess handling.
- Changed fail under checks to use the precision set in the coverage configuration.
- Added a --cov-precision cli option that can override the value set in your coverage configuration.
- Dropped support for now EOL Python 3.8.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
==========
- Fixed broken hooks handling on pytest 8.1 or later
- Fixed bad fixture check that broke down then nbmake was enabled.
- Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x).
- Fix generate parametrize tests benchmark csv report errors
- Added the --benchmark-time-unit cli option for overriding the measurement unit used for display.
- Fixes spelling in some help texts.
- Added new cprofile options:
--benchmark-cprofile-loops=LOOPS - previously profiling only ran the function once, this allow customization.
--benchmark-cprofile-top=COUNT - allows showing more rows.
--benchmark-cprofile-dump=[FILENAME-PREFIX] - allows saving to a file (that you can load in snakeviz, RunSnakeRun or other tools).
- Removed hidden dependency on py.path (replaced with pathlib).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- new framer concept (utility class instead of direct)
- new much simpler transactionManager
- trace methods to trace/modify incoming/outgoing byte streams as well as PDUs
- Convert endianness
- Fix sync serial client, loop.
- Correct future.
- Correct #2501
- Raise exception on no response in async client.
- re-instatiate Future on reconnect
- Remove all trailing zeroes during string decoding
- Fix too many sync client log messages.
- Asyncio future removed from sync client.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- fix linux PGO wheel build
- Forward default_value calls to the underlying schema for DefinitionRefValidator
- Include JSON Schema input core schema in function schemas
- fix ValueError on year zero
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Add support for CURLOPT_HAPROXY_CLIENT_IP
* Port tests from bottle to flask
* Add constant for CURL_HTTP_VERSION_3ONLY
* Add EFFECTIVE_METHOD info option
* Don't use `-flat_namespace` on macOS
* Add some missing GIL checks to callback functions
* Fix assorted bugs in pycurl tests, including a segfault
* Fix minor bug in examples/multi-socket_action-select.py
* Build all wheels using the latest version of libcurl and its
dependencies
* Implement Certificate Authority path autodetection when building
Linux wheels
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix zsh hanging issue by removing PyPI package completion.
- Write dev dependencies to dependency-groups section when importing project
from other package managers.
- Show a warning when resolving against cross-platform targets under uv mode.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Improve type hint formatting for Field, Nested, and Function fields to resolve PyCharm warnings
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Optimize internal implementation for a little speedup
- Make not-full and not-empty notifications faster
- Add .aclose() async method
- Reduce notifications for a minor speedup
- Allow janus.Queue() instantiation without running asyncio event loop
- Remove sync notifiers for a major speedup
- Fix hang in AsyncQueue.join()
- Implement .shutdown(immediate=False) for both sync and async APIs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- uv is now only used during test time if you run the inline-snapshot tests
with pytest --use-uv
- Add support for a new storage-dir configuration option, to tell
inline-snapshot where to store data files such as external snapshots.
- pydantic v1 is supported again. pydantic v1 & v2 create now the same
snapshots.
- Find pyproject.toml file in parent directories, not just next to the Pytest
configuration file.
- Code generation for sets is now deterministic.
- attrs can now contain unmanaged values
- Add inline_snapshot.extra.warns to captures warnings and compares them
against expected warnings.
- solved a bug caused by a variable inside a snapshot
- snapshots inside snapshots are now supported.
- runtime values can now be part of snapshots.
- f-strings can now also be used within snapshots, but are currently not
fixed by inline-snapshot.
- dirty-equals expressions are now treated like runtime values or snapshots
within snapshots and are not modified by inline-snapshot.
- inline-snapshot checks now if the given command line flags
(--inline-snapshot=...) are valid
- Example(...).run_pytest(raise=snapshot(...)) uses now the flags from the
current run and not the flags from the Example.
- do not crash when handling raw f-strings (rf"",RF"",...)
- Don't crash for snapshots like snapshot(f"")
- skip formatting if black returns an error
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix SSL case where verify=False together with client side certificates.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Include Cython source files in sdist
- Fix missing CR is some tests
- Bump bundled llhttp to 9.2.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
port_def.inc
abseil-ppc-fixes.patch
refreshed for 1.68.1
0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
removed since it's included in 1.68.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Allow users to use jwk keys for verifying ID token
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
py3.13.patch
removed since it's included in 3.2.0
Changelog:
==========
- Add support for Python 3.13
- Code modernization
- RtD bugfix
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fixed ResourceWarning where file was not properly closed
* Fixed regexp for date format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bugfixes
----------
- Correct error message in "from_wei" and "to_wei"
- Remove unused hexbytes dependency that is causing a cyclic dependency issue
Features
----------
- Removed "_BaseHasLogger" and "_BaseHasExtendedDebugLogger", and the "logger"
attribute in the "HasLogger" and "HasExtendedDebugLogger" is type hinted directly.
- Add new humanize_hexstr function
- Add "memoryview" to accepted input type for "to_hex" , "to_int" , "to_bytes" , and "to_text"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Announce for now that croniter dev is ended (CRA).
- Rework timestamp_to_datetime to use whatever timezone
- Make datetime_to_timestamp & timestamp_to_datetime public
- Fix EPOCH calculation in case of non UTC & 32 bits based systems
- Apply isort formatter
- Reintegrate test_speed
- Apply black formatter
- Code quality changes
Remove unused _get_caller_globals_and_locals
Remove single-use bad_length
Remove unused days in proc_month
Use field_index over i for readability
Always use """ for docstrings
Make helper instance methods that do not use self static
Remove unusd call to sys.exc_info
Remove unused ALPHAS
Improve croniter.expand documentation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix: Tomas Uribe fixed a performance problem in the XML report.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Rolled back undocumented changes to printing functions introduced in 2.5.0.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- [Bot] Update to CMake 3.31.2
- fix: tests
- chore: align minimum cmake version with the one of scikit-build-core
- fix: bootstrap build
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
--------
- Convert to pytest for running unit and integration tests (PYTHON-1297)
- Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393)
- Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369)
Bug Fixes
----------
- Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359)
- cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387)
- Windows build for Python 3.12 compiled without libev support (PYTHON-1386)
Others
---------
- Update README.rst with badges for version and license (PR 1210)
- Remove dependency on old mock external module (PR 1201)
- Removed future print_function, division, and with and some pre 3.7 handling (PR 1208)
- Update geomet dependency (PR 1207)
- Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205)
- Use timezone-aware API to avoid deprecated warning
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- When parsing DBC, use long names in SignalGroup.signal_names to match Signal.name
- Raise Minimum Python Version to 3.9
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix response headers to be compliant with the OpenAPI specification for versions 3.0.0+
- Fix input data loading implementation when input validation is skipped
- Include input documentation in API spec when specifying validation=False on @input decorator
- Support skipping the validation for the request body with @input(validation=False)
- Enable CI test for Python 3.13.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Updated TaskGroup to work with asyncio's eager task factories
- Added the wait_readable() and wait_writable() functions which will accept an
object with a .fileno() method or an integer handle, and deprecated their now
obsolete versions (wait_socket_readable() and wait_socket_writable())
- Changed EventAdapter (an Event with no bound async backend) to allow set() to
work even before an async backend is bound to it
- Added support for wait_readable() and wait_writable() on ProactorEventLoop
(used on asyncio + Windows by default)
- Fixed a misleading ValueError in the context of DNS failures
- Fixed the return type annotations of readinto() and readinto1() methods in the
anyio.AsyncFile class
- Fixed TaskInfo.has_pending_cancellation() on asyncio returning false positives
in cleanup code on Python >= 3.11
- Fixed cancelled cancel scopes on asyncio calling asyncio.Task.uncancel when
propagating a CancelledError on exit to a cancelled parent scope1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop python3-cython-native from DEPENDS since we already inherit cython
bbclass.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop python3 and python3-cython-native from DEPENDS since we already
inherit setuptools3 and cython bbclasses.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Small bugfix release addressing a potential crash due to a bad usage of
PyDict_Next() in the C extension.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Avoid crash when converting dict with circular reference
- ci: use pixi in CI
- Mention nanobind's solution
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
packages that use '_', CamelCase, or other deviations from PEP625 in
the source archive
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe was placed in meta-arm meta layer,
https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-devtools/python/python3-pyhsslms_2.0.0.bb
However, users may want to build this python module but do not want to add
"meta-arm" meta layer. To make this recipe more flexible, move this recipe from
"meta-arm" to "meta-openembedded/meta-python" meta layer.
This python module is used for supporting LMS algorithm and it use pure
Software to sign/verify with LMS algorithm. Please see official github for
detail, https://github.com/russhousley/pyhsslms
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is already done by the libgpiod recipe for libgpiod-gpiosim which
is a dependency for python3-gpiod's ptest package.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We now have a separate package containing the libgpiosim shared object
which is all from libgpiod-ptest that we need for this package's tests.
Let's relax the run-time dependency.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Using the setuptools3-base class somehow works for invoking the
setuptools build backend but we should actully be using
python_setuptools_build_meta.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes:
https://github.com/twisted/twisted/releases/tag/twisted-24.11.0
- Twisted's implementations of twisted.internet.interfaces.IReactorMulticast now accept IPv6 literals and allow for IPv6 multicast.
- TCP throughput when sending data is slightly faster.
- twisted.internet.endpoints.clientFromString can handle "tls:"
endpoints with default [bindAddress]{.title-ref}. This was a
regression introduced in 24.10.0.
- HTTP server can handle listening on filesystem UNIX sockets. This
was a regression introduced in 24.10.0.
- twisted.internet.tcp.Connection.setTcpNoDelay was updated to fix a
potential failure when setting TCP_NODELAY on macOS.
- twisted.python.constants, deprecated since 16.5.0, has been removed.
- twisted.mail.imap.IMAPServer.arg_fetchatt can now detect that a IMAP
partial request has been made that is longer than the original
message and alter the output of the response in order to match the
IMAPRev4 spec
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed a regression where twine check would fail to expand wildcards, e.g. twine check 'dist/*'.
- Restore support for pkginfo 1.11
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed:
Don't attempt to compile binary wheels for Python 3.8, 3.9 and 3.10 where
cibuildwheel depends on a conflicting Tomli version
Added:
mypyc generated binary wheels for common platforms
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
treewide:
add Windows support for all SoC families except AM335x
introduce the new Snagfactory flashing tool
snagflash:
add interactive mode with advanced compound commands
AM6x:
broaden AM62x support to include AM64x SoCs
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Simplify shared union serializer logic
- Tidy up some uses of Bound<'_, PyString>::to_str
- Fix serialization inference for complex types in python
- Bump to PyO3 v0.22.6
- Fix performance regression for JSON tagged union
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Test data updates to fix test failures
- Update test_idna_encoding_query_a with new errno to align to new c-ares version
- Do not define HAVE_GETSERVBYPORT_R for platforms Android, Cygwin, Darwin
- Drop distutils
- build(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows
- Add 3.13 support, remove 3.8
- chore(ci): fix upload & add more platforms to cibuildwheel
- Test building release wheels on PRs
- Fix building sdist
- Fixup CI
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Completely modernized portalocker build system and added fully strict pyright
and mypy compliance with ruff formatting and checking.
- Dropped support for deprecated Python versions, only 3.9 and up are supported now.
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Features & Improvements
=======================
Pass original working directory as env variable to pdm scripts (#3179)
Output similar commands or script command when the input command is not correct (#3270)
improve readability of Python interpreter validation message (#3276)
Print task name by default when using pdm run (#3277)
Make OrderedSet.__contains__ run in O(1) (#3280)
Emit post_lock after writing pyproject.toml and pdm.lock in add/update (#3285)
Drop support of Python 3.8 (#3298)
Bug Fixes
=============
Fix the name normalization issue for optional dependency groups. (#3271)
Don't use uv when installing plugins in project. (#3283)
Fix the bug that pdm plugins are invalid after installation on ubuntu system python. (#3289)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- compatibility with dependency-groups in pdm 2.20
- dropped support for Python 3.8
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- The following cases of configuration API have been deprecated:
The verify argument as a string argument is now deprecated and will raise warnings.
The cert argument is now deprecated and will raise warnings.
- The deprecated proxies argument has now been removed.
- The deprecated app argument has now been removed.
- JSON request bodies use a compact representation. (#3363)
- Review URL percent escape sets, based on WHATWG spec. (#3371, #3373)
- Ensure certifi and httpcore are only imported if required. (#3377)
- Treat socks5h as a valid proxy scheme. (#3178)
- Cleanup Request() method signature in line with client.request() and httpx.request(). (#3378)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* Updated test suite
* Fixed detecting when infinity is reached with multipleOf
* Fixed that min/max items/lenght/properties can be float
* Fixed that everything with empty `not` is invalid
* Fixed missing re import when using regex pattern
* Improved regexp for email format to comfort test suite
* Improved regexp for date format to comfort test suite
* Improved regexp for ipv4 format to comfort test suite
* Added partial support of idn-hostname format
* Added `detailed_exceptions` flag (default to True to avoid breaking change)i
- when used, results are twice as fast
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
prevent liinking dynamically to MSVCP on windows
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Use tox and CMake to test generated C code on Windows
- fix floating-point precision issue in arxml 'parse_number_string'
- Encode the given NamedSignalValue 'value' when explicitly given
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfix:
Handle oserror on failure to close socket instead of raising indexerror
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to openssl 3.4.0 added sys/types.h into include/openssl/e_os2.h
Unfortunetelly swig has issue with this and the build broke.
Add a workaroung to remove this include until swig is fixed.
In our setup this include is not necessary.
Upstream issue: https://github.com/swiftlang/swift/issues/69311
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Looking at the history, python3-six dependency was dropped
around version v1.6.0 when Python 2 support was dropped.
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 24.2.0:
- Python 3.13 is now officially supported.
- pyOpenSSL's identity extraction has been reimplemented using
cryptography's primitives instead of deprecated pyOpenSSL APIs.
As a result, the oldest supported pyOpenSSL version is now 17.1.0
License-Update: Fix a typo contributors vs contibutors
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.0.2:
- When using Waitress to process trusted proxy headers, Waitress
will now update the headers to drop any untrusted values, thereby
making sure that WSGI apps only get trusted and validated values
that Waitress itself used to update the environ.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.14.0:
- Remove auto naming of groups added via add_typer based on the
group's callback function name
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>