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>