Commit Graph

7741 Commits

Author SHA1 Message Date
Peter Marko
3f834832ae
python3-grpcio: use openssl instead of bundled boringssl-with-bazel
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>
2025-02-06 11:25:01 -08:00
Peter Marko
132b2f82f4
python3-grpcio: add patch to allow unbundled build
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>
2025-02-06 11:25:01 -08:00
Peter Marko
6a37afcb77
python3-grpcio: drop obsolete variable
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>
2025-02-06 11:25:01 -08:00
Khem Raj
0b44d2427b
python3-lief: Define LIEF_BUILD_DIR as B
It avoids building everything in systems /tmp dir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-05 13:56:34 -08:00
Khem Raj
21230e8d8f
python3-lief: Disable build on 32bit x86
Asserts fail, need upstream to validate the right approach to fix it [1]

[1] 3def579f75 (r152197203)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-05 13:56:33 -08:00
Khem Raj
ebcec4a3b4
python3-lief: Disable ccache
* 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>
2025-02-05 13:56:33 -08:00
Thomas Schlien
11dae0c22b
python3-gevent: upgrade 24.2.1 -> 24.11.1
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>
2025-02-04 10:14:37 -08:00
Bartosz Golaszewski
6c176d69c1
python3-gpiod: fix ptest failure
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>
2025-02-04 10:14:37 -08:00
Bastian Germann
def1bb7c1e
python3-crc32c: Declare Zlib license
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>
2025-02-03 20:16:25 -08:00
Peter Marko
ae7556a737
python3-protobuf: set CVE_PRODUCT
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>
2025-02-03 13:03:25 -08:00
Peter Marko
a60b3e2b26
python3-protobuf: add MIT to license
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>
2025-02-03 13:03:25 -08:00
Khem Raj
4797b72ba0
python3-lief: Update to tip of master branch
Fixes build issues with clang

In file included from TMPDIR/work/core2-32-yoe-linux/python3-lief/0.16.2/git/src/MachO/ChainedPointerAnalysis.cpp:19:
TMPDIR/work/core2-32-yoe-linux/python3-lief/0.16.2/git/include/LIEF/MachO/ChainedPointerAnalysis.hpp:390:17: error: static assertion failed due to requirement 'sizeof(LIEF::MachO::ChainedPointerAnalysis::union_pointer_t) == 16'
  390 |   static_assert(sizeof(union_pointer_t) == 16);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-02 12:36:29 -08:00
Richard Purdie
bd6a1bb278
recipes: Fix variable assignment whitespace
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>
2025-01-31 10:34:03 -08:00
Derek Straka
e5abb3281a
python3-asgiref: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka
0b7b1e2526
python3-appdirs: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka
dc2c314826
python3-inotify: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka
217c9d3d1d
python3-cbor2: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka
34f3776250
python3-cachetools: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka
18bd0aade7
python3-blinker: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka
00cb259fbd
python3-configobj: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka
96c9661005
python3-aspectlib: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:32 -08:00
Derek Straka
ac5c6a157c
python3-arrow: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:32 -08:00
Derek Straka
f10035ce58
python3-bleak: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:32 -08:00
Derek Straka
04bf6e86dd
python3-dasbus: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:32 -08:00
Derek Straka
82b0c7943e
python3-dominate: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:37 -08:00
Derek Straka
3ac7852b9b
python3-ecdsa: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:37 -08:00
Derek Straka
cc3942a549
python3-execnet: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka
b7e4a5c6c3
python3-fastjsonschema: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka
2944028d80
python3-flask: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka
60a06d274c
python3-flexcache: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka
c43e6a0dba
python3-flexparser: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka
8aae0a1ec5
python3-freezegun: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka
335ff5abc8
python3-geojson: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka
50c39361c8
python3-html2text: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka
e37f7788cb
python3-httptools: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka
cfaeb648d0
python3-intervals: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka
97db0edb4b
python3-ipy: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka
52650f4003
python3-iso3166: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka
b1cde973a3
python3-jdcal: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:34 -08:00
Derek Straka
23d5e7b0bb
python3-lz4: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:34 -08:00
Derek Straka
25a4213b12
python3-marshmallow: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:34 -08:00
Derek Straka
5678e949e6
python3-multidict: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:34 -08:00
Derek Straka
399675eb7b
python3-msgpack: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:34 -08:00
Derek Straka
fcd589d2e3
python3-outcome: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:34 -08:00
Derek Straka
d0570e05a8
python3-ordered-set: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:33 -08:00
Derek Straka
85b9417641
python3-netaddr: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:33 -08:00
Derek Straka
6c26365bf0
python3-inflection: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:33 -08:00
Leon Anavi
9abd95e0e4
python3-nanobind: Add recipe
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>
2025-01-29 17:43:05 -08:00
Leon Anavi
b23c36d407
python3-lief: Add recipe
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>
2025-01-29 17:43:05 -08:00
Leon Anavi
ac3524962d
python3-pydantic: Add native and nativesdk
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>
2025-01-29 17:43:05 -08:00