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>
Upgrade to release 4.3.1:
- Updated bitarray dependency to allow for v3.x.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.16.0:
- Reject certain malformed Transfer-Encoding: chunked bodies that
were previously accepted. These could have enabled
request-smuggling attacks when an h11-based HTTP server was
placed behind a load balancer with a matching bug in its chunked
handling.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.7:
- Add :open pseudo selector.
- Add :muted pseudo selector.
- Recognize the following pseudo selectors: :autofill, :buffering,
:fullscreen, :picture-in-picture, :popover-open, :seeking,
:stalled, and :volume-locked. These selectors, while recognized,
will not match any element as they require a live environment to
check element states and browser states. This just prevents Soup
Sieve from failing when any of these selectors are specified.
- A number of existing pseudo-classes are no longer noted as
experimental.
- Typing fixes.
License-Update: Updated copyright years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.30.0:
- Add @trio.as_safe_channel, a wrapper that can be used to make
async generators safe. This will be the suggested fix for the
flake8-async lint rule ASYNC900.
- Allow trio to be a types.ModuleType and still have deprecated
attributes.
- Fixed socket module for some older systems which lack
socket.AI_NUMERICSERV.
- Now trio works on legacy (pre-Lion) macOS.
- Update type hints for trio.run_process and
trio.lowlevel.open_process.
- Don't mutate the global runner when MockClock is created.
- Fix incorrect return type hint for Nursery.start().
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Test against Python 3.13
- Drop support for Python 3.8, which is EOL
- Support marshmallow 4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-Use-default-cc-from-environment-variable.patch
removed since it's not available in 1.2.0
License-Update: Reorg and rename files; add pyproject.toml
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-m2crypto/0001-setup.py-Make-the-cmd-available.patch
refreshed for 0.45.0
Changelog:
===========
- chore: build Windows builds with Python 3.13 as well
- fix: remove support for Engine
- chore: mark actual license of the project BSD-2-Clause instead of wrong MIT
- ci(Debian): make M2Crypto buildable on Debian
- swig: Workaround for reading sys/select.h ending with wrong types.
- ci: bump required setuptools version because of change in naming strategy
- fix: add fix for build with older GCC
- fix: remove AnyStr and Any types
- chore: add .git-blame-ignore-revs
- chore: blacken everything
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed
- A pycharm environment is no longer incorrectly recognized as a CI environment.
- show correct diff when pytest --inline-snapshot=report -vv is used
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-slp_switch-Implement-for-RISCV32.patch
removed since it's included in 3.2.0
Changelog:
============
- Remove support for Python 3.7 and 3.8.
- Add untested, community supported implementation for RiscV 32.
- Make greenlet build and run on Python 3.14a7. It will not build on earlier 3.14 alpha releases, and may not build on later 3.14 releases.
- Packaging: Use PEP 639 license expressions and include license files.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Features
- Adding domain-wide delegation flow in impersonated credential
- Adds GA support for X.509 workload identity federation
Documentation
- Add warnings regarding consuming externally sourced credentials
Bug Fixes
- Add impersonated SA via local ADC support for fetch_id_token
- Add missing packaging dependency for feature requiring urllib3
- Add request timeout for MDS requests
- Explicitly declare support for Python 3.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>