Changelog:
===========
- Make greenlet build and run on Python 3.14 beta 2 on Windows amd64.
- Potentially fix build on NetBSD/sparc64.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Auth fetch token from default endpoint
- Remove unnecessary call to mds service
- Retry 504 errors
- Remove sync response logs in AuthorizedSession
- Update test to consider new error message from cryptography
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Enhancements
- file system for GitHub gists
- add rm in github
- cachingFS performance, don't ls every time
- pyscript: protocol and optional entrypoint
Other
- doc fixes
- add "gs" at mention of gcsfs in docs
- lint style
- glob docstring to reflect reality
Fixes
- improve cp in generic
- fix ls in dbfs
- fix parquet tests for pyarrow 20
- fix crosslink for local tempfile
- keep permissions in local transaction
- signature compatibility in local cp()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Correctly use cimport for including PyBool_FromLong
- Exclude _frozenlist.cpp from bdists/wheels
- Updated to use Cython 3.1 universally across the build path
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changgelog:
=============
- Require Python 3.9 or later
- Remove MRUCache and the @func.mru_cache decorator
- Add an optional condition parameter to the @cached and @cachedmethod
decorators, which, when used with a threading.Condition instance, should
improve cache stampede issues in massively parallel environments.
- Convert the cachetools.func decorators to use a threading.Condition instance
to deal with cache stampede issues. Note that this may result in a noticable
performance degradation, depending on your actual use case.
- Deprecate support for cache(self) returning None to suppress caching with the @cachedmethod decorator.
- Improve documentation.
- Update CI environment.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* extend documentation of
[compression of sparse bitarrays](sparse_compression.rst)
* 'util.sc_decode()' and 'util.vl_decode()' now raise 'StopIteration'
instead of 'ValueError' when unexpected end of stream is encountered
* add debug mode tests for 'read_n()', 'write_n()' and 'count_from_word()'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.2.0:
- Drop support for Python 3.8
- Fix bug where already url-encoded values were further escaped
and encoded
- Refactor uritemplate/variable.py to enable fixing the
aforementioned bug
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.47.0:
- Add support for ASGI pathsend extension
- Add partitioned attribute to Response.set_cookie
- Change methods parameter type from list[str] to Collection[str]
- Replace import typing by from typing import ... in the whole
codebase
- Mark ExceptionMiddleware.http_exception as async to prevent
thread creation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6.1:
- Fixed bug that prevented cmd2 from working with from
__future__ import annotations
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
LIC_FILES_CHKSUM is updated. The year in the copyright header was changed for 2025.
Added a PACKAGECONFIG for a new optional runtime dependency python3-wsproto which
is required for the new twisted.web.websockets module.
Changes:
https://github.com/twisted/twisted/compare/twisted-24.11.0...twisted-25.5.0
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.8.2:
- Wheels are provided for Windows ARM64 on Python 3.11, 3.12, and
3.13
- A number of EncodingWarnings were fixed that could appear if
you've enabled PYTHONWARNDEFAULTENCODING
- Fixed a race condition when using sys.monitoring with
free-threading Python
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6.0:
- cmd2 2.6 supports Python 3.9+ (removed support for Python 3.8)
- Added support for Python 3.14
- Added new Cmd.ppretty() method for pretty printing arbitrary
Python data structures
- Clarified help text for -t/--transcript argument to the history
command
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.5.2:
- Remove support for Python 3.7
- Explicitly marks support for Python 3.13
- Improved project documentation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 25.5.0:
- Add testing for Python 3.13
- Remove support for EOL Python 3.8
- Break after first hit with find_first_match
- Use cached_property for the prefix property
- Use cached_property for the major property
- Use cached_property for the minor property
- Use cached_property for the simple property
- Use cached_property for the strategy property
- Set full tag names in actions
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrades
Add compatibility with Click 8.2. PR #1222 by @tiangolo.
When using the CliRunner with Click < 8.2,
to be able to access the stderr output, you needed to set the mix_stderr
parameter to True. Since Click 8.2 (and Typer 0.160 this release
supporting it) this is no longer necessary, so this parameter has been
removed.
Refactors
Refactor tests for compatibility with Click 8.2. PR #1230 by @tiangolo.
Internal
Remove Google Analytics. PR #1229 by @tiangolo.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.2:
- Addressed the DeprecationWarning in our CLI regarding
argparse.FileType by backporting the target class into the package.
- Improved the overall reliability of the detector with CJK Ideographs.
- Optional mypyc compilation upgraded to version 1.15 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 2.6.1:
- A __version__ attribute relying on importlib.metadata.
- A uv.lock lock-file for reproducible builds.
- Drop official support for Python 3.8.
- Switch from black to ruff for code style.
- Fully migrate to a pyproject.toml-based project.
- Ensure code style consistency (see selected rules in pyproject.toml).
- Extra dependencies are part of the dev dependency group (PEP 735).
- Switch from setuptools to hatchling for building portion.
- Switch from coverage to pytest-cov for test coverage.
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.
Fix:
WARNING: python3-bitarray-3.4.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: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Backport two patches to fix the pyproject.toml versions around
setuptools. Once the next version of pychromecast is out, these should
be removable.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Move from meta-python to meta-multimedia which depends on layer
meta-python. This way the recipe will reside in the layer where
its main dependency libheif is.
This work was sponsored by GOVCERT.LU.
Suggested-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Reintroduce the --wheel CLI option, even though it has no effect on Python > 3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add a missing quote in a TOML example @ config.rst
- Add colour to GitHub Actions CI logs
- Fix using deprecated virtualenv option --wheel
- Fix custom HelpFormatter for Python 3.14
- Drop support for EOL Python 3.8
- Test with Python 3.14
- Fix for tox4 regression issue with setenv file and substitutions
- Feat: free-threaded python support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add true colour RGB option as input arguments
- Cache system lookups to save invocation time
- Advertise typing via classifier
- Migrate coverage configuration to pyproject.toml
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Optimize QRColorMask apply_mask method for enhanced performance
- Fix typos on StyledPilImage embeded_* parameters.
The old parameters with the typos are still accepted for backward compatibility.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Upgrade zstd source code from v1.5.6 to v1.5.7
- Raise an exception when attempting to decompress empty data
- Add ZstdFile.name property
- Deprecate (de)compress_stream functions
- Use a leading _ for private objects
- Build wheels for Windows ARM64
- Support for PyPy 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- iproute: basic Darwin support
- nftables: asynchronous API
- plan9: Inode class context manager API
- plan9: support call on read
- code: provide again .epid
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- The asynchronous API is now stable and no longer in beta.
- Fixed a bug where pymongo.write_concern.WriteConcern repr was not eval-able when using w="majority".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Cancel previous CI jobs on pull request update
- Update bundled c-ares to v1.34.5
- Add ARES_FLAG_NO_DFLT_SVR and ARES_FLAG_EDNS to API
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add missing examples and fix order of examples in README
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- .metadata() (and Distribution.metadata) can now return None if the metadata directory exists but not metadata file is present.
- Raise consistent ValueError for invalid EntryPoint.value
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix regression in naturalsize for float and str
- Improvements for French translation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Make greenlet build and run on Python 3.14 beta 1. It will not run on earlier versions of 3.14; it should run on subsequent versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix signing key selection order when key rotation is enabled via SECRET_KEY_FALLBACKS.
- Fix type hint for cli_runner.invoke.
- flask --help loads the app and plugins first to make sure all commands are shown.
- Mark sans-io base class as being able to handle views that return AsyncIterable.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* [fix] Fix ssl test when linking against openssl 3.5
* Drop support Python 3.8
* [doc] Various doc updates
* [env] Drop PyPy support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix XDM type labeling with element and xsi:type substitutions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- fix: use version range and don't error of no macOS version is set
- update pre-commit hooks
- bump actions/create-github-app-token from 1 to 2 in the actions group
- update pre-commit hooks
- bump astral-sh/setup-uv from 5 to 6 in the actions group
- update pre-commit hooks
- bump the actions group with 2 updates
- update pre-commit hooks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* add 'pyproject.toml'
* implement 'bits2bytes()' in C
* optimize 'delslice()' when 'step' is larger than about 5
* consistently name '*_span()' and '*_range()' in C for
invert, set and count
* organize and add tests
* remove '.endian()' method in favor of data descriptor '.endian'
* allow bitarray initializer 'bytes' or 'bytearray' to set buffer directly
* allow calling '.extend()' with 'bytes' object (although the only
valid bytes are 0x00 and 0x01)
* add 'util.byteswap()'
* add 'util.correspond_all()'
* fix '.reverse()' for imported buffer
* drop Python 3.5 support
* add tests
* fix off-by-one-error in check for length of count argument
in 'util.canonical_decode()'
* simplify 'util.int2ba()'
* add tests
* add [masked indexing example](../examples/masked.py)
* add [tricks example](../examples/tricks.py)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Avoid importing submodules sharing names with standard library modules.
- Fix bug where pylint code.custom_extension would analyze code.py or code.pyi instead if they existed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Update CI
- Drop Python 3.8
- Run tests on push
- Fix test coverage
- Use c-ares event thread when available
- Fix release workflow for breaking changes in upload/download artifact
- Added fallback to sock_state_cb if event_thread creation fails
- Implemented strict typing
- Updated dependencies
- Added support for Python 3.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes build with cython >=3.1
Drop patch to pin numpy to 1.x
Edit out absolute paths from cython generated C files
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It was upgraded in:
https://lists.openembedded.org/g/openembedded-core/message/216335
and now this fails with:
* Getting build dependencies for wheel...
ERROR Missing dependencies:
hatch-fancy-pypi-readme==24.1.0
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for release 0.22.0:
- Boolean pillow_heif.options.DISABLE_SECURITY_LIMITS to bypass
security limit of libheif for the image size.
- libx265 library was updated to the latest 4.1 version.
- libheif was updated from the 1.19.5 to 1.19.7 version.
- AVIF format marked as deprecated and pending for the removal.
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>
* fixes:
https://lists.openembedded.org/g/openembedded-devel/message/117255
DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
/usr/lib/ld-linux-aarch64.so.1: No such file or directory
Traceback (most recent call last):
File "TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 389, in <module>
main()
~~~~^^
File "TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/build_meta.py",
line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/build_meta.py",
line 304, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/build_meta.py",
line 320, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 23, in <module>
File "TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/posix_ipc-1.2.0/build_support/discover_system_info.py",
line 409, in discover
d["QUEUE_PRIORITY_MAX"] = sniff_mq_prio_max()
~~~~~~~~~~~~~~~~~^^
File "TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/posix_ipc-1.2.0/build_support/discover_system_info.py",
line 238, in sniff_mq_prio_max
if max_priority < 0:
^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'str' and 'int'
ERROR Backend subprocess exited when trying to invoke
get_requires_for_build_wheel
WARNING: TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/temp/run.do_compile.2736023:168
exit 1 from 'nativepython3 -m build --no-isolation --wheel --outdir
TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/dist
TOPDIR/BUILD/work/raspberrypi4_64-webos-linux/python3-posix-ipc/1.2.0/posix_ipc-1.2.0'
WARNING: Backtrace (BB generated script):
On some hosts.
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Without uinput.h header, the evdev module can't be imported because it
lacks the UI_FF* constants.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Remove a merged reproducibility patch
* Adapt the --reproducible option
Changelog (from [0]):
1.9.2 (May 01, 2025)
====================
- Add the "--reproducible" build option which removes the build date and used headers from the
generated ``ecodes.c``. Example usage::
python -m build --config-setting=--build-option='build_ecodes --reproducible' -n
- Use ``Generic`` to set precise type for ``InputDevice.path``.
[0]: https://github.com/gvalkov/python-evdev/blob/v1.9.2/docs/changelog.rst
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.0:
- Replace SafeXMLParser with SafeExpatParser
- Drop compatibility with Python 3.8
- Restruct node trees with XPathNodeTree backbone
- Unicode categories fallback with a warning
- Rewriting decoder module
- Add extras subpackage for experiment XDM and XPath on Path objects
Fixes:
WARNING: python3-elementpath-5.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: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>