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:
===========
- Fix public API auth snippet
- Clarify the first step: authentication
- Fix typo in community.rst
- rearrange flow to remove reference to creds
- switch safety for pip-audit
- Include the duplicate column names in error message
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>
Changelog:
============
- Optimized web server performance when access logging is disabled by reducing time syscalls
- Improved web server performance when connection can be reused
- Improved performance of the WebSocket reader
- Improved performance of the WebSocket reader with large messages
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.81:
- Set reasonable timing parameters for PCAN interfaces
- Don't barf when flashing firmwares older than family reporting
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 10.0.1:
- year_range_check will only shift 0s in from the left for year
strings of length 2. Since parse_date throws an IsoFormatError
for year strings of lengths other than 2 or 4 this shouldn't
significantly change any public API consumers.
- Specify changelog location in setup.py
- Change to Woodpecker CI
- Add a CI pipeline to test builders when a tag is pushed
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.13.4:
- If you pass a function as the first argument to a find* method, the
function will only ever be called once per tag, with the Tag object
as the argument. Starting in 4.13.0, there were cases where the
function would be called with a Tag object and then called again
with the name of the tag.
- Added a passthrough implementation for NavigableString.__getitem__
which gives a more helpful exception if the user tries to treat it
as a Tag and access its HTML attributes.
- Fixed a bug that caused an exception when unpickling the result of
parsing certain invalid markup with lxml as the tree builder.
- Converted the AUTHORS file to UTF-8 for PEP8 compliance.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.4.0:
- update travis badge link
- fix buiding documentation with sphinx 8.x
- add initial support for python 3.14
- Bump starlette from 0.37.2 to 0.40.0 in /docs
- fix typo in requirements.txt
- updated copyright for 2025
- Bump jinja2 from 3.1.4 to 3.1.5 in /docs
- support pypy-3.11
- update docs requirements; CI for pypy3.11
- fix CodeType support for PyPy3.11 7.3.19+
- move travis build of 3.9 to focal
- Bump jinja2 from 3.1.5 to 3.1.6 in /docs
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 5.2.1:
- Set name as optional for ABIComponent type.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.7.1:
- Merge template, updating CI runs and what is included in package
files
- Run mypy linting locally via a pre-commit hook
- Merge template updates, notably adding support for py313 and
moving docs from the README to ReadTheDocs
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 5.3.0:
- Replace arg["name"] with arg.get("name") to correctly handle
optional names
- Add new methods: to_wei_decimals, and from_wei_decimals which
take a number instead of a string
- Add CamelModel pydantic model for validating objects and
serializing to camelCase when used with by_alias=True, with
the general expectation of a well-formed JSON-RPC object.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.0:
- Drop Python 3.8
- Export the plugin types at top-level
- Add host parameter to aiohttp_server fixture
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.11.0:
- Added Python 3.13 wheels.
- Added support for __format__.
- Dropped support for Python 3.8.
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 1.20.0:
- Implemented support for the free-threaded build of CPython 3.13
- Started building wheels for the free-threaded build of CPython 3.13
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.1:
- Fixes a vulnerability (CVE-2024-36039)
- Prohibit dict parameter for Cursor.execute(). It didn't produce
valid SQL and might cause SQL injection.
- Added ssl_key_password param
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.7.3:
- Updated pint dependency for compatibility with python >= 3.13
- Fixed windows COM port scanning
- Minor documentation updates
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.9.1:
- Correct byte order in bits.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.11.3:
- Update V1 copy to v1.10.21
- Preserve field description when rebuilding model fields
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.46.2:
- Prevents reraising of exception from BaseHttpMiddleware
- Use correct index on backwards compatible logic in TemplateResponse
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Current SRCREV is v2.2a1, update to v2.2
* pyyaml-include use setuptools_scm to get package version, but it not
works well with git shallow clone, and will return a invalid version
like 0.1.dev1+gc5be2b7, make pyyaml-include is installed to a wrong
path: /usr/lib/python3.13/site-packages/pyyaml_include-0.1.dev1+gc5be2b7.dist-info,
and also version in PKG-INFO is wrong.
export SETUPTOOLS_SCM_PRETEND_VERSION to get correct package version.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
MyST is a rich and extensible flavor of Markdown meant for technical documentation and publishing.
MyST is a flavor of markdown that is designed for simplicity, flexibility, and extensibility.
This repository serves as the reference implementation of MyST Markdown,
as well as a collection of tools to support working with MyST in Python and Sphinx.
It contains an extended CommonMark-compliant parser using markdown-it-py,
as well as a Sphinx extension that allows you to write MyST Markdown in Sphinx.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a submitted patch to support the reproducible generation of
intermediate file ecodes.c, then, use it to fix the buildpaths errors.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Commit 01ebfecf1c ("python3-evdev: switch to PEP-517 build backend")
did not update the way build arguments are passed to the build making
them unused. In python3-evdev case that meant that the build used host
kernel headers instead of Yocto's.
When host's and Yocto's headers were different (currently the case on
Debian 12 as seen on AB[0]), that triggered:
| src/evdev/ecodes.c:542:29: error: 'KEY_LINK_PHONE' undeclared (first use in this function); did you mean 'KEY_PICKUP_PHONE'?
| 542 | PyModule_AddIntMacro(m, KEY_LINK_PHONE);
| | ^~~~~~~~~~~~~~
[...]
ERROR: Task (.../../../layers/meta-openembedded/meta-python/recipes-devtools/python/python3-evdev_1.9.1.bb:do_compile) failed with exit code '1'
To fix this, use PEP517_BUILD_OPTS with the working (but weird looking) escaping.
Now that correct headers are used, their paths end up in the ecode.c
file which lead to a buildpaths error, skip the check for this patch.
This will be fixed in a following patch.
[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/40/steps/40/logs/stdio
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* LICENSE update:
pyzmq no longer ships an LGPL core, it is BSD-only [1].
The LICENSE.BSD is renamed to LICENSE.md [2].
* The new version switches to scikit-build-core backend and build
with cmake.
[1] 2f461c578b
[2] 1f4bc04f43
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Adjust for move to meson build system.
- Use system freetype and qhull
- Add ptest insfrastructure, they do not pass yet
- Add a patch to fix build on 32bit machines
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Gamblin <tgamblin@baylibre.com>
They are already added to oe-core, since they are dependencies of python3-webcolors
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
America/Coyhaique has changed recently and unless the tzdata is sync'ed
this will fail, so disable for now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade python-blivet from 3.9.2 to 3.12.1:
* rebase 0002-run_program-support-timeout.patch
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to use python_setuptools_build_meta after the commit [1]
introduced in the new version.
Changelog:
https://github.com/pydot/pydot/blob/main/ChangeLog
[1] d1627c95cb
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Skip running test_readonly_qualifier_warning as it results in warnings
but Werror means it is reported as fails.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-Stop-using-pyasn1.compat.octets.patch
removed since it's included in 0.4.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Automatic C++ library API documentation generator using Doxygen, Sphinx, and Breathe.
Exhale revives Doxygen's class, file, and page hierarchies in reStructuredText documents
to make these hierarchies available in Sphinx documented projects.
No pytests are distributed in the pypi package.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation
Added to ptest list.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://gitlab.com/m2crypto/m2crypto/-/tags
The cmd will be None after introduced the commit [1] in the new
version and result the below do_compile error.
DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
[snip]
TypeError: expected str, bytes or os.PathLike object, not NoneType
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
So make the cmd available to fix the above issue.
[1] 4d7880b019
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
core.py in the netaddr package has
import pprint as _pprint
and so I hit
from netaddr import OUI
File "/usr/lib/python3.12/site-packages/netaddr/__init__.py", line 76, in <module>
from netaddr.core import (
File "/usr/lib/python3.12/site-packages/netaddr/core.py", line 9, in <module>
import pprint as _pprint
ModuleNotFoundError: No module named 'pprint'
Add the missing RDEPENDS.
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The pytesseract library is a wrapper for tesseract, so it should depend
on it on runtime. Also, the pytesseract python script calls for the
packaging module so also include it as a depencency.
Signed-off-by: Antonios Christidis <a-christidis@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Bump pyproject-metadata to handle form feeds on Python < 3.12.8
- Increase timeout on CI
- Ignore deprecation message from cattrs on Python 3.14 alphas
- Add more integration tests in Fedora
- Restore example builds for Windows/macOS
- Remove leftover Python 3.7 checks
- Bump pytest version and include pytest-xdist
- Bump to ruff 0.10, work around bug
- Clarify verbosity options
- Fix incorrect configuration example
- Fix incorrect name (PYBIND11_NEWPYTHON -> PYBIND11_FINDPYTHON)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- WaitQueueTimeoutError should not clear the pool
- Migrate off of Ubuntu 20.04 GitHub Actions Runners
- Fix test_03_invalid_keyid
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Chunk dependabot updates into a single PR
- Drop support for EOL Python 3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Do not skip snapshots in conditional marked xfail tests.
- Tests with failed snapshot comparisons now always result in a pytest Error,
even if snapshots have been fixed or created.
- inline-snapshot now also works if you use --no-summary
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add support for a new SIGNAL_ENQUEUED.
- Use FOR UPDATE SKIP LOCKED when supported by the database in the sql_huey storage engine.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
New API:
-----------
- der.remove_implicit and der.encode_implicit for decoding and
encoding DER IMPLICIT values with custom tag values and arbitrary
classes
Bug fixes:
------------
- Minor fixes around arithmetic with curves that have non-prime order
(useful for experimentation, not practical deployments)
- Fix arithmetic to work with curves that have (0, 0) on the curve
- Fix canonicalization of signatures when s is just slightly
above half of curve order
Maintenance:
------------
- Dropped official support for Python 3.5 (again, issues with CI, support
for Python 2.6 and Python 2.7 is unchanged)
- Officially support Python 3.12 and 3.13 (add them to CI)
- Removal of few more unnecessary six.b literals (Alexandre Detiste)
- Fix typos in warning messages
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
A few small tweaks to the sys.monitoring support for Python 3.14.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed an issue where dns queries were delayed indefinitely when an
exception occurred in a trace.send_dns_cache_miss
- Fixed DNS resolution on platforms that don't support socket.AI_ADDRCONFIG
- The connector now raises :exc:aiohttp.ClientConnectionError instead of
:exc:OSError when failing to explicitly close the socket after
:py:meth:asyncio.loop.create_connection fails
- Break cyclic references at connection close when there was a traceback
- Break cyclic references when there is an exception handling a request
- Improved logging on non-overlapping WebSocket client protocols to include
the remote address
- Improved performance of parsing content types by adding a cache in the same
manner currently done with mime types
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.13.6:
- A new self._pybind11_conduit_v1_() method is automatically added
to all py::class_-wrapped types, to enable type-safe
interoperability between different independent Python/C++
bindings systems, including pybind11 versions with different
PYBIND11_INTERNALS_VERSION's. Supported on pybind11 2.11.2,
2.12.1, and 2.13.6+.
- Using __cpp_nontype_template_args instead of
__cpp_nontype_template_parameter_class.
- Properly translate C++ exception to Python exception when
creating Python buffer from wrapped object.
- Adds an answer (FAQ) for "What is a highly conclusive and simple
way to find memory leaks?".
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.6:
- Fix a false positive for used-before-assignment when an inner
function's return type annotation is a class defined at module
scope.
- Fix false positives for use-implicit-booleaness-not-comparison,
use-implicit-booleaness-not-comparison-to-string and
use-implicit-booleaness-not-comparison-to-zero when chained
comparisons are checked.
- Fix a false positive for invalid-getnewargs-ex-returned when the
tuple or dict has been assigned to a name.
- Remove getopt and optparse from the list of deprecated modules.
- Fixed conditional import x.y causing false positive
possibly-used-before-assignment.
- Fix a crash when something besides a class is found in an except
handler.
- Fixed raising invalid-name when using camelCase for private
methods with two leading underscores.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 8.0:
- Added support for Python 3.11 and 3.12
- Drop support for Python <=3.8
- Change local development setup to use Poetry
- Testsuite and code quality checks are done through Github Actions
- Code quality and formatting utilises ruff
- Removed typing_extensions as a dependency, as it's no longer
required with having Python 3.9+ as a requirement
- Only allow high error correction rate (qrcode.ERROR_CORRECT_H)
when generating QR codes with embedded images to ensure content
is readable
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 14.0.6:
- Bump version to 14.0.6
- Fix hostname support
- Advertise typing support
- Fix typos in Plex example
- Add license to project metadata
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.2.0:
- Fixed in checks throwing an exception instead of returning
:data:`False` when testing non-strings.
- Fix a leak when the last accessed module in PyInit__multidict
init is not released.
- Implemented support for the free-threaded build of CPython 3.13
- Started publishing wheels made for the free-threaded build of
CPython 3.13
- Used stricter typing across the code base, resulting in improved
typing accuracy across multidict classes. Funded by an NLnet grant.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.18.0:
- Indicate that locks are exclusive/write locks
- Support fcntl check on Emscripten
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.2.1:
- Changed the build procedure to use pyproject.toml and moved the
tests outside of the generated wheel/tarball.
- Added official support for Python 3.11, 3.12, 3.13
- Dropped official support for Python < 3.8: the module is expected
to work on older Python versions, but I cannot test such versions
on GitHub actions, so the author cannot claim that it is
officially supported.
- Dafu Wu provided support for decorating partial functions, i.e.
functions wrapped by functools.partial.
- Included tests and documentation in sdist
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 4.9.0:
- Added async support for temporary file handling
- Added 4 new fixtures for the AnyIO pytest plugin:
- free_tcp_port_factory: session scoped fixture returning a
callable that generates unused TCP port numbers
- free_udp_port_factory: session scoped fixture returning a
callable that generates unused UDP port numbers
- free_tcp_port: function scoped fixture that invokes the
free_tcp_port_factory fixture to generate a free TCP port number
- free_udp_port: function scoped fixture that invokes the
free_udp_port_factory fixture to generate a free UDP port number
- Added stdin argument to anyio.run_process() akin to what
anyio.open_process(), asyncio.create_subprocess(),
trio.run_process(), and subprocess.run()
- Added the info property to anyio.Path on Python 3.14
- Changed anyio.getaddrinfo() to ignore (invalid) IPv6 name
resolution results when IPv6 support is disabled in Python
- Changed EndOfStream raised from MemoryObjectReceiveStream.receive()
to leave out the AttributeError from the exception chain which
was merely an implementation detail and caused some confusion
- Fixed traceback formatting growing quadratically with level of
TaskGroup nesting on asyncio due to exception chaining when
raising ExceptionGroups in TaskGroup.__aexit__
- Fixed anyio.Path.iterdir() making a blocking call in Python 3.13
- Fixed connect_tcp() producing cyclic references in tracebacks when
raising exceptions
- Fixed anyio.to_thread.run_sync() needlessly holding on to
references of the context, function, arguments and others until
the next work item on asyncio
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
GPT Image is to create GUID Partition Table disk images on local disks.
Written in pure Python gpt-image allows GPT disk images to be built on a local
filesystem and exported to a destination device. This is useful for creating
a disk image on SD Cards or embedded devices.
Home page: https://pypi.org/project/gpt-image/
Signed-off-by: Libo Chen <libo.chen.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
cheetah-native is used while building mongodb and a build
failure for mongodb identifies that the current version of
cheetah templates requires the cgi module. The following
is seen
> | from Cheetah.Template import Template
> | File
> "/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/mongodb/4.4.29/recipe-sysroot-native/usr/lib/python3.13/site-packages/Cheetah/Template.py",
> line 24, in <module>
> | import cgi # Used by .webInput() if the template is a CGI script.
> | ^^^^^^^^^^
> | ModuleNotFoundError: No module named 'cgi'
This is fixed by utilizing the legacy-cgi module.
Signed-off-by: Awais Belal <awais.belal@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With the cgi module being dropped in python3.13 a stop
gap solution for modules relying on cgi is to use the
legacy-cgi module. Introduce the recipe so it could be
leveraged in the upcoming changes.
Signed-off-by: Awais Belal <awais.belal@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Backport a patch for python3-pykickstart to fix option parse error:
File "/usr/lib64/python3.12/site-packages/pykickstart/options.py", line 185, in _parse_optional
option = action.option_strings[0]
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'option_strings'
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Now only warns bout /etc/timezone if it is actually conflicting with
other timezone configurations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Allow Database.command to run bulkWrite commands
- Use dochub link for fork warning
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Improve deprecation warning, by showing the correct caller location.
- Fix finalizer registration errors on pypi by using a thread-safe sequential
number generator instead of relying on object id unicity and timely finalizer
triggering.
- Check in-dll version when creating Windows wheels. Should hopefully version
mixups like what happened in 3.1.0 .
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- correct normalization of "python3.9" to "python" in tests
- Prevent a crash if a value cannot be copied and a UsageError is raised.
- Use the black API directly to format python code.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add property expiry in gspread client
- Bump typing-extensions from 4.11.0 to 4.12.0
- Fix code block formatting typo in README
- ignore jinja CVE
- Type part of test suite utils
- Remove passing exception as args to super in APIError
- Bump mypy from 1.10.0 to 1.10.1
- Update advanced.rst
- Bump bandit from 1.7.8 to 1.7.9
- Bump flake8 from 7.0.0 to 7.1.0
- Bump typing-extensions from 4.12.0 to 4.12.2
- Bump mypy from 1.10.1 to 1.11.1
- Bump black from 24.4.2 to 24.8.0
- Bump flake8 from 7.1.0 to 7.1.1
- Fix docstring about BackOffHTTPClient
- Fix comment to reflect correct google-auth package version requirement
- Doc/community addons orm package
- fix: fix type annotation for default_blank
- Bump mypy from 1.11.1 to 1.11.2
- better handler API error parsing.
- Add test on receiving an invalid JSON in the APIError exception handler.
- [feature] Add 'expand_table' feature
- Bump bandit from 1.7.9 to 1.7.10
- Created a batch_merge function
- Added a range option to Worksheet.get_notes
- Documentation update for gspread.worksheet.Worksheet.get_all_records
- add example for batch_merge
- explicitly list exported package symbols
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- add pipe_file to HTTP
- add sync http for pyodide
- ls performance for local and detail=False
- dir/info consistency in dirfs
- referenceFS async consistency
- CI
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add full PSVI type labeling in XDM to solve type errors with XSD 1.1 assertion-s
- Add schema optional argument to dynamic context
- Add a RootToken as a proxy of the parsed token tree for compatibility with xmlschema<=3.4.3
- Extend XDM to split ElementTree/lxml processing from schema nodes and to allow future extensions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* updated 'pythoncapi_compat.h' for pypy3.11 support
* use '__builtin_parityll()' when available in 'util.parity()'
* add 'parity_64()' to header
* simplify some tests
* add LFSR example
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Support namespace package traversal when completing Python entry points
- zsh: skip repeat Python runs in the same completion run
- Make _parse_known_args signature more general for future API changes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add callback for users to customize socket creation
- Close runner up sockets in the event there are multiple winners
- Resolve warnings when running tests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.146.1:
- Use trusted publishing for uploading wheels
- Reduce size of wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-numpy headers are required by pandas to compile successfully.
By default, this recipe used python3-numpy-native for compilation,
which usually works. However in case the bitness of the build-host
differs from the target, then problems arise.
For example when compiling for 32-bit ARM on a x86-64 machine, the following
error appears when trying to import the module:
ValueError: Buffer dtype mismatch, expected 'const int64_t' but got 'long long'
When running a diff on all numpy headers across native and target,
only one header differs, _numpyconfig.h, in a significant way.
This header defines the sizes of different datatypes used by numpy,
and these sizes strongly depend on the arch bitness.
This change switches from python3-numpy-native dependency to python3-numpy to
ensure that the correct headers are used. Beside this also patch the meson script,
so it accepts an option (numpy_inc_dir) to specify the location of these headers,
since it is not able to query them from the class-target module
The PYTHONPATH variable is extended with the target's RECIPE_SYSROOT, because
numpy is specified as a dependency in meson, and it needs to find the module
to continue successfully.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.39.1:
- [fix] Make LightQueue and derivatives subscriptable
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.45.6:
- Update the wheels to incorporate libcurl 8.12.1 for security
fixes, as well as enable some additional libraries in wheel
builds.
- The previous release was accidentally built without CA bundle
autodetection in Linux wheels - this restores that behavior
(no changes to macOS or Linux).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.22.4:
- Ensure dev-dependencies are added to the correct group when the
tool.pdm.dev-dependencies table has groups.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The library version to link against can be automatically detected.
This fixes the following runtime warning:
>>> import h5py
/usr/lib/python3.13/site-packages/h5py/__init__.py:36: UserWarning:
h5py is running against HDF5 1.14.4 when it was built against
1.14.0, this may cause problems
_warn(("h5py is running against HDF5 {0} when it was built against
{1}, "
Signed-off-by: Oliver Kästner <okaestner@rosen-nxt.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream moved to PEP-517 builds, so use the appropriate bbclass.
Signed-off-by: Oliver Kästner <okaestner@rosen-nxt.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.2.0:
- Support for Python 3.11 has been added.
- Support for Python 3.12 has been added.
- Support for Python 3.13 has been added.
- Add an ability to send outbound cookies separately to improve
headers compression.
- Updated packaging and testing infrastructure.
- Fix repr() checks for Python 3.11
- Fix asyncio / wsgi examples.
- Clarify docs on using curl with http2.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.15.1:
- Fixed an issue in the new PEP 621 pyproject.toml layout that
prevented Alembic's template files from being included in the
.whl file in the distribution.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.4.1:
- Skip installation to speed up pep8
- reno: Update master for unmaintained/2023.1
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since module crypt has been removed from python 3.13, add a renamed copy
of it that other packages may require it, such as python3-anaconda.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>