This is a minor gpiod package release that brings in some new
interfaces, a significant typing rework, ruff and mypy conformity and a
slew of bug-fixes.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.4.2:
- Fixed TypeCheckError in unpacking assignment involving properties
of a parameter of the function
- Fixed display of module name for forward references
- Fixed TypeError when using an assignment expression
- Fixed ValueError: no signature found for builtin when checking
against a protocol and a matching attribute in the subject is a
built-in function
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.12.0:
- Add support for Python 3.14 and test PyPy3.11
- Handle en_GB and en_US locale
- Release to PyPI using Trusted Publishing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.3:
- Bump docker/build-push-action from 6.10.0 to 6.11.0
- Bump docker/build-push-action from 6.11.0 to 6.12.0
- Bump docker/build-push-action from 6.12.0 to 6.13.0
- [pre-commit.ci] pre-commit autoupdate
- Update bug template to include latest released versions
- Add markupsafe.Markup XSS plugin
- Warn not error on an nonexistant test given
- Bump sigstore/cosign-installer from 3.7.0 to 3.8.0
- Bump docker/setup-buildx-action from 3.8.0 to 3.9.0
- B107: Skip None values in hardcoded password detection
- Pytorch fix
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.20.1:
- Do not memoize keys before they are coerced to string
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.1:
- On Windows link to debug runtime lib when building with a debug
Python
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These grpc python modules contain parts of grpc core.
Each CVE needs to be assessed if the patch applies also to core parts
included in each module.
Note that so far there was never a CVE specific for python module, only
for grpc:grpc and many of those needed to be fixed at leasts in grpcio:
sqlite> select vendor, product, count(*) from products where product like '%grpc%' group by vendor, product;
grpc|grpc|21
grpck|grpck|1
linuxfoundation|grpc_swift|9
microsoft|grpconv|1
opentelemetry|configgrpc|1
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.15.0:
- Performance improvements
- Mypyc accelerated Mypy Wheels for ARM Linux
- Improvements to reachability analysis and partial type handling
in loops
- Better discovery of configuration files
- Better line numbers for decorators and slice expressions
- Drop support for Python 3.8
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.29.0:
- Add trio.lowlevel.in_trio_run() and trio.lowlevel.in_trio_task()
and document the semantics (and differences) thereof. See the
documentation.
- If trio.testing.RaisesGroup does not get the expected exceptions
it now raises an AssertionError with a helpful message, instead
of letting the raised exception/group fall through. The raised
exception is available in the __context__ of the AssertionError
and can be seen in the traceback.
- Clear Trio's cache of worker threads upon os.fork.
- Stop using ctypes to mutate tracebacks for
strict_exception_groups=False's exception collapsing.
- Fixed spelling error in Windows error code enum for
ERROR_INVALID_PARAMETER.
- Publicly re-export __version__ for type checking purposes.
- The typing of trio.abc.HostnameResolver.getaddrinfo() has been
corrected to match that of the stdlib socket.getaddrinfo, which
was updated in mypy 1.15 (via a typeshed update) to include the
possibility of tuple[int, bytes] for the sockaddr field of the
result. This happens in situations where Python was compiled with
--disable-ipv6.
- Additionally, the static typing of trio.to_thread.run_sync(),
trio.from_thread.run() and trio.from_thread.run_sync() has been
improved and should reflect the underlying function being run.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.6.12:
- Fix: some aarch64 distributions were missing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.1.2:
- In wheel, distribute only the Python packages that should be
installed.
- Migrate project code base from "flat layout" to "src layout"
License-Update: Use COPYING file
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for release 0.0.3:
- Correct the programmer representation of a `ChangeLogEntry`
object.
- Refine specification of valid `ChangeLogEntry` fields.
- Use explicit default values for entry fields.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.9.0:
- Fix for CPATH/C_INCLUDE_PATH being ignored during build.
- Slightly faster reading of events in device.read() and
device.read_one().
- Fix FreeBSD support.
- Drop deprecated InputDevice.fn (use InputDevice.path instead).
- Improve type hint coverage and add a py.typed file to the sdist.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.0.0:
- Python 3.13 support
- Updates round 3
- Speed up exists_case_sensitive calls
- nit: Fix deprecation message link
- Ensure that split_on_trailing_comma works with as imports
- Black profile: enable magic comma
- Fix google style test
- Update line_length and single_line_exclusions in google profile
- Updates round 2
- Dependency updates round 1
- Run pre-commit autoupdate
- Allow --diff to be used with --jobs
- wemake has 80 chars hard limit, not 79
- Fix errors on main
- Fixed syntax error
- fix: typo
- Fix sort_reexports code mangling
- fix: correct group by package tokenization
- Fix isort-action usage documentation
- Fix CDN for Ace
- Fix help text
- docs: fix spelling mistake
License-Update: Use file LICENSE
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.4:
- Fixes "skipped files" count calculation; the previous method was
displaying an arbitrary number.
- Fixes a crash that occurred when pylint was run in a container on
a host with cgroupsv2 and restrictions on CPU usage.
- Relaxed the requirements for isort so pylint can benefit from
isort 6.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We have upgraded py3-openssl module to 24.3.0 in core, which
means this test now fails as py3-openssl has removed the APIs it uses [1]
disable until it is fixed in google-auth module
Fixes
ERROR: 'OpenSSL.crypto' has no attribute 'sign'
[1] https://github.com/googleapis/google-api-python-client/issues/2554
Signed-off-by: Khem Raj <raj.khem@gmail.com>
They call terminalreporter API from pytest which are
not working since they are not external APIs, pytest
is not at fault here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfix release containing a fix for tests failing with recent kernels.
This allows us to remove the patch we're carrying.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.2.0:
- Always preserve decimal.Decimal type in parse round trips
- Better TypeError message on invalid mapping keys
- Unify type representation in error messages
- Improve import time by removing typing import
- Improve import time by removing string import
- Improve import time by lazy importing decimal
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.21203:
- Update to pyproject.toml build system configuration
- Update doc generation to sphinx-autoapi
- Add missing rtd theme to requirements
- Add defined enum symbols in generated docstring
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4.6:
- Ensure all timers are cancelled when after staggered race
finishes
- Keep classifiers in project to avoid automatic enrichment
- Move classifiers to prevent recalculation by poetry
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.11.12:
- MultipartForm.decode() now follows RFC1341 7.2.1 with a CRLF
after the boundary
- Restored the missing total_bytes attribute to EmptyStreamReader
- Updated :py:func:~aiohttp.request to make it accept
_RequestOptions kwargs
- Improved logging of HTTP protocol errors to include the remote
address
- Added aiohttp-openmetrics to list of third-party libraries
- Added missing files to the source distribution to fix Makefile
targets
- Started building armv7l musllinux wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add simple address resolvers and examples
- Eliminate async_timeout dep on python less than 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Turn directory into string on lookup_path on commonpath comparison
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Merge template, adding ''py313'' support and replacing ''bumpversion'' with ''bump-my-version''.
''rust-backend'' still only supported up to ''py312''.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Bump codecov/codecov-action from 4 to 5 in the github-actions group
- Fix lfc class callable
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- On Windows, use virtual terminal input when available.
- Support for multiline suggestions.
- Handle InvalidStateError during termination when using
run_in_terminal/patch_stdout. This can happen in some cases during
cancellation, probably when using anyio.
- Fix cursor that remains in hidden state when the application exits. This can
happen when the application doesn't show the cursor and erase_when_done is
being used.
- Drop support for Python 3.7
- Fixes non user impacting regression on the output rendering. Don't render
cursor hide/show ANSI escape codes if not needed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Don't validate local file requirements that are not used.
- Don't set "dependencies" as empty list for uv toml if there is no dependencies in the raw toml file.
- Add a dummy project name to the script environment pyproject.toml.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Private key material is now explicitly 'unpadded' during
decryption, removing a reliance on some lax OpenSSL behavior & making us
compatible with future Cryptography releases.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Typing: Fix type annotations for class Meta options
- Remove default value for the data param of Nested._deserialize
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix issue when parsing the dynamic table with an invalid offset
- Fix endianness issue with IA64 binaries
- Fix missing original forwarded function name
- Add support for spdlog compiled with SPDLOG_WCHAR_FILENAMES
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Enhanced character conversion functions using regular expressions.
- Improved date handling in Jalali date and time classes.
- Added new test cases for edge cases and date conversions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- fixed a windows bug with the readline module
- pytest assert rewriting works now together with inline-snapshot if you use cpython>=3.11
- ... is now a special value to create snapshot values.
The value change in assert [5,4] == snapshot([5,...]) is now a create (previously it was a fix)
- fixed some issues with dataclass arguments
- fixed an issue where --inline-snapshot=review discarded the user input and never formatted
the code if you used cpython 3.13.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed indentation logic to also honor blank lines.
- Add support for rendering metadata where some fields have newlines (python/cpython#119650).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- add open() to referenceFS
- don't make async open() in async-wrapper
- fix CI following dask-expr upstream change
- cope with zarr3 "Buffer" objects in referenceFS
- use itemgetter in archiveFS
- document that newline is included in readline(s)
- format/spelling
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
d19ad6cc086684ee74db250f5fd35227c98e678a.patch
refreshed for 0.39.0
Changelog:
============
* Remove monotonic from requirements
* wsgi: Clean up some override logic
* Correct line lookup from inspect.getsourcelines()
* Drop support of Python 3.7
* Calling eventlet.sleep(0) isn't really blocking, so don't blow up
* fix the monkey patching with the asyncio hub
* introduce the unmonkeypatching feature
* Python 3.13: Use greenthread's dead state where possible
* bump github Actions
* Fix bug where asyncio hub didn't support multiple os threads
* Python 3.13 Support
* wsgi: server MUST NOT send Content-Length/Transfer-Encoding header in response with a status code of 1xx, 204 or (2xx to CONNECT request)
* wsgi: No request Content-Length nor Transfer-Encoding implies no body
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2025
Changelog:
============
- ecodes mappings that point to more than one value are now tuples
- Generate ecodes.py at build time
- Small character device verification cleanup
- Pylint fixes
- Generate typing stubs for evdev.ecodes
- Bump required python version to 3.8
- Use relative imports and sort imports
- Add pylint -E and pytest to ci
- Fix swapped delay and repeat
- Drop from __future__ import print_function
- Fix example
- Binary wheels
- Documentation fix
- OS package badges from repology.org
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2025
Changelog:
===========
- Update types in 'is_same_address' to accept 'AnyAddress', 'str', or 'bytes'.
- Add Python 3.13 support and other misc. template updates
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix PytzUsageWarning
- Fix date_parser with prefer_month_of_year wrong results
- Fix skipped day when UTC and tz are different days
- Avoid repeated loop over timezones
- Proofread README.rst
- Check for derived types for configuration
- Parse some abbreviated strings as relative dates
- Migrate from hijri-converter to hijridate
- Fixed ClusterFuzz build error by adding dateparser.data as a binary
- Fix an issue detected by OSSFuzz
- Support two-digit years in non-Gregorian calendars
- Refactored CI to run extras separately and test minimum versions of dependencies, replaced flake8 with ruff, fixed tests
- Set minimum versions for dependencies
- Limited numpy to 1.x when installing dateparser[fasttext]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed duplicated parameter tables in API documentation.
- Fixed docstring style for MkDocs API documentation so parameters are displayed properly.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2025
Changelog:
===========
- [usecase] [sqlite] Modified SQLite's dialect to render "ALTER TABLE RENAME COLUMN" when
Operations.alter_column() is used with a straight rename, supporting
SQLite's recently added column rename feature.
- [bug] [environment] Added tzdata to tz extras, which is required on some platforms such as
Windows. Pull request courtesy Danipulok.
- [bug] [autogenerate] Fixed bug where autogen render of a "variant" type would fail to catch the
variants if the leading type were a dialect-specific type, rather than a
generic type.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
LICENSE file contains 3 licenses, but recipe lists only 2.
Add the missing "Mozilla Public License Version 2.0".
License-Update: added missing license
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This also allows to remove a custom patch to maintain and corrects
license, SPDX and CVE handling.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This also allows to remove a custom patch to maintain and corrects
license, SPDX and CVE handling.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This also allows to remove a custom patch to maintain and corrects
license, SPDX and CVE handling.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
grpc recipe already uses system openssl without problem.
This also allows to remove 2 patches to maintain and corrects license,
SPDX and CVE handling.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is preparation for next commits which to use system libraries
instead of bundled third_party components.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Variable GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY was removed in v1.62.0.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ccache with OE does not work always
* Use RelWithDebInfo instead of Debug build type in cmake
Some modules are built in /tmp and if /tmp is small < 2GB
the build may run out of space especially with huge debug info files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
24.11.1 (2024-11-11)
Bugfixes
- Remove some legacy code that supported Python 2 for compatibility with the
upcoming releases of Cython 3.1.
- Also, the PeriodicMonitorThreadStartedEvent now properly implements the
IPeriodicMonitorThreadStartedEvent interface. The EventLoopBlocked event
includes the hub which was blocked, and it is notified before the report
is printed so that event listeners can modify the report. See issue #2076.
24.10.3 (2024-10-18)
Bugfixes
- Fix clearing stack frames on Python 3.13. This is invoked when you fork
after having used the thread pool. See issue #2067.
- Distribute manylinux2014 wheels for x86_64. See issue #2068.
- Stop switching to the hub in the after fork hook in a child process. This
could lead to strange behaviour, and is different than what all other
versions of Python do.
24.10.2 (2024-10-11)
Bugfixes
- Workaround a Cython bug compiling on GCC14. See issue #2049.
24.10.1 (2024-10-09)
Features
- Update the bundled c-ares to 1.33.1.
- Add support for Python 3.13.
- The functions and classes in gevent.subprocess no longer accept
stdout=STDOUT and raise a ValueError.
Several additions and changes to the queue module, including:
- Queue.shutdown is available on all versions of Python.
- LifoQueue is now a joinable queue.
- gevent.monkey changed from a module to a package. The public API remains
the same.
For this release, private APIs (undocumented, marked internal, or
beginning with an underscore) are also preserved. However, these may be
changed or removed at any time in the future. If you are using one of
these APIs and cannot replace it, please contact the gevent team.
Bugfixes
- For platforms that don’t have socketpair, upgrade our fallback code to
avoid a security issue. See issue #2048.
Deprecations and Removals
- Remove support for Python 3.8, which has reached the end of its support
lifecycle. See issue #remove_py38.
Signed-off-by: Thomas Schlien <ts@ferncast.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an
instantiated device depends on") revealed an issue in libgpiod bindings
tests where a GPIO simulator device is not disabled before removing its
configfs entries.
Add a patch (already submitted upstream) that fixes the observed ptest
failures.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The CRC32C-ADLER license is the same as the SPDX-standardized Zlib.
Use Zlib over CRC32C-ADLER and as it is the last reference, remove the
CRC32C-ADLER license.
Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Similarly to c++ protobuf, add products matching historical entries.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
utf_range is MIT licensed.
Although the LICENSE file is not distributed in python protobuf,
this can be read in c++ protobuf recipe where all files are present.
License-Update: added missing license
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.
This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for nanobind, tiny and efficient C++/Python bindings.
Changelog for version 2.4.0:
- Added a function annotation :cpp:class:`nb::call_policy\<Policy\>()
<call_policy>` which supports custom function wrapping logic,
calling Policy::precall() before the bound function and
Policy::postcall() after. This is a low-level interface intended
for advanced users. The precall and postcall hooks are able to
observe the Python objects forming the function arguments and
return value, and the precall hook can change the arguments.
- :cpp:func:`nb::make_iterator <make_iterator>` now accepts its
iterator arguments by value, rather than by forwarding reference,
in order to eliminate the hazard of storing a dangling C++
iterator reference in the returned Python iterator object.
- The std::variant type_caster now does two passes when converting
from Python. The first pass is done without implicit conversions.
This fixes an issue where std::variant<U, T> might cast a Python
object wrapping a T to a U if there is an implicit conversion
available from T to U.
- Restored support for constructing types with an overloaded
__new__ that takes no arguments, which regressed with the
constructor vector call acceleration that was added in nanobind
2.2.0.
- Bindings for augmented assignment operators (as generated, for
example, by .def(nb::self += nb::self)) now return the same
object in Python in the typical case where the C++ operator
returns a reference to *this. Previously, after a += b, a would
be replaced with a copy.
- Added an overload to :cpp:func:`nb::isinstance <isinstance>`
which tests if a Python object is an instance of a Python class.
This is in addition to the existing overload, which tests if a
Python object is an instance of a bound C++ class.
- Added support for overriding static properties, such as those
defined using def_prop_ro_static, in subclasses. Previously this
would fail with an error.
- Other minor fixes and improvements.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe to build the Python API of LIEF (Library to Instrument
Executable Formats). The purpose of this project is to provide a
cross-platform library to parse, modify and abstract ELF, PE and
MachO formats.
Changelog for LIEF release 0.16.2:
- Fix broken aarch64 Python wheel which is related to a toolchain
issue
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-lief we need python3-pydantic-native.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-lief we need python3-pydantic-native.
To build python3-pydantic-native we need python3-pydantic-core-native.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-lief we need python3-pydantic-native.
To build python3-pydantic-native we need python3-tzdata-native.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-lief we need python3-pydantic-native.
To build python3-pydantic-native we need python3-annotated-types-native.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a patch to use PYTHON_INCLUDE_DIR to find Python Interpreter
and Development.Module as suggested by Stephan Kulow:
https://github.com/scikit-build/scikit-build-core/issues/952#issuecomment-2554058930
This work was sponsored by GOVCERT.LU.
Suggested-by: Stephan Kulow <stephan.kulow@siemens.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The current version of the recipe passes the "buildpaths"
QA check, it is not needed to skip it.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
During compilation, prober.py (called from setup.py) uses "cc" to
compile some simple code, to detect if the used features are available.
However during cross-compilation we don't use "cc", but some other
compiler for cross-compiling.
Due to this, the feature detection can fail (maybe it fails always?),
as the correct C compiler for Yocto is not cc, but the content of
CC environment variable.
To solve this, instead of using cc always, take the C compiler from the CC
environment variable when it is available, and fall back to cc only
when this environment variable is not set.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO line referenced in the LIC_FILES_CHKSUM variable
is outdated, and points to a non-license related detail.
Instead use the LICENSE file to verify the license.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO line referenced in the LIC_FILES_CHKSUM variable
is outdated, and points to a non-license related detail.
Instead use LICENSE.txt to verify the license.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO line referenced in the LIC_FILES_CHKSUM variable
is outdated, and points to a non-license related detail.
Instead use LICENSE.md to verify the license.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO line referenced in the LIC_FILES_CHKSUM variable
is outdated, and points to a non-license related detail.
Instead use LICENSE.txt to verify the license.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.17.2:
- Added universal binary wheels for macOS. That is, contains both
x86_64 and arm64 architectures in the same wheel.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.26.0:
- Typing: Add type annotations and improved documentation for class
Meta <marshmallow.Schema.Meta> options.
- Typing: Improve type coverage of marshmallow.Schema.SchemaMeta.
- Typing: marshmallow.Schema.loads parameter allows bytes and
bytesarray.
- Respect data_key when schema validators raise a ValidationError
<marshmallow.exceptions.ValidationError> with a field_name
argument.
- Correctly handle multiple @post_load <marshmallow.post_load>
methods where one method appends to the data and another passes
pass_original=True.
- URL fields now properly validate file paths.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.4:
- Fix _pocketsphinx.pyx's set_alignment example
- fix: evil version pinning must die.die.die
- Fix typos discovered by codespell
- GitHub Actions: Add Python 3.13 to the testing
- Add a simple language model maker script
- Add suggested packages to README.md
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The PKG-INFO file's content can shift around, and the different
details can change position - e.g. line 6 currently points to
the "Author" field, and not to the "License" field.
Instead use the COPYING file to verify the license, which seems
to be a more stable indicator.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
3.3.3
=====
False Positives Fixed
Fix false positives for undefined-variable for classes using Python 3.12
generic type syntax.
Closes#9335
Fix a false positive for use-implicit-booleaness-not-len. No lint should be emitted for
generators (len is not defined for generators).
Refs #10100
Other Bug Fixes
Fix Unable to import 'collections.abc' (import-error) on Python 3.13.1.
Closes#10112
3.3.2
=====
False Positives Fixed
Fix a false positive for potential-index-error when an indexed iterable
contains a starred element that evaluates to more than one item.
Closes#10076
Other Bug Fixes
Fixes the issue with --source-root option not working when the source files are in a subdirectory of the source root (e.g. when using a /src layout).
Closes#10026
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use python_setuptools_build_meta and upgrade to release 3.4.2:
- Fix docstrings of dispatchable functions
- Fix draw_networkx_nodes return type
- Add disclaimer about LLM driven PRs
- Fix doc warnings from recently added docs
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.141.0:
- Speed up adding and expiring records in the DNSCache
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1:
treewide:
- make Kivy dependency optional by introducing a new "gui" package
extra feature
snagflash:
- correct file offset computations in MMC flashing procedure
snagrecover:
- add support for STMicroelectronics STM32MP25 SoCs
- add support for Xilinx ZynqMP SoCs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.37.0:
- Arr.newbyteorder deprecation in numpy>2.0
- Upgrade pyav plugin to support av v14
- Expose bacterial colony standard image
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.24.1:
- Adds ability to configure stderr output color
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.17.0:
- Fix failures and drop support for Python 3.8
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>