Add recipe for nanobind, tiny and efficient C++/Python bindings.
Changelog for version 2.4.0:
- Added a function annotation :cpp:class:`nb::call_policy\<Policy\>()
<call_policy>` which supports custom function wrapping logic,
calling Policy::precall() before the bound function and
Policy::postcall() after. This is a low-level interface intended
for advanced users. The precall and postcall hooks are able to
observe the Python objects forming the function arguments and
return value, and the precall hook can change the arguments.
- :cpp:func:`nb::make_iterator <make_iterator>` now accepts its
iterator arguments by value, rather than by forwarding reference,
in order to eliminate the hazard of storing a dangling C++
iterator reference in the returned Python iterator object.
- The std::variant type_caster now does two passes when converting
from Python. The first pass is done without implicit conversions.
This fixes an issue where std::variant<U, T> might cast a Python
object wrapping a T to a U if there is an implicit conversion
available from T to U.
- Restored support for constructing types with an overloaded
__new__ that takes no arguments, which regressed with the
constructor vector call acceleration that was added in nanobind
2.2.0.
- Bindings for augmented assignment operators (as generated, for
example, by .def(nb::self += nb::self)) now return the same
object in Python in the typical case where the C++ operator
returns a reference to *this. Previously, after a += b, a would
be replaced with a copy.
- Added an overload to :cpp:func:`nb::isinstance <isinstance>`
which tests if a Python object is an instance of a Python class.
This is in addition to the existing overload, which tests if a
Python object is an instance of a bound C++ class.
- Added support for overriding static properties, such as those
defined using def_prop_ro_static, in subclasses. Previously this
would fail with an error.
- Other minor fixes and improvements.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe to build the Python API of LIEF (Library to Instrument
Executable Formats). The purpose of this project is to provide a
cross-platform library to parse, modify and abstract ELF, PE and
MachO formats.
Changelog for LIEF release 0.16.2:
- Fix broken aarch64 Python wheel which is related to a toolchain
issue
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-lief we need python3-pydantic-native.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-lief we need python3-pydantic-native.
To build python3-pydantic-native we need python3-pydantic-core-native.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-lief we need python3-pydantic-native.
To build python3-pydantic-native we need python3-tzdata-native.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-lief we need python3-pydantic-native.
To build python3-pydantic-native we need python3-annotated-types-native.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a patch to use PYTHON_INCLUDE_DIR to find Python Interpreter
and Development.Module as suggested by Stephan Kulow:
https://github.com/scikit-build/scikit-build-core/issues/952#issuecomment-2554058930
This work was sponsored by GOVCERT.LU.
Suggested-by: Stephan Kulow <stephan.kulow@siemens.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The current version of the recipe passes the "buildpaths"
QA check, it is not needed to skip it.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
During compilation, prober.py (called from setup.py) uses "cc" to
compile some simple code, to detect if the used features are available.
However during cross-compilation we don't use "cc", but some other
compiler for cross-compiling.
Due to this, the feature detection can fail (maybe it fails always?),
as the correct C compiler for Yocto is not cc, but the content of
CC environment variable.
To solve this, instead of using cc always, take the C compiler from the CC
environment variable when it is available, and fall back to cc only
when this environment variable is not set.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO line referenced in the LIC_FILES_CHKSUM variable
is outdated, and points to a non-license related detail.
Instead use the LICENSE file to verify the license.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO line referenced in the LIC_FILES_CHKSUM variable
is outdated, and points to a non-license related detail.
Instead use LICENSE.txt to verify the license.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO line referenced in the LIC_FILES_CHKSUM variable
is outdated, and points to a non-license related detail.
Instead use LICENSE.md to verify the license.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO line referenced in the LIC_FILES_CHKSUM variable
is outdated, and points to a non-license related detail.
Instead use LICENSE.txt to verify the license.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.17.2:
- Added universal binary wheels for macOS. That is, contains both
x86_64 and arm64 architectures in the same wheel.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.26.0:
- Typing: Add type annotations and improved documentation for class
Meta <marshmallow.Schema.Meta> options.
- Typing: Improve type coverage of marshmallow.Schema.SchemaMeta.
- Typing: marshmallow.Schema.loads parameter allows bytes and
bytesarray.
- Respect data_key when schema validators raise a ValidationError
<marshmallow.exceptions.ValidationError> with a field_name
argument.
- Correctly handle multiple @post_load <marshmallow.post_load>
methods where one method appends to the data and another passes
pass_original=True.
- URL fields now properly validate file paths.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.4:
- Fix _pocketsphinx.pyx's set_alignment example
- fix: evil version pinning must die.die.die
- Fix typos discovered by codespell
- GitHub Actions: Add Python 3.13 to the testing
- Add a simple language model maker script
- Add suggested packages to README.md
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO file's content can shift around, and the different
details can change position - e.g. line 6 currently points to
the "Author" field, and not to the "License" field.
Instead use the COPYING file to verify the license, which seems
to be a more stable indicator.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
3.3.3
=====
False Positives Fixed
Fix false positives for undefined-variable for classes using Python 3.12
generic type syntax.
Closes#9335
Fix a false positive for use-implicit-booleaness-not-len. No lint should be emitted for
generators (len is not defined for generators).
Refs #10100
Other Bug Fixes
Fix Unable to import 'collections.abc' (import-error) on Python 3.13.1.
Closes#10112
3.3.2
=====
False Positives Fixed
Fix a false positive for potential-index-error when an indexed iterable
contains a starred element that evaluates to more than one item.
Closes#10076
Other Bug Fixes
Fixes the issue with --source-root option not working when the source files are in a subdirectory of the source root (e.g. when using a /src layout).
Closes#10026
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use python_setuptools_build_meta and upgrade to release 3.4.2:
- Fix docstrings of dispatchable functions
- Fix draw_networkx_nodes return type
- Add disclaimer about LLM driven PRs
- Fix doc warnings from recently added docs
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.141.0:
- Speed up adding and expiring records in the DNSCache
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1:
treewide:
- make Kivy dependency optional by introducing a new "gui" package
extra feature
snagflash:
- correct file offset computations in MMC flashing procedure
snagrecover:
- add support for STMicroelectronics STM32MP25 SoCs
- add support for Xilinx ZynqMP SoCs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.37.0:
- Arr.newbyteorder deprecation in numpy>2.0
- Upgrade pyav plugin to support av v14
- Expose bacterial colony standard image
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.24.1:
- Adds ability to configure stderr output color
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.17.0:
- Fix failures and drop support for Python 3.8
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix error "No module named 'imghdr'" due to removed package in Python 3.13+
- Bump requests-oauthlib to allow v2
- Drop support for Python 3.7 and 3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- fix appveyor builds by installing current project
- Move datetime-specific code from date methods into datetime class
- Add Python 3.13 support and drop Pyhton 3.8 support
- Fix compare datetime with diffrent timezones
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- raise no assertion for positional arguments inside constructor methods.
- fixed a crash when you changed the snapshot to use a custom constructor
method for dataclass/pydantic models.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2025
Changelog:
===========
- Merge template, adding py313 suppport and removing bumpversion for bump-my-version
- Bump towncrier dep from >=21,<22 to >=24,<25
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2025
Changelog:
===========
- Merge template, adding py313 support, replace bumpversion with bump-my-version, raise required hypothesis versions.
- Merge template, fixing docs CI and other various updates
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix
-----
Fetching release tag during build
Void validate arguments/properties name
Wheel builds on aarch64
Feature
---------
Migrate to using native arm runners for wheel builds
introspect: Implement annotations
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed 'index out of range' error when passing no arguments to an argparse-based command function.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add option for displaying unit from dbc in the plot legend
- Fix CI
- monitor: signals filtering
- Make generated src files more Doxygen-compatible
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
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>
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>
Upgrade to version 5.4.0:
- Add note about requirements lower bounds
- Remove Python 3.8 support
- Run pyupgrade to clean up Python 2 syntaxes
- Declare Python 3.12 support
- Update master for stable/2024.2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.18.0:
- Added keep_query and keep_fragment flags in the
:py:meth:`yarl.URL.with_path`, :py:meth:`yarl.URL.with_name` and
:py:meth:`yarl.URL.with_suffix` methods, allowing users to
optionally retain the query string and fragment in the resulting
URL when replacing the path
- Started running downstream aiohttp tests
- Improved performance of converting :class:`~yarl.URL` to a string
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.4.0:
- Argument --no-preemptive in the CLI to prevent the detector to
search for hints
- Support for Python 3.13
- Relax the TypeError exception thrown when trying to compare a
CharsetMatch with anything else than a CharsetMatch
- Improved the general reliability of the detector based on user
feedbacks
- Declared charset in content (preemptive detection) not changed
when converting to utf-8 bytes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.23.2:
- Support external tox.pytest usage via "test" extra
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.0:
- Bump docker/build-push-action from 6.7.0 to 6.9.0
- Rename doc file to match proper bandit ID
- Removal of Python 3.8 support
- Add more insecure cryptography cipher algorithms
- Bump docker/setup-buildx-action from 3.6.1 to 3.7.1
- Bump sigstore/cosign-installer from 3.6.0 to 3.7.0
- [pre-commit.ci] pre-commit autoupdate
- No need to check httpx client without timeout defined
- [pre-commit.ci] pre-commit autoupdate
- Mark Python 3.13 as officially supported
- Update project urls with added links
- [pre-commit.ci] pre-commit autoupdate
- Add a JSON to seek funding from the FLOSS/fund
- Remove Sentry as a sponsor
- Remove more leftover OpenStack references
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to stable version 1.17.0:
- Add __format__() method to ObjectProxy class to allow formatting
of wrapped object.
- Added C extension internal flag to indicate that wrapt should be
safe for Python 3.13 free threading mode. Releases will include
free threading variants of Python wheels. Note that as free
threading is new, one should be cautious about using it in
production until it has been more widely tested.
- When a normal function or builtin function which had
wrapt.decorator or a function wrapper applied, was assigned as a
class attribute, and the function attribute called via the class
or an instance of the class, an additional argument was being
passed, inserted as the first argument, which was the class or
instance. This was not the correct behaviour and the class or
instance should not have been passed as the first argument.
- When an instance of a callable class object was wrapped which
didn't have a __get__() method for binding, and it was
called in context whhere binding would be attempted, it would
fail with error that __get__() did not exist when instead it
should have been called directly, ignoring that binding was not
possible.
- The __round__ hook for the object proxy didn't accept ndigits
argument.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.6.0:
- The how function of combine can access the current interval if
pass_interval
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.7.0:
- Resend QoS queue only on reconnect, not periodically
- Fixed server_keep_alive
- Try to use github actions
- Fix github actions badge
- Added the ability to pass your logger
- Properly handle already encoded topics
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 1.5.0:
- An incorrect signature of the __class_getitem__ class method has
been fixed, adding a missing class_item argument under Python 3.8
and older.
- Rendered issue, PR, and commit links now lead to frozenlist's
repo instead of yarl's repo.
- On the :doc:`Contributing docs <contributing/guidelines>` page, a
link to the Towncrier philosophy has been fixed.
- A name of a temporary building directory now reflects that it's
related to frozenlist, not yarl.
- Declared Python 3.13 supported officially in the distribution
package metadata.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 1.0.3:
- Spelling fixes in documentation, docstrings & tests
- Fix support for 3.14 (deprecated features actually being removed,
so getattr use was incorrect).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.5.7:
- Fixed issue where argument parsers for overridden commands were
not being created.
- Fixed issue where Cmd.ppaged() was not writing to the passed in
destination.
License-Update: Updated copyright year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.10.2:
- Only evaluate FieldInfo annotations if required during schema
building
- Do not evaluate annotations for private fields
- Support serialization as any for Secret types and Url types
- Fix type hint of Field.default to be compatible with Python 3.8
and 3.9
- Add hashing support for URL types
- Hide BaseModel.__replace__ definition from type checkers
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.36.0:
- Use bytes instead of to_bytes in pyav metadata call
- Remove support for Python 3.8
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.0.0:
- Remove Python 2.7 support
- .decode() now returns iterator (equivalent to past .iterdecode())
- .search() now returns iterator (equivalent to past .itersearch())
- Remove .iterdecode() and .itersearch()
- Remove util.rindex(), use .index(..., right=1) instead,
deprecated since 2.9
- Remove util.make_endian(), use bitarray(..., endian=...) instead,
deprecated since 2.9
- Remove hackish support for bitarray() handling unpickling
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add new recipe with version 0.10.7:
- Avoid modifying the input dict
- Avoid providing prepare-metadata methods if `failed` in overrides
- Support negative envvar values correctly
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2024.10.0:
- Performance of memoryFS rm
- Performance of git FS info
- Avoid git hex for newer pygit
- Tests fix for zip
- Missing open_async for dirFS
- Handle pathlib in zip
- Skip tests needing kerchunk if not installed
- Allow repeated kwargs in unchain
- Code style
- Allow pyarrow in referenceFS parquet
- Don't hardcode test port for parallel runs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.4.2 which brings security improvements:
Parsing of the cookie header is now much more efficient. The older
algorithm sometimes had quadratic performance which allowed for a
denial-of-service attack in which the server would spend
excessive CPU time parsing cookies and block the event loop.
This change fixes CVE-2024-7592.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.1.0:
- Some improvements to make cloudpickle more deterministic when
pickling dynamic functions and classes, in particular with
CPython 3.13
- Fix a problem with the joint usage of cloudpickle's _whichmodule
and multiprocessing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.136.2:
- fix: retrigger release from failed github workflow
- fix(ci): run release workflow only on main repository
- fix(docs): update python to 3.8
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.4.1:
- Dropped Python 3.8 support
- Changed the signature of typeguard_ignore() to be compatible with
typing.no_type_check()
- Avoid creating reference cycles when type checking uniontypes and
classes
- Fixed checking of variable assignments involving tuple unpacking
- Fixed TypeError when checking a class against type[Self]
- Fixed checking of protocols on the class level (against
type[SomeProtocol])
- Fixed Self checks in instance/class methods that have
positional-only arguments
- Fixed explicit checks of PEP 604 unions against types.UnionType
- Fixed checks against annotations wrapped in NotRequired not being
run unless the NotRequired is a forward reference
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
{'python3-marshmallow': 'START: ptest-runner\n'
'2024-11-22T04:11\n'
'ImportError while loading conftest '
"'/usr/lib/python3-marshmallow/ptest/tests/conftest.py'.\n"
'tests/conftest.py:5: in <module>\n'
' from tests.base import Blog, User, UserSchema\n'
'tests/base.py:14: in <module>\n'
' central = ZoneInfo("America/Chicago")\n'
'../../python3.13/zoneinfo/_common.py:24: in '
'load_tzdata\n'
' raise ZoneInfoNotFoundError(f"No time zone found '
'with key {key}")\n'
"E zoneinfo._common.ZoneInfoNotFoundError: 'No time "
"zone found with key America/Chicago'\n"
'\n'
'ERROR: Exit status is 4\n'
'DURATION: 1\n'}
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- add error for prefixed non multi units
- build: typing_extensions version
- build: switch from appdirs to platformdirs
- fix GenericPlainRegistry getattr type
- Replace references to the deprecated `UnitRegistry.default_format`
- fix: upgrade to flexparser>=0.4, exceptions are no longer dataclasses.
(required for Python 3.13)
- Drop the backported patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop python3-profile, its not needed anymore
add python3-importlib-metadata and python3-asgiref for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Added `python3-uinput_1.0.1.bb` recipe for the Python interface to
the Linux uinput kernel module.
- Included a submitted patch to handle 64-bit `time_t` on 32-bit
architectures to address Y2K38 issues in recent kernels and libcs.
Removed in b4efcecc63 for lack of
maintenance the situation change. There is a new release from 2024
March what addresses the build issues reported lately.
Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
py3.13.patch
removed since it's included in 1.6.10
Changelog:
=========
- Fix source distribution not released
- Fix error not cleared from an internal PyObject_GetAttrString call
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Instantiating TOMLDecodeError with free-form arguments. msg, doc and pos
arguments should be given.
- msg, doc, pos, lineno and colno attributes to TOMLDecodeError
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- EXTENSION is now recognized as a keyword
- SQL hints are not removed when removing comments
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add support for Python 3.13
- Drop support for Python 3.7.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Git issue 546: Partial match not working in some instances with non-greedy capture
- Reverted to actions/download-artifact@v3 and actions/upload-artifact@v3 in
main.yml because GitHub Actions failed when using them.
- Updated to actions/upload-artifact@v4 in main.yml.
- Updated to actions/download-artifact@v4 in main.yml.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Bugfix: Hooks now work correctly in subprocess benchmarks (bench.run_command).
- Python 3.8 is now unsupported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Support proxy= configuration on ConnectionPool().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
The position of "license="LGPLv2.1"," changed
Changelog:
==========
- fix Chip.request_lines() typing
- improve the output of LineSettings.__repr__()
- import gpiod attributes in external module
- specify a tar extract filter for python >= 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
Features
---------
- IAM signblob retries
- Making iam endpoint universe-aware
- Support External Account Authorized User as a Source Credential
for impersonated credentials in ADC
Bug Fixes
----------
- Adding default parameters to updated interfaces
- Change universe_domain to universe-domain
- Remove base class to avoid type conflict
- Revert templates for iam endpoints
- Update secret
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
Exceptions are not longer dataclasses.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==============
- Drop support for Python 3.8.
- Update minimum dependency versions to latest feature releases.
Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9.
- Provide a configuration option to control automatic option responses.
- Flask.open_resource/open_instance_resource and Blueprint.open_resource take an
encoding parameter to use when opening in text mode. It defaults to utf-8.
- Request.max_content_length can be customized per-request instead of only
through the MAX_CONTENT_LENGTH config. Added MAX_FORM_MEMORY_SIZE and
MAX_FORM_PARTS config. Added documentation about resource limits to the security page.
- Add support for the Partitioned cookie attribute (CHIPS), with the
SESSION_COOKIE_PARTITIONED config.
- -e path takes precedence over default .env and .flaskenv files. load_dotenv
loads default files in addition to a path unless load_defaults=False is passed.
- Support key rotation with the SECRET_KEY_FALLBACKS config, a list of old secret
keys that can still be used for unsigning. Extensions will need to add support.
- Fix how setting host_matching=True or subdomain_matching=False interacts with
SERVER_NAME. Setting SERVER_NAME no longer restricts requests to only that domain.
- Request.trusted_hosts is checked during routing, and can be set through the TRUSTED_HOSTS config.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- github: bump signing step, use dependabot
- build(deps): bump the actions group with 1 update
- GitHub Action to spellcheck and lint Python code
- workflows/tests: patch macos runner version for 3.7
- build(deps): bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 in the actions group
- drop Python 3.7, add 3.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Added a new hook to the DefaultImpl DefaultImpl.version_table_impl().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Also switch to python_setuptools_build_meta as there is a pyproject.toml.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Also remove obsolete setuptools/wheel build dependencies.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-appdirs is currently only a dependency when
python3-twisted-conch is installed.
I propose to remove python3-appdirs from python3-twisted-core
such that it's not installed in the final image when
python3-twisted-conch is not installed.
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It looks like it doesn't remove any files today. So I propose
we simply remove this append to do_install to clean up the recipe
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to the modern build system, and sort the recipe assignments to
be more idiomatic.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The info at the homepage was that the python version 3.8+ is supported.
But having this info in the SUMMARY has not point.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix incorrect validation error for substitution group with abstract head
- Refactor XSD identities processing using also typed XPath 2.0+ for getting values
- Clean tag retrieval during encode for some converter types
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix compression speed gains for the thread pool when running Django's collectstatic.
- Raise any errors from threads in the whitenoise.compress command.
- Drop Django 3.2 to 4.1 support.
- Drop Python 3.8 support.
- Support Python 3.13.
- Fix a bug introduced in version 6.0.0 where Range requests could lead to
database connection errors in other requests.
- Use Django's FORCE_SCRIPT_NAME setting correctly.
- Compress files using a thread pool.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Pin test dependecies.
- [docs] Add typing info to quick start.
- [inotify] Use of select.poll() instead of deprecated select.select(), if available.
- [inotify] Fix reading inotify file descriptor after closing it.
- [utils] The stop_signal keyword-argument type of the AutoRestartTrick class can now be either a signal.Signals or an int.
- [utils] Added the __repr__() method to the Trick class.
- [utils] Removed the unused echo_class() function from the echo module.
- [utils] Removed the unused echo_instancemethod() function from the echo module.
- [utils] Removed the unused echo_module() function from the echo module.
- [utils] Removed the unused is_class_private_name() function from the echo module.
- [utils] Removed the unused is_classmethod() function from the echo module.
- [utils] Removed the unused ic_method(met() function from the echo module.
- [utils] Removed the unused method_name() function from the echo module.
- [utils] Removed the unused name() function from the echo module.
- [watchmedo] Fixed Mypy issues.
- [watchmedo] Added the __repr__() method to the HelpFormatter class.
- [watchmedo] Removed the --trace CLI argument from the watchmedo log command, useless since events are logged by default at the LoggerTrick class level.
- [windows] Fixed Mypy issues.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Clean PDU init
- Wrong close, when transaction do not match
- Remove unmaintained (not working) example contributions
- All pdu (incl. function code) tests to pdu directory
- Add no_response_expected argument to requests
- Resubmit: Don't close/reopen tcp connection on single modbus message timeout
- 100% test coverage for PDU
- Type DecodePDU
- Update to use DecodePDU
- Client/Server decoder renamed and moved to pdu
- Move client/server decoder to pdu
- Introducing PyModbus Guru on Gurubase.io
- Remove IllegalFunctionRequest
- remove ModbusResponse
- Add typing to pdu base classes
- Updated roadmap.
- remove databuffer from framer
- Improve retries for sync client
- Move process test to framer tests
- Framer do not check ids
- Remove callback from framer
- Auto fill device ids for clients
- Reenable multidrop tests
- write_register/s accept bytes or int
- roadmap corrections.
- Added roadmap (not written in stone)
- Update README to show python 3.13.
- Test on Python 3.13
- Use @AbstractMethod
- Corrected smaller documentation bugs
- README as landing page in readthedocs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Emit DeprecationWarnings for hrule and tableStyle constants
- Add new themes to ColorTable
- Use SPDX license identifier
- Add IntEnum for HRuleStyle and VRuleStyle
- Add IntEnum for Table styles
- Add OptionsType
- Add attribute type hints
- Add missing attribute annotations
- Add type aliases for Align, VAlign, HeaderStyle
- Add type annotations for attributes property
- Improve TableHandler type annotations
- Improve function type annotations
- Improve row and column type annotations
- Improve type annotations for field names
- Include RowType in __all__
- Small improvements
- Generate __version__ at build to avoid slow importlib.metadata call
- Release to PyPI using Trusted Publishing
- Drop support for Python 3.8
- Update new home to prettytable/prettytable
- Fix drawing headerless colored tables with title
- 1Adjust format validation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Move the project to the pallets-eco organization.
- Stop support for Python 3.8. Start support for Python 3.13.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix XsdAttributeGroupProtocol
- Improve Unicode support with installable UnicodeData.txt versions
- Extend names disambiguation with a fix for issue
- Refactor tree builders to fix document position of tails
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Community wanted: Reintroduce 7 as DayOfWeek in deviation from standard cron
- Remove DayOfWeek alias 7 to DayOfWeek 0 to stick to standard cron
- Fix DOW ranges calculations when lastday is a Sunday
- Fix overflow on 32bits systems
- Fix python2 testing
- Modernize packaging
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed regression caused by (#807) that prevented the use of parametrized async fixtures
- Fixed TaskGroup and CancelScope producing cyclic references in tracebacks when raising exceptions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
fixed:
do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
warning:oelint.vars.dependsordered:'RDEPENDS' entries should be ordered alphabetically
Download of the source archive was failing with PYPI_PACKAGE set.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* this one has 2 versions, so the .inc file cannot be folded into .bb files
but we can at least rename it to start with BPN for consistency
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rename python-rfc3986-validator to BPN python3-rfc3986-validator
which is included in default FILESPATH
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python2 is long dead, kill .inc file as well
* rename python-flask-xstatic to BPN python3-flask-xstatic
which is included in default FILESPATH
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug fixes:
Fix handling of fields.Dict() with values unset
Other changes:
Officially support Python 3.13
Drop support for Python 3.8
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are several fixes need to get going with python 3.13, therefore
switch to git SRC_URI until next release is made
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This package is unmaintained upstream, and has no
new releases since 2016, now it does not build with python 3.13
since it needs cgi module which has been removed in 3.13+
if we still need this functionality
then something like whoosh-reloaded might be better
https://pypi.org/project/Whoosh-Reloaded/
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Don't change ctypes' global state bleak.backends.winrt.util.
- Improved performance of BlueZ backend when there are many adapters.
- Added support for Python 3.13.
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.35.0 (2024-09-17)
Features
Add cred info to ADC creds
Add support for asynchronous AuthorizedSession api
Bug Fixes
Remove token_info call from token refresh path
2.34.0 (2024-08-13)
Features
auth: Update get_client_ssl_credentials to support X.509 workload certs
Bug Fixes
Retry token request on retryable status code (#1563) (f858a15)
2.33.0 (2024-08-06)
Features
Implement async StaticCredentials using access tokens
Implement base classes for credentials and request sessions
Bug Fixes
metadata: Enhance retry logic for metadata server access in _metadata.py
Documentation
Update argument for Credentials initialization
2.32.0 (2024-07-08)
Features
Adds support for X509 workload credential type
2.31.0 (2024-06-27)
Features
Adds X509 workload cert logic
Bug Fixes
Added py.typed to MANIFEST.in
Pass trust_env kwarg to ClientSession
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes
7.1.1 (2024-10-23)
Fix segmentation faults in weakrefobject.c on Python 3.12 and 3.13.
7.1.0 (2024-10-10)
Declare support for Python 3.13.
Fix segmentation faults on Python 3.13.
7.0.3 (2024-08-27)
Fix Assertion ‘memb->type == T_PYSSIZET’ failed. for Python < 3.12.
7.0.2 (2024-08-26)
Fix reference-counting bug in C module initialization (broken in 7.0).
7.0.1 (2024-08-06)
Fix subclassability of ObjectSpecificationDescriptor (broken in 7.0).
7.0 (2024-08-06)
Enable heap-based types (PEP 384) for Python >= 3.11.
Adopt multi-phase module initialization (PEP 489).
Drop support for Python 3.7.
6.4.post2 (2024-05-24)
Publish missing Windows wheels, second attempt.
6.4.post1 (2024-05-23)
Publish missing Windows wheels.
6.4.post0 (2024-05-22)
The sdist of version 6.4 was uploaded to PyPI as zope_interface-6.4.tar.gz instead of zope.interface-6.4-py2.tar.gz which cannot be installed by zc.buildout. This release is a re-release of version 6.4 with the correct sdist name.
6.4 (2024-05-15)
Adjust for incompatible changes in Python 3.13b1.
Build windows wheels on GHA.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.27.0:
- trio.move_on_after and trio.fail_after previously set the deadline
relative to initialization time, instead of more intuitively upon
entering the context manager.
- CancelScope.relative_deadline and CancelScope.is_relative added,
as well as a relative_deadline parameter to __init__. This allows
initializing scopes ahead of time, but where the specified
relative deadline doesn't count down until the scope is entered
- trio.Lock and trio.StrictFIFOLock will now raise
trio.BrokenResourceError when trio.Lock.acquire would previously
stall due to the owner of the lock exiting without releasing the
lock
- trio.move_on_at, trio.move_on_after, trio.fail_at and
trio.fail_after now accept shield as a keyword argument. If
specified, it provides an initial value for the
~trio.CancelScope.shield attribute of the trio.CancelScope
object created by the context manager
- Added trio.lowlevel.add_parking_lot_breaker and
trio.lowlevel.remove_parking_lot_breaker to allow creating
custom lock/semaphore implementations that will break their
underlying parking lot if a task exits unexpectedly.
trio.lowlevel.ParkingLot.break_lot is also added, to allow
breaking a parking lot intentionally
- Allow sockets to bind any os.PathLike object
- Update trio.lowlevel.open_process's documentation to allow bytes
- Update trio.sleep_forever to be NoReturn
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.2.0:
- Add support for Python 3.13
- Allow setting of cert's notBefore attribute
- Add the Authority Key Identifier extension to child CA
certificates
- Remove support for Python 3.8 and PyPy 3.9
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-trustme-1.2.0-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with hatchling.build,
use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This addresses python 3.13 issues.
Use build_meta instead of classic setuptools.
Drop all setup.py patches as no longer necessary.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Not mentioned anywhere in source tree, and no longer
available with python 3.13.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's not mentioned anywhere in source code, and
python 3.13 has removed it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Improved performance of calling :py:meth:~yarl.URL.build
- Improved performance of all :class:~yarl.URL methods that create
new :class:~yarl.URL objects
- Improved performance of :class:~yarl.URL methods that modify the network
location
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix uefi parse of ASUS bios CAP files
- fix: Update CompressionTypes typedefs
- ci: Update OS runners to use latest
- Fixed a crash while handling non-UTF-8 encoded partition entry names in ME region
- Sync LZMA library with UEFITool
- skip unprocessed guid defined sections
- Use gzip instead of zlib for Qualcomm decompression
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- update psutil.Process.parent() return type
- per psutil.Process.parent()'s docstring, it may return None.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Removed Python 3.7 support
- Make loads raise TypeError not AttributeError on bad input types that do not
have the replace attribute. Improve error message when bytes is received.
- Type annotate load input as typing.IO[bytes] (previously typing.BinaryIO).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Add strike attribute
- Generate and upload attestations to PyPI
- Drop support for Python 3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed
=====
- Allow use of request.url_for when only "app" scope is available
- Fix internal type hints to support python-multipart==0.0.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2024.
Changelog:
===========
- Fix a sandbox escape via generators and _frame methods.
- Supporting dictionary comprehensions
- A custom exception rather than KeyError when names not found
- Dropping support for old python versions - if you need pre 3.9, then you can use an older version
- Various cleanups & tidying warnings, deprecation warnings etc.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Build wheels for Python 3.13
- Deprecate support for Python version before 3.9 and stop building wheels for them
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Refactor operations to fully work on AArch64.
- Fix the max_mem_rss measurement
- Allow setting the amount of warmup values in Runner
- Add hooks for calling arbitrary code around each benchmark
- Use KiB and MiB as units instead of kB and MB.
- Fix Spelling Error
- Make hooks work in bench_command subprocesses
- Fix deprecated method in bench_time_func example
- Separate subprocess writing/parsing into their own functions
- Fix "std dev" link
- Implement --timeout when running benchmarks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed a bug where pymongo.results.UpdateResult.did_upsert would raise a TypeError.
- Fixed Binary BSON subtype (9) support on big-endian operating systems (such as zSeries).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes
~~~~~~~
- misp_instance_version_master now uses the 2.5 branch.
- Make mypy happy.
- Only include the changelog in the sdist package.
- [data] describeTypes.json updated.
- Openioc.py is not a script, but had exec bit.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Make it possible to log heartbeat ping pong
- Move HeartbeatController to a separate module
- Simplify socket timeout
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Support installing free-threaded Python interpreters with the t suffix.
- use_uv fails to lock when there are non-ascii characters in pyproject.toml on
Windows.
- Fix the pre_install and post_install signals receiving an exhausted generator,
instead of a list of packages.
- Create backup file with random filename to avoid conflicts.
- Fix the logic error in the uv format marker matching.
- pdm lock --check on a lockfile generated with older PDM version has a 0 exit
code when there's a change in pyproject.toml.
- Fixed Bash Completion suggestion so it doesn't require root privileges
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix documentation build issue.
- If a internal generated function is excluded the lines, if present, are
excluded as well.
- Fix exclusion of internal functions.
- Only print info on the first undefined block number in data model.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
- preload script wrappers on Windows to assist with a pip issue
- Remove duplicated newline in shebang of windows launcher
- Add handling for cross-compilation environments
- Do not use the absolute path to cache wheel extensions
- Support mounting wheels that use extensions without an EXTENSIONS file
- Add support for wheel compatibility with the limited API
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Test fixes for Python 3.13
- Drop Python 3.7
- Bump cibuildwheel in CI
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Dropped support for Python 3.8 and PyPy 3.8.
- Fix: a final wildcard match/case clause assigning to a name (case _ as
value) was incorrectly marked as a missing branch.
- Fewer things are considered branches now. Lambdas, comprehensions, and
generator expressions are no longer marked as missing branches if they
don't complete execution.
- Fix: the HTML report didn't properly show multi-line f-strings that end with a
backslash continuation. This is now fixed
- Fix: the LCOV report now has correct line numbers and better branch
descriptions for BRDA records. There are other changes to lcov also, including
a new configuration option :ref:`line_checksums <config_lcov_line_checksums>`
to control whether line checksums are included in the lcov report.
The default is false. To keep checksums set it to true.
- Fixed the docs for multi-line regex exclusions, closing issue 1863.
- Fixed a potential crash in the C tracer
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Modify the default version to be an empty string
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* add official Python 3.13 support
* update cibuildwheel to 2.21.3
* minor simplifications
* fix some typos
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed error messages from :py:class:~aiohttp.resolver.AsyncResolver being
swallowed
- Added :exc:aiohttp.ClientConnectorDNSError for differentiating DNS resolution
errors from other connector errors
- Simplified DNS resolution throttling code to reduce chance of race conditions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not overwerite implicit dependencies, otherwise
ptests stop depending upon the correcpoding python module
resulting in runtime failures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not overwerite implicit dependencies, otherwise
ptests stop depending upon the correcpoding python module
resulting in runtime failures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Tested on qemux86-64.
- The PyPi package name defaults to PN without the python3- prefix, so there is no need to set PYPI_PACKAGE as pint, it is by default.
- xfailed tests are known failures upstream.
Ptest result:
=============
qemux86-64:
Testsuite summary
TOTAL: 2784
PASS: 2094
SKIP: 676
XFAIL: 12
FAIL: 0
XPASS: 2
ERROR: 0
DURATION: 1611
END: /usr/lib/python3-pint/ptest
2024-10-11T14:34
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 8.6.0:
- Fix the handling of invalid JSON bodies in the bottle parser to
support bottle versions >=0.13
- MultiDictProxy now inherits from MutableMapping rather than
Mapping
Switch inherit from setuptools3 to python_flit_core.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.7.0:
- dns.query.https() and dns.asyncquery.https() now support HTTP/3
and the http_version parameter may be used to specify which
version to use.
- If the cryptography module is installed, then dnspython will now
create deterministic ECDSA signatures by default. Cryptography,
if installed, must be at least version 43. Thanks to Jakob
Schlyter for adding the feature.
- The RESINFO and WALLET RdataTypes are now supported.
- The COOKIE and Report-Channel EDNS0 options are now supported.
- All supported RdataTypes can now be imported at a single time
rather than lazily on first use by calling
dns.rdata.load_all_types().
- The SVCB and HTTPS records now support the ohttp parameter.
- xfr() and inbound_xfr() now share a common implementation.
- Tokens are now supported for QUIC and HTTP/3.
- dns.message.from_wire() now saves the input wire format in the
Message's "wire" attribute. Likewise,
dns.message.Message.to_wire() now records the generated wire
format in that attribute.
- The dns.message.Message object now has a get_options() helper to
retrieve EDNS0 options of a specified type, and an
extended_errors() helper to retrieve the list of EDE options in a
message (if any).
- dns.message.make_response() now has a copy mode which controls
how sections are copied. By default, a copy mode appropriate for
the opcode is used. This is currently
dns.message.CopyMode.QUESTION for all opcodes.
- If an IP address is used as the hostname in a URL, the https
query code now passes the sni_hostname to httpx as this is
required to get httpx to validate the certificate and check for
an IP subject alternative name.
- The minimum supported aioquic version is now 1.0.0.
- The minimum supported Python version is now 3.9.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Fixed return type for Redis Set commands to be Set instead of List
- Fixed bug with partial Hiredis availability
- Fixed bug with async pipeline and cluster fails with some commands
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for release 0.2.0:
- Fixed loading the C-extensions on Python 3.8
- Improved typing for the :func:`propcache.api.under_cached_property`
decorator
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- Unnecessary dependencies dropped.
Fix:
WARNING: python3-pastedeploy-3.1.0-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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix:
WARNING: python3-spidev-3.6-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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as inflate64, it is by default.
- Added missing dependency python3-setuptools-scm-native.
Fix:
WARNING: python3-inflate64-1.0.0-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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as alembic, it is by default.
WARNING: python3-alembic-1.13.3-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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.1:
- Bug fix: use C int instead of C char for some internal code
- Bug fix: add xmpz.bit_count method
Drop 0001-src-fix-python-3.12-builds.patch because a similar
change has been implemented upstream and the patch is not needed.
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-gmpy2-2.2.1-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 3.10.9:
- Fixed proxy headers being used in the ConnectionKey hash when a
proxy was not being used
- Widened the type of the trace_request_ctx parameter of
:meth:`ClientSession.request()
- Fixed failure to try next host after single-host connection
timeout
- Improved performance of resolving hosts with Python 3.12+
- Reduced memory required for timer objects created during the
client request lifecycle
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.0.0:
- Test fixes for changes in recent upstream Python
- Drop Python 3.7
- Test against Python 3.13
- Update docs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.7.3:
- 100% test coverage of framers
- Framer, final touches
- Readme file renamed
- Remove old framers
- frameProcessIncomingPacket removed
- Cleanup framers (reduce old_framers)
- Run CI on PR targeted at wait_next_api
- Sync client, allow unknown recv msg size
- integrate old rtu framer in new framer
- Update README.rst
- Client.close should not allow reconnect=
- Remove async client.idle_time()
- Client doc, add common methods (base)
- Reset receive buffer with send()
- Remove unused protocol_id from pdu
- CI run on demand on non-protected branches
- Server listener and client connections have is_server set
- Reopen listener in server if disconnected
- Regroup test
- Improve docs around sync clients and reconnection
- transport 100% test coverage (again)
- Update actions to new node.js
- Bump 3rd party
- Documentation on_connect_callback
- Fixes the unexpected implementation of the
ModbusSerialClient.connected property
- Forward error responses instead of timing out
- Add stacklevel=2 to logging functions
- Fix encoding & decoding of ReadFileRecordResponse
- Improvements for example/contib/solar
- Update solar.py
- Remove double conversion in int
- fixed type hints for write_register and write_registers
- Remove _header from framers
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.14.0:
- Switched to using the :mod:`propcache <propcache.api>` package
for property caching
- Started testing with Hypothesis
- Improved performance of :py:meth:`~yarl.URL.is_default_port` when
no explicit port is set
- Improved performance of converting :class:`~yarl.URL` to a string
when no explicit port is set
- Improved performance of the :py:meth:`~yarl.URL.origin` method
- Improved performance of encoding hosts
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.5:
- Control setting local nodes outside of the supposed local's
constructor
- Fix Python 3.13 compatibility re: collections.abc
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 5.3.0:
- reno: Update master for unmaintained/zed
- Remove old excludes
- Update master for stable/2024.1
- reno: Update master for unmaintained/xena
- reno: Update master for unmaintained/wallaby
- reno: Update master for unmaintained/victoria
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-pyyaml-include already supports native and nativesdk builds.
Starting from version 2.0, fsspec was introduced as a dependency for
pyyaml-include.
This commit adds support for native and nativesdk builds in the fsspec recipe.
Signed-off-by: Peng Zhang <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Starting from version 2.0, fsspec was introduced in pyyaml-include,
allowing the inclusion of files from various sources such as HTTP,
SFTP, and S3. As a result, pyyaml-include now depends on fsspec for
both local and remote file inclusion, making it a required runtime
dependency.
Signed-off-by: Peng Zhang <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.11.0:
- Add natural_list
- filesize: support the ronna and quetta prefixes
- Update French translations for numbers
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 8.0:
- Changes related to added support of gcov JSON intermediate format
- Detect suspicious counter values in gcov output
- Add --html-single-page to create a single page report (static or
with Javascript)
- Upload standalone applications as release artifacts
- Add support for gcov JSON intermediate format
- Add Exclusion markers to exclude a while function
- Change sort order in JSON output files
- Add source exclusion markers to exclude source branch from target
line
- Implement consistent sorting of files with no lines, or one line
with zero coverage
- Use replacement value of 0 for function call count NAN %
- Fix erroneous deprecation warning
- Fix display filename in HTML report
- Fix bundle of standalone executable with Python 3.12
- Fix merging of function coverage data
- Fix inefficient regular expression
- Fix missing output of gcov if execution fails
- Move tests to directory in the root
- Add MacOs to the GitHub test workflow
- Remove test exclusions for MacOs and adapt tests and reference
data
- Link correct documentation version in copyright header
- Move tag creation before publish the distribution because tag
from pipeline doesn't trigger additional runs
- Fix scrubber for date in HTML test data
- Add test with Python 3.12
- Add gcc-14 to the test suite
- Skip coverage upload if executed in a fork
- Only execute pipeline if pushed on main and add button to execute
workflow manual
- Check spelling in test pipeline
- Merge the test and deploy workflow to a single CI workflow
- Add Codacy to CI workflow for tracking coverage and code quality
- Add bandit to the linters
- Remove Codecov upload from pipeline
- Add test with bazel tests
License-Update: Adapt to new format, remains BSD 3-Clause License
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 6.1.0:
- Covered the unreachable code path in
multidict._multidict_base._abc_itemsview_register() with typing
- Added support for Python 3.13
- Removed Python 3.7 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Added :attr:~yarl.URL.path_safe to be able to fetch the path without %2F and %25 decoded
-Restore decoding %2F (/) in URL.path
-Improved performance of processing paths
-Added :attr:~yarl.URL.host_subcomponent which returns the :rfc:3986#section-3.2.2 host subcomponent
-Started rejecting ASCII hostnames with invalid characters. For host strings that
-look like authority strings, the exception message includes advice on what to do instead
-Fixed IPv6 addresses missing brackets when the :class:~yarl.URL was converted to a string
-Improved performance of calling :py:meth:~yarl.URL.build with authority
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix other failing URL normalization tests
- Avoid the use of sys.version_info for checking results, better to extend the check to more values.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Handle matrices of zero columns correctly in the Matrix constructor.
- NumPy numbers can be used with clebsch_gordan.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Client-side caching
- Timeseries insertion filters for close samples
- Enhanced classes string representation
- Partial clean up of Python 3.7 compatibility
- Handle RESP3 sets as Python lists
- Prevent async ClusterPipeline instances from becoming "false-y"
- Add hostname field to _parse_node_line
- Delete the first-defined (and thus "duplicate") Script class
- Catch a known DeprecationWarning when calling .close()
- Add missed redismod at test_commands.py
- Update README.md - mentioning redis 7.4 support
- Update PyPy 3.8 to 3.10 in CI
- Updated commands from docker-compose to docker compose
- Added version restrictions for pytest-asyncio
- Documentation examples
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Improve performance, especially in data with many CR-LF
- Handle invalid CRLF in header name
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added support for MongoDB 8.0 and Python 3.13.
- A new asynchronous API 19 with full asyncio support.
- Added support for In-Use Encryption range queries with MongoDB 8.0.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Typing improvements:
* Add '@overload' to 'contrib.regular_languages.compiler.Variables.get'.
* Use 'Sequence' instead of 'list' for 'words' argument in completers.
- Improve 'ModalCursorShapeConfig':
* Display an "underscore" cursor in Vi's "replace single" mode, like
"replace" mode.
* Display an "beam" cursor in Emacs (insert) mode.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Update license file so it is recognized by GH
Changelog:
==========
- The combine method of an IntervalDict accepts a missing parameter to fill
values for non-overlapping keys
- A recipe to combine more than two IntervalDict
- Drop official support for Python 3.7.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Prevent bad task serialization in schedule from causing a batch of tasks to be lost
- Ensure we catch ResultTimeout which may occur when used with Sentinel
- Remove junk SQS implementation I was testing out.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>