python 3.13 removed some modules such as cgi which is required by python3-requests-ftp:
https://docs.python.org/3/whatsnew/3.13.html
Important removals:
PEP 594: The remaining 19 “dead batteries” (legacy stdlib modules) have
been removed from the standard library: aifc, audioop, cgi, cgitb,
chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes,
sndhdr, spwd, sunau, telnetlib, uu and xdrlib.
Backport and rebase a patch from Fedora to remove use of module cgi.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.9.0:
- Add warnings about too few or too many samples
- .github: Add ARM64 CI for pyperf
- Add support for profiling benchmarks using perf-record
- Prepare 2.9.0 release
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.2.0:
- :func:`unittest.mock.Mock.attach_mock` no longer triggers a call
to a PropertyMock being attached.
- Improved documentation for :func:`unittest.mock.patch.dict`
- Add support for :func:`dataclasses.dataclass` in
:func:`unittest.mock.create_autospec`. Now create_autospec will
check for potential dataclasses and use :func:`dataclasses.fields`
function to retrieve the spec information.
- Fix :class:`unittest.mock.MagicMock` reseting magic methods
return values after .reset_mock(return_value=True) was called.
- Fixed :func:`unittest.mock.create_autospec` to configure parent
mock with keyword arguments.
- Indicate if there were no actual calls in unittest
:meth:`~unittest.mock.Mock.assert_has_calls` failure.
- Deprecate :func:`!asyncio.iscoroutinefunction` in favor of
:func:`inspect.iscoroutinefunction`.
- Limit starting a patcher (from :func:`unittest.mock.patch` or
:func:`unittest.mock.patch.object`) more than once without
stopping it
- Fixed :func:`unittest.mock.create_autospec` to pass the call
through to the wrapped object to return the real result.
- Fix :func:`unittest.mock.patch` to not read attributes of the
target when new_callable is set. Patch by Robert Collins.
- Fix import of :mod:`unittest.mock` when CPython is built without
docstrings.
- Fix name passing to :class:`unittest.mock.Mock` object when using
:func:`unittest.mock.create_autospec`.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.2:
- Bugfix where it was impossible to use a signal as an ok_code
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.11.13:
- Removed a break statement inside the finally block in
:py:class:~aiohttp.web.RequestHandler
- Changed connection creation to explicitly close sockets if an
exception is raised in the event loop's create_connection method
- Fixed test test_write_large_payload_deflate_compression_data_in_eof_writelines
failing with Python 3.12.9+ or 3.13.2+
- Added human-readable error messages to the exceptions for
WebSocket disconnects due to PONG not being received
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 8.3:
- Replace setup.py with hatchling. To install from source at least
version 21.3 of pip is needed.
- Drop support for Python 3.8.
- Add condition coverage to text summary report.
- Add --include to search files in search paths which should be
added to report.
- Add option to generate LCOV format produced by version 1.x of
LCOV tool.
- Extend logging for data merge errors with info about the data
sources.
- Add condition coverage merge mode option --merge-mode-conditions
- Add --gcov-suspicious-hits-threshold to configure the value for
detecting suspicious hits in GCOV files.
- Renamed JSON element destination_blockno to destination_block_id.
- Add --html-block-ids to show the block ids of the lines and
branches in HTML report.
- Fixed an error handling bug throwing a TypeError exception on a
gcov merge assertion failure instead of reporting the error and
(if requested by the user) continuing execution
- Check format version of external generated gcov JSON files.
- Fix crash on Windows when trying to fix the case of the files.
- Fix LCOV report. Excluded lines where added with a count of 0.
- Fix line exclusion not clearing all child coverage data.
- Fix summary stats in JaCoCo report.
- Fix path issue when reading/writing Coveralls report.
- Fix issue with negative counters in GCOV JSON export.
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 3.15.1:
- Fix IndexError for add_rows() with an empty list
- Fix typing: replace Iterable with indexable Sequence
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.15.2:
- Allow custom styles for commands in help output.
- Avoid the unnecessary import of typing_extensions in newer Python
versions.
- Fix shell completions for the fish shell.
- Rename test to corner-cases to make it more explicit.
- Fix small typos in the tutorial documentation.
- Update optional CLI argument section in tutorial with Annotated.
- Clarify the need for mix_stderr when accessing the output of
stderr in tests.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Set GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS to limit spawned compiler
processes. Without this it uses all available CPUs (via
multiprocessing.cpu_count()) and can exhaust build host since there are
lot of files to compile (e.g. with 128 cores it manages to spawn 128 gcc
processes)
Note that this is a general problem for all setuptools based builds with
build_ext compilation which can either compile with 1 thread or
cpu_count threads. grpcio hot-patches setuptools and allows to set
specific build concurrency value.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Hold a strong reference to the AsyncEngine setup task
- docs: Enable link to source code
- Non unique name during wheel upload
- Add a helpful hint for when EADDRINUSE happens during startup
- Wheel builds failing after adding armv7l builds
- Add armv7l wheel builds
- Make no buffer space available when adding multicast memberships forgiving
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Now supports Python 3.9 to 3.13, and no longer requires backports.zoneinfo.
- Debian is for some reason removing support for /etc/timezone, which is bad,
because that's the only place where the timezone is stated in plain text,
and what's worse, they don't delete it. So we can't trust it now,
so when we have multiple configs, we are forced to just ignore it.
- Attempts to return a ZoneInfo object also for UTC.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- GZipMiddleware: Make sure Vary header is always added if a response can be compressed
- Raise exception from background task on BaseHTTPMiddleware
- GZipMiddleware: Don't compress on server sent events
- MultiPartParser: Rename max_file_size to spool_max_size
- Add deprecated warning to TestClient(timeout=...)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
docs:
provide some performance indicators for Snagfactory
snagflash:
add a Fastboot command to flash Android Sparse Image files
snagrecover:
add support for AM62Lx platforms
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Modernizing handling of bool type.
- docs: add release note about C23 compilers fix
- fix: modernize handling of bool type
- Preventing bouncing Dock icon when using setproctitle on newer macOS versions.
- docs: add history note about bouncy macOS fix
- fix(macOS): prevent bouncing Dock icon on newer macOS versions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
restores wheel support for s390x and ppc64le architectures
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Implemented support for the free-threaded build of CPython 3.13
- Started building wheels for the free-threaded build of CPython 3.13
- GitHub Actions CI/CD is now configured to manage caching pip-ecosystem dependencies using re-actors/cache-python-deps
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix:
- snapshots inside tests which are marked as xfail are now ignored
- Fixed a crash caused by the following code:
snapshot(tuple())
# or
snapshot(dict())
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix fox missing UI_FF constants in generated ecodes.py.
- More type annotations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Update CDD parser to load all possible data types
- add a strict par to fix EncodeError when init value is bigger than maximum value
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:
============
- Reduce number of @cached lock/unlock operations.
- Improve documentation.
- Update CI environment.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* allow mask assignment to bitarrays
* add missing masked operations to pyi-file
* refactor 'resize()' and avoid overallocation when downsizing buffer
* update 'build_wheels.yml'
* fix some typos
* minor simplifications
* rename 'growth/' example to 'resize/' and add tests for 'resize()'
* update gene example
* add comments
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This reverts commit 990b03b616.
>>> import grpc
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import grpc
File "/usr/lib/python3.13/site-packages/grpc/__init__.py", line 22, in <module>
from grpc import _compression
File "/usr/lib/python3.13/site-packages/grpc/_compression.py", line 20, in <module>
from grpc._cython import cygrpc
ImportError: /usr/lib/python3.13/site-packages/grpc/_cython/cygrpc.cpython-313-x86_64-linux-gnu.so: undefined symbol: _ZN4absl12lts_2024072212log_internal17kUnsignedCharNullE
Even installing whole abseil-ccp does not solve this.
ldd on this library does not include libraries containing this symbol.
Some work in linking upstram would be needed.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a minor gpiod package release that brings in some new
interfaces, a significant typing rework, ruff and mypy conformity and a
slew of bug-fixes.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.4.2:
- Fixed TypeCheckError in unpacking assignment involving properties
of a parameter of the function
- Fixed display of module name for forward references
- Fixed TypeError when using an assignment expression
- Fixed ValueError: no signature found for builtin when checking
against a protocol and a matching attribute in the subject is a
built-in function
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.12.0:
- Add support for Python 3.14 and test PyPy3.11
- Handle en_GB and en_US locale
- Release to PyPI using Trusted Publishing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.3:
- Bump docker/build-push-action from 6.10.0 to 6.11.0
- Bump docker/build-push-action from 6.11.0 to 6.12.0
- Bump docker/build-push-action from 6.12.0 to 6.13.0
- [pre-commit.ci] pre-commit autoupdate
- Update bug template to include latest released versions
- Add markupsafe.Markup XSS plugin
- Warn not error on an nonexistant test given
- Bump sigstore/cosign-installer from 3.7.0 to 3.8.0
- Bump docker/setup-buildx-action from 3.8.0 to 3.9.0
- B107: Skip None values in hardcoded password detection
- Pytorch fix
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.20.1:
- Do not memoize keys before they are coerced to string
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.1:
- On Windows link to debug runtime lib when building with a debug
Python
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These grpc python modules contain parts of grpc core.
Each CVE needs to be assessed if the patch applies also to core parts
included in each module.
Note that so far there was never a CVE specific for python module, only
for grpc:grpc and many of those needed to be fixed at leasts in grpcio:
sqlite> select vendor, product, count(*) from products where product like '%grpc%' group by vendor, product;
grpc|grpc|21
grpck|grpck|1
linuxfoundation|grpc_swift|9
microsoft|grpconv|1
opentelemetry|configgrpc|1
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.15.0:
- Performance improvements
- Mypyc accelerated Mypy Wheels for ARM Linux
- Improvements to reachability analysis and partial type handling
in loops
- Better discovery of configuration files
- Better line numbers for decorators and slice expressions
- Drop 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 release 0.29.0:
- Add trio.lowlevel.in_trio_run() and trio.lowlevel.in_trio_task()
and document the semantics (and differences) thereof. See the
documentation.
- If trio.testing.RaisesGroup does not get the expected exceptions
it now raises an AssertionError with a helpful message, instead
of letting the raised exception/group fall through. The raised
exception is available in the __context__ of the AssertionError
and can be seen in the traceback.
- Clear Trio's cache of worker threads upon os.fork.
- Stop using ctypes to mutate tracebacks for
strict_exception_groups=False's exception collapsing.
- Fixed spelling error in Windows error code enum for
ERROR_INVALID_PARAMETER.
- Publicly re-export __version__ for type checking purposes.
- The typing of trio.abc.HostnameResolver.getaddrinfo() has been
corrected to match that of the stdlib socket.getaddrinfo, which
was updated in mypy 1.15 (via a typeshed update) to include the
possibility of tuple[int, bytes] for the sockaddr field of the
result. This happens in situations where Python was compiled with
--disable-ipv6.
- Additionally, the static typing of trio.to_thread.run_sync(),
trio.from_thread.run() and trio.from_thread.run_sync() has been
improved and should reflect the underlying function being run.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.6.12:
- Fix: some aarch64 distributions were missing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.1.2:
- In wheel, distribute only the Python packages that should be
installed.
- Migrate project code base from "flat layout" to "src layout"
License-Update: Use COPYING file
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for release 0.0.3:
- Correct the programmer representation of a `ChangeLogEntry`
object.
- Refine specification of valid `ChangeLogEntry` fields.
- Use explicit default values for entry fields.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.9.0:
- Fix for CPATH/C_INCLUDE_PATH being ignored during build.
- Slightly faster reading of events in device.read() and
device.read_one().
- Fix FreeBSD support.
- Drop deprecated InputDevice.fn (use InputDevice.path instead).
- Improve type hint coverage and add a py.typed file to the sdist.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.0.0:
- Python 3.13 support
- Updates round 3
- Speed up exists_case_sensitive calls
- nit: Fix deprecation message link
- Ensure that split_on_trailing_comma works with as imports
- Black profile: enable magic comma
- Fix google style test
- Update line_length and single_line_exclusions in google profile
- Updates round 2
- Dependency updates round 1
- Run pre-commit autoupdate
- Allow --diff to be used with --jobs
- wemake has 80 chars hard limit, not 79
- Fix errors on main
- Fixed syntax error
- fix: typo
- Fix sort_reexports code mangling
- fix: correct group by package tokenization
- Fix isort-action usage documentation
- Fix CDN for Ace
- Fix help text
- docs: fix spelling mistake
License-Update: Use file LICENSE
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.4:
- Fixes "skipped files" count calculation; the previous method was
displaying an arbitrary number.
- Fixes a crash that occurred when pylint was run in a container on
a host with cgroupsv2 and restrictions on CPU usage.
- Relaxed the requirements for isort so pylint can benefit from
isort 6.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We have upgraded py3-openssl module to 24.3.0 in core, which
means this test now fails as py3-openssl has removed the APIs it uses [1]
disable until it is fixed in google-auth module
Fixes
ERROR: 'OpenSSL.crypto' has no attribute 'sign'
[1] https://github.com/googleapis/google-api-python-client/issues/2554
Signed-off-by: Khem Raj <raj.khem@gmail.com>
They call terminalreporter API from pytest which are
not working since they are not external APIs, pytest
is not at fault here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfix release containing a fix for tests failing with recent kernels.
This allows us to remove the patch we're carrying.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.2.0:
- Always preserve decimal.Decimal type in parse round trips
- Better TypeError message on invalid mapping keys
- Unify type representation in error messages
- Improve import time by removing typing import
- Improve import time by removing string import
- Improve import time by lazy importing decimal
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.21203:
- Update to pyproject.toml build system configuration
- Update doc generation to sphinx-autoapi
- Add missing rtd theme to requirements
- Add defined enum symbols in generated docstring
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4.6:
- Ensure all timers are cancelled when after staggered race
finishes
- Keep classifiers in project to avoid automatic enrichment
- Move classifiers to prevent recalculation by poetry
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.11.12:
- MultipartForm.decode() now follows RFC1341 7.2.1 with a CRLF
after the boundary
- Restored the missing total_bytes attribute to EmptyStreamReader
- Updated :py:func:~aiohttp.request to make it accept
_RequestOptions kwargs
- Improved logging of HTTP protocol errors to include the remote
address
- Added aiohttp-openmetrics to list of third-party libraries
- Added missing files to the source distribution to fix Makefile
targets
- Started building armv7l musllinux wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add simple address resolvers and examples
- Eliminate async_timeout dep on python less than 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Turn directory into string on lookup_path on commonpath comparison
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Merge template, adding ''py313'' support and replacing ''bumpversion'' with ''bump-my-version''.
''rust-backend'' still only supported up to ''py312''.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Bump codecov/codecov-action from 4 to 5 in the github-actions group
- Fix lfc class callable
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- On Windows, use virtual terminal input when available.
- Support for multiline suggestions.
- Handle InvalidStateError during termination when using
run_in_terminal/patch_stdout. This can happen in some cases during
cancellation, probably when using anyio.
- Fix cursor that remains in hidden state when the application exits. This can
happen when the application doesn't show the cursor and erase_when_done is
being used.
- Drop support for Python 3.7
- Fixes non user impacting regression on the output rendering. Don't render
cursor hide/show ANSI escape codes if not needed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Don't validate local file requirements that are not used.
- Don't set "dependencies" as empty list for uv toml if there is no dependencies in the raw toml file.
- Add a dummy project name to the script environment pyproject.toml.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Private key material is now explicitly 'unpadded' during
decryption, removing a reliance on some lax OpenSSL behavior & making us
compatible with future Cryptography releases.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Typing: Fix type annotations for class Meta options
- Remove default value for the data param of Nested._deserialize
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix issue when parsing the dynamic table with an invalid offset
- Fix endianness issue with IA64 binaries
- Fix missing original forwarded function name
- Add support for spdlog compiled with SPDLOG_WCHAR_FILENAMES
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Enhanced character conversion functions using regular expressions.
- Improved date handling in Jalali date and time classes.
- Added new test cases for edge cases and date conversions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- fixed a windows bug with the readline module
- pytest assert rewriting works now together with inline-snapshot if you use cpython>=3.11
- ... is now a special value to create snapshot values.
The value change in assert [5,4] == snapshot([5,...]) is now a create (previously it was a fix)
- fixed some issues with dataclass arguments
- fixed an issue where --inline-snapshot=review discarded the user input and never formatted
the code if you used cpython 3.13.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed indentation logic to also honor blank lines.
- Add support for rendering metadata where some fields have newlines (python/cpython#119650).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- add open() to referenceFS
- don't make async open() in async-wrapper
- fix CI following dask-expr upstream change
- cope with zarr3 "Buffer" objects in referenceFS
- use itemgetter in archiveFS
- document that newline is included in readline(s)
- format/spelling
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
d19ad6cc086684ee74db250f5fd35227c98e678a.patch
refreshed for 0.39.0
Changelog:
============
* Remove monotonic from requirements
* wsgi: Clean up some override logic
* Correct line lookup from inspect.getsourcelines()
* Drop support of Python 3.7
* Calling eventlet.sleep(0) isn't really blocking, so don't blow up
* fix the monkey patching with the asyncio hub
* introduce the unmonkeypatching feature
* Python 3.13: Use greenthread's dead state where possible
* bump github Actions
* Fix bug where asyncio hub didn't support multiple os threads
* Python 3.13 Support
* wsgi: server MUST NOT send Content-Length/Transfer-Encoding header in response with a status code of 1xx, 204 or (2xx to CONNECT request)
* wsgi: No request Content-Length nor Transfer-Encoding implies no body
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:
============
- ecodes mappings that point to more than one value are now tuples
- Generate ecodes.py at build time
- Small character device verification cleanup
- Pylint fixes
- Generate typing stubs for evdev.ecodes
- Bump required python version to 3.8
- Use relative imports and sort imports
- Add pylint -E and pytest to ci
- Fix swapped delay and repeat
- Drop from __future__ import print_function
- Fix example
- Binary wheels
- Documentation fix
- OS package badges from repology.org
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:
===========
- Update types in 'is_same_address' to accept 'AnyAddress', 'str', or 'bytes'.
- Add Python 3.13 support and other misc. template updates
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix PytzUsageWarning
- Fix date_parser with prefer_month_of_year wrong results
- Fix skipped day when UTC and tz are different days
- Avoid repeated loop over timezones
- Proofread README.rst
- Check for derived types for configuration
- Parse some abbreviated strings as relative dates
- Migrate from hijri-converter to hijridate
- Fixed ClusterFuzz build error by adding dateparser.data as a binary
- Fix an issue detected by OSSFuzz
- Support two-digit years in non-Gregorian calendars
- Refactored CI to run extras separately and test minimum versions of dependencies, replaced flake8 with ruff, fixed tests
- Set minimum versions for dependencies
- Limited numpy to 1.x when installing dateparser[fasttext]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed duplicated parameter tables in API documentation.
- Fixed docstring style for MkDocs API documentation so parameters are displayed properly.
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:
===========
- [usecase] [sqlite] Modified SQLite's dialect to render "ALTER TABLE RENAME COLUMN" when
Operations.alter_column() is used with a straight rename, supporting
SQLite's recently added column rename feature.
- [bug] [environment] Added tzdata to tz extras, which is required on some platforms such as
Windows. Pull request courtesy Danipulok.
- [bug] [autogenerate] Fixed bug where autogen render of a "variant" type would fail to catch the
variants if the leading type were a dialect-specific type, rather than a
generic type.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
LICENSE file contains 3 licenses, but recipe lists only 2.
Add the missing "Mozilla Public License Version 2.0".
License-Update: added missing license
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This also allows to remove a custom patch to maintain and corrects
license, SPDX and CVE handling.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This also allows to remove a custom patch to maintain and corrects
license, SPDX and CVE handling.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This also allows to remove a custom patch to maintain and corrects
license, SPDX and CVE handling.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
grpc recipe already uses system openssl without problem.
This also allows to remove 2 patches to maintain and corrects license,
SPDX and CVE handling.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is preparation for next commits which to use system libraries
instead of bundled third_party components.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Variable GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY was removed in v1.62.0.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ccache with OE does not work always
* Use RelWithDebInfo instead of Debug build type in cmake
Some modules are built in /tmp and if /tmp is small < 2GB
the build may run out of space especially with huge debug info files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
24.11.1 (2024-11-11)
Bugfixes
- Remove some legacy code that supported Python 2 for compatibility with the
upcoming releases of Cython 3.1.
- Also, the PeriodicMonitorThreadStartedEvent now properly implements the
IPeriodicMonitorThreadStartedEvent interface. The EventLoopBlocked event
includes the hub which was blocked, and it is notified before the report
is printed so that event listeners can modify the report. See issue #2076.
24.10.3 (2024-10-18)
Bugfixes
- Fix clearing stack frames on Python 3.13. This is invoked when you fork
after having used the thread pool. See issue #2067.
- Distribute manylinux2014 wheels for x86_64. See issue #2068.
- Stop switching to the hub in the after fork hook in a child process. This
could lead to strange behaviour, and is different than what all other
versions of Python do.
24.10.2 (2024-10-11)
Bugfixes
- Workaround a Cython bug compiling on GCC14. See issue #2049.
24.10.1 (2024-10-09)
Features
- Update the bundled c-ares to 1.33.1.
- Add support for Python 3.13.
- The functions and classes in gevent.subprocess no longer accept
stdout=STDOUT and raise a ValueError.
Several additions and changes to the queue module, including:
- Queue.shutdown is available on all versions of Python.
- LifoQueue is now a joinable queue.
- gevent.monkey changed from a module to a package. The public API remains
the same.
For this release, private APIs (undocumented, marked internal, or
beginning with an underscore) are also preserved. However, these may be
changed or removed at any time in the future. If you are using one of
these APIs and cannot replace it, please contact the gevent team.
Bugfixes
- For platforms that don’t have socketpair, upgrade our fallback code to
avoid a security issue. See issue #2048.
Deprecations and Removals
- Remove support for Python 3.8, which has reached the end of its support
lifecycle. See issue #remove_py38.
Signed-off-by: Thomas Schlien <ts@ferncast.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an
instantiated device depends on") revealed an issue in libgpiod bindings
tests where a GPIO simulator device is not disabled before removing its
configfs entries.
Add a patch (already submitted upstream) that fixes the observed ptest
failures.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The CRC32C-ADLER license is the same as the SPDX-standardized Zlib.
Use Zlib over CRC32C-ADLER and as it is the last reference, remove the
CRC32C-ADLER license.
Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Similarly to c++ protobuf, add products matching historical entries.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
utf_range is MIT licensed.
Although the LICENSE file is not distributed in python protobuf,
this can be read in c++ protobuf recipe where all files are present.
License-Update: added missing license
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.
This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>