Commit Graph

7697 Commits

Author SHA1 Message Date
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
Leon Anavi
9e29862d46
python3-pydantic-core: Add native and nativesdk
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>
2025-01-29 17:43:04 -08:00
Leon Anavi
01ce57fe13
python3-tzdata: Add native and nativesdk
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>
2025-01-29 17:43:04 -08:00
Leon Anavi
7ff41d250e
python3-annotated-types: Add native and nativesdk
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>
2025-01-29 17:43:04 -08:00
Leon Anavi
0d3d116edb
python3-scikit-build-core: Use PYTHON_INCLUDE_DIR
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>
2025-01-29 17:43:04 -08:00
Khem Raj
3362f56e22
python3-pandas: Inherit pkgconfig class
Ensure pkg-config is found during the build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-29 17:43:04 -08:00
Gyorgy Sarvari
84ee47308b
python3-pydantic-core: remove not needed INSANE_SKIP
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>
2025-01-28 09:15:41 -08:00
Gyorgy Sarvari
a91f294b1e
python3-posix-ipc: use correct C compiler to detect system features
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>
2025-01-25 09:36:50 -08:00
Gyorgy Sarvari
1a6e5cb438
python3-robotframework-seriallibrary: correct license file and checksum
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>
2025-01-25 09:28:59 -08:00
Gyorgy Sarvari
84ea7c644e
python3-cachecontrol: correct license file and checksum
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>
2025-01-25 09:28:59 -08:00
Gyorgy Sarvari
a91d9b5d76
python3-oletools: correct license file and checksum
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>
2025-01-25 09:28:59 -08:00
Gyorgy Sarvari
f492955cf5
python3-ujson: correct license file and checksum
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>
2025-01-25 09:28:59 -08:00
Leon Anavi
0d27def79d
python3-wrapt: Upgrade 1.17.1 -> 1.17.2
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>
2025-01-25 09:28:58 -08:00
Leon Anavi
30db0fd5e9
python3-marshmallow: Upgrade 3.25.1 -> 3.26.0
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>
2025-01-25 09:28:58 -08:00
Leon Anavi
90e1801d4a
python3-pocketsphinx: Upgrade 5.0.3 -> 5.0.4
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>
2025-01-25 09:28:58 -08:00
Gyorgy Sarvari
807c590498
python3-zeroconf: correct license file and checksum
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>
2025-01-25 09:28:58 -08:00
Khem Raj
6d828d32e2
python3-pylint: Upgrade 3.3.1 -> 3.3.3
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>
2025-01-24 18:20:09 -08:00
Khem Raj
5f95310566
python3-portion: Fix test_doc.py ptest
Add README.md into ptest package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Derek Straka <derek@asterius.io>
2025-01-24 18:20:08 -08:00
Leon Anavi
276c30c8ec
python3-cachetools: Upgrade 5.5.0 -> 5.5.1
Upgrade to release 5.5.1:

- Add documentation regarding caching of exceptions.
- Officially support Python 3.13.
- Update CI environment.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:07 -08:00
Leon Anavi
79c24777c6
python3-networkx: Upgrade 3.1 -> 3.4.2
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>
2025-01-24 18:20:07 -08:00
Leon Anavi
72a35f9d4c
python3-zeroconf: Upgrade 0.140.1 -> 0.141.0
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>
2025-01-24 18:20:07 -08:00
Leon Anavi
036b9e000a
python3-snagboot: Upgrade 2.0 -> 2.1
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>
2025-01-24 18:20:07 -08:00
Leon Anavi
429b3f640f
python3-imageio: Upgrade 2.36.1 -> 2.37.0
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>
2025-01-24 18:20:07 -08:00
Leon Anavi
3a3ef736cd
python3-tox: Upgrade 4.23.2 -> 4.24.1
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>
2025-01-24 18:20:06 -08:00
Leon Anavi
71bd6f0ff6
python3-aioresponses: Upgrade 0.7.7 -> 0.7.8
Upgrade to release 0.7.8.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:06 -08:00
Leon Anavi
cd35464ac4
python3-filelock: Upgrade 3.16.1 -> 3.17.0
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>
2025-01-24 18:20:05 -08:00
Wang Mingyu
792e3ff5e6
python3-zeroconf: upgrade 0.139.0 -> 0.140.1
Changelog:
===========
- fix: wheel builds for aarch64
- fix(docs): remove repetition of words
- feat: small performance improvement to writing outgoing packets
- feat: migrate to native types

License-Update: remove Home-page from PKG-INFO

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:04 -08:00
Wang Mingyu
b9ebd1ae00
python3-web3: upgrade 7.6.1 -> 7.7.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:03 -08:00
Wang Mingyu
ae11b1c2a4
python3-virtualenv: upgrade 20.28.1 -> 20.29.1
Changelog:
==========
- Simplify Solution to --python command-line flag precedence
- Change PyInfo cache versioning mechanism

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:03 -08:00
Wang Mingyu
4ddfd47b92
python3-twitter: upgrade 4.14.0 -> 4.15.0
Changelog:
==========
- Fix error "No module named 'imghdr'" due to removed package in Python 3.13+
- Bump requests-oauthlib to allow v2
- Drop support for Python 3.7 and 3.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:03 -08:00
Wang Mingyu
217c6377b7
python3-smpplib: upgrade 2.2.3 -> 2.2.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:03 -08:00
Wang Mingyu
148bcaee05
python3-robotframework: upgrade 7.1.1 -> 7.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:03 -08:00
Wang Mingyu
e337ca80cb
python3-responses: upgrade 0.25.5 -> 0.25.6
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:03 -08:00
Wang Mingyu
531c6a1f8a
python3-jdatetime: upgrade 5.0.0 -> 5.1.0
Changelog:
===========
- fix appveyor builds by installing current project
- Move datetime-specific code from date methods into datetime class
- Add Python 3.13 support and drop Pyhton 3.8 support
- Fix compare datetime with diffrent timezones

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:02 -08:00
Wang Mingyu
0f20fb9d5d
python3-inline-snapshot: upgrade 0.19.1 -> 0.19.3
Changelog:
===========
- raise no assertion for positional arguments inside constructor methods.
- fixed a crash when you changed the snapshot to use a custom constructor
  method for dataclass/pydantic models.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:02 -08:00
Wang Mingyu
ff72958f5b
python3-hexbytes: upgrade 1.2.1 -> 1.3.0
License-Update: Copyright year updated to 2025

Changelog:
===========
- Merge template, adding py313 suppport and removing bumpversion for bump-my-version
- Bump towncrier dep from >=21,<22 to >=24,<25

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:02 -08:00
Wang Mingyu
59b0795dd1
python3-eth-abi: upgrade 5.1.0 -> 5.2.0
License-Update: Copyright year updated to 2025

Changelog:
===========
- Merge template, adding py313 support, replace bumpversion with bump-my-version, raise required hypothesis versions.
- Merge template, fixing docs CI and other various updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:02 -08:00
Wang Mingyu
c1cdf76ba9
python3-dbus-fast: upgrade 2.28.0 -> 2.30.2
Changelog:
===========
Fix
-----
Fetching release tag during build
Void validate arguments/properties name
Wheel builds on aarch64

Feature
---------
Migrate to using native arm runners for wheel builds
introspect: Implement annotations

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:02 -08:00
Wang Mingyu
a34c849cca
python3-cmd2: upgrade 2.5.8 -> 2.5.9
Changelog:
 Fixed 'index out of range' error when passing no arguments to an argparse-based command function.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:02 -08:00
Wang Mingyu
d4d2d3fb57
python3-cloudpickle: upgrade 3.1.0 -> 3.1.1
Changelog:
 Various fixes to support for Python 3.14

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:01 -08:00
Wang Mingyu
6f9c74d827
python3-cantools: upgrade 40.0.0 -> 40.1.1
Changelog:
===========
- Add option for displaying unit from dbc in the plot legend
- Fix CI
- monitor: signals filtering
- Make generated src files more Doxygen-compatible

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:01 -08:00
Derek Straka
7278443967
python3-pillow: 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-17 16:39:43 -08:00
Derek Straka
4ede2afe4e
python3-pint: 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-17 16:39:42 -08:00
Derek Straka
cebf92f51a
python3-platformdirs: 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-17 16:39:42 -08:00
Derek Straka
af7d47dd2c
python3-polyline: 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-17 16:39:42 -08:00