Changelog:
=========
- feat: implement heapq for tracking cache expire times
- fix: ensure cache does not return stale created and ttl values
- feat: improve performance of processing incoming records
- fix: split wheel builds to avoid timeout
- fix: move wheel builds to macos-13
- feat: speed up parsing incoming records
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Due to GitHub actions changes, binary wheels were missing for macOS Intel.
- Not implemented error for __reduce__() on ObjectProxy was incorrectly
displaying the error as being on __reduce_ex__().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Bugfix where async and return_cmd does not raise exceptions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Write installer metadata like INSTALLER and REQUESTED to dist-info directory
when installing packages.
- Respect .python-version file in the project root directory when selecting the
Python interpreter. By default, it will be written when running pdm use command.
- Fix a problem of missing dependencies when adding to dev dependencies if both
editable and non-editable dependencies exist.
- Use stdlib for URL <-> Path conversions.
- shellingham.detect_shell() returns ('tcsh', '/bin/tcsh') for tcsh on FreeBSD,
so the current code tries to use the Bash venv activation script and fails due
to syntax error. This change fixes the issue.
- Fix a performance issue because pypi source credentials were being queried
many times from keyring.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Typing: Fix type annotations for Tuple <marshmallow.fields.Tuple>,
Boolean <marshmallow.fields.Boolean>, and
Pluck <marshmallow.fields.Pluck> constructors
- Typing: Fix overload for marshmallow.class_registry.get_class
- Various documentation improvements
- Add top-level API back to docs
- Typing: Improve type annotations for SchemaMeta.get_declared_fields
- Typing: Relax type annotation for Schema.opts to allow subclasses to define
their own options classes
- Restore marshmallow.base.SchemaABC for backwards-compatibility
- Don't override __new__ to avoid breaking usages of inspect.signature with
Field <marshmallow.fields.Field> classes. This allows marshmallow-sqlalchemy
users to upgrade marshmallow without upgrading to marshmallow-sqlalchemy>=1.1.1.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- fix problem with functools.singledispatch
- uprev to v0.9
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Reduced accuracy representations of years when parsing a calendar date are now
only allowed to be [YY]
- No longer specify a Python interpreter version to Black
- Cleanup unsupported Pylint configuration options
- Fix used-before-assignment errors
- Fix coverage issue caused by unreachable conditional in _parse_interval_end
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.6:
- Modify Cirrus CI template to save resources
- Update Cirrus CI configuration
- Update Gitlab CI template
- Prefer importlib.resources.files instead of
importlib.resources.read_text or pkgutil.get_data
- Update version caps for dependency on platformdirs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.2:
- Revert "Start testing with 3.14 alphas"
- Bump docker/build-push-action from 6.9.0 to 6.10.0
- Update the bug template with latest bandit version
- Add Mercedes-Benz to sponsor list
- Bump docker/setup-buildx-action from 3.7.1 to 3.8.0
- [pre-commit.ci] pre-commit autoupdate
- Remove lxml (B320 & B410) from blacklist
- Clarify "getting started" docs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.25.5:
- Fix readme issue that prevented 0.25.4 from being published to
pypi.
- Responses can now match requests that use `data` with file-like
objects.
- RequestsMock.matchers was added. This property is an alias to
responses.matchers.
- Removed tests from packaged wheels
- Improved recorder API to ease use in REPL environments.
Fixes:
WARNING: python3-responses-0.25.5-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: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.19.1:
- added the optional inline-snapshot[dirty-equals] dependency to
depend on the dirty-equals version which works in combination
with inline-snapshot.
- snapshots with pydantic models can now be compared multiple
times
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.28.0:
- Improve performance of unmarshalling variants
- Improve performance of marshalling message headers
- Revert avoid building wheels if a release is not made
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.14.2:
- Eliminate a race condition when overwriting cache entries.
- Fix a requests object leak when doing caching on a streamed
response.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.1:
- core: fix a regression in ctrl_transfer where supplied read
buffers were discarded
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1.4:
- Changed: Drop support for all Python versions prior to Python
3.8, now long past EOL. Notably, Python 2 is no longer
supported.
- Changed: Update the 'executing' dependency to >= v2.1.0 to
improve source code analysis and support Python 3.13.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.1:
- Specify py3.8 or higher / Officially drop py2.7
- Link to functools.cached_property
- Add official support for current Python versions (3.8, 3.9, 3.10,
3.11, 3.12, 3.13)
- Migrate AUTHORS.rst to AUTHORS.md
- Migrate README.rst to README.md
- Changed from black to ruff for formatting
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>