Commit Graph

4400 Commits

Author SHA1 Message Date
S. Lockwood-Childs
3be43040f4 gyp: fix for compatibility with Python 3.10 (part 2)
The patch for python 3.10 compatibility was missing an update to
'import' line.

Fixes the following problem encountered making use of gyp:

|   File "[...]/usr/lib/python3.10/site-packages/gyp/common.py", line 497, in <module>
|     class OrderedSet(collections.abc.MutableSet):
| AttributeError: module 'collections' has no attribute 'abc'

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-03 08:50:19 -08:00
Tim Orling
d740ecb8c4 poetry_core: add helper class
poetry.core.masonry.api is one of the common PEP-517 build backends.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-03 08:50:19 -08:00
Khem Raj
238814e5a1 python3-slip-dbus: Fix build with wheel packaging
Migrate to use setuptools instead of distutils
merge slip.dbus into slip module since we use
slip.dbus, it works fine for OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
daba6521fa python3-blivet: Adjust install location for binaries and systemd units
With wheels changes it is also getting installed under PYTHON_SITEPACKAGES_DIR
perhaps something to fix in setup.py but this fix works better from a
packager point of view.

Moves the systemd unit files and daemon into /usr/lib and /usr/libexec
dirs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Leon Anavi
b879b58b86 python3-typed-ast: Upgrade 1.4.3 -> 1.5.2
Upgrade to release 1.5.2:

- Add support for building aarch64 wheels
- Remove update process document
- Port ast27 to Python 3.11
- Define _PyUnicode_DecodeUnicodeEscape even on Python 3.6+

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Leon Anavi
9a8ecd420f python3-humanize: Upgrade 3.14.0 -> 4.0.0
Upgrade to release 4.0.0:

- Drop support for Python 3.6
- Remove deprecated VERSION, use version instead
- Remove when from naturaldelta() and allow largest timedelta
- Remove deprecated private function aliases

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Leon Anavi
e5187f9683 python3-h11: Upgrade 0.12.0 -> 0.13.0
Upgrade to release 0.13.0:

- Clarify that the Headers class is a Sequence and inherit from
  the collections Sequence abstract base class to also indicate
  this (and gain the mixin methods)
- Switch event classes to dataclasses for easier typing and
  slightly  improved performan
- Shorten traceback of protocol errors for easier readability
- Add typing including a PEP 561 marker for usage by type checkers
- Expand the allowed status codes to [0, 999] from [0, 600]

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Leon Anavi
322e04edfb python3-networkx: Upgrade 2.6.3 -> 2.7
Upgrade to release 2.7:

- Dropped support for Python 3.7
- Added the Asadpour algorithm for solving the asymmetric traveling
  salesman problem
- Removed all internal usage of the numpy.matrix class, and added a
  FutureWarning to all functions that return a numpy.matrix
  instance
- Added support for the scipy.sparse array interface
- Added generic dtype support to
  ~networkx.convert_matrix.to_numpy_array
- Added support for computing betweenness centrality on multigraphs
- Added support for directed graphs and multigraphs to
  greedy_modularity_communities

License-Update: Update year

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Leon Anavi
657ba1e540 python3-semantic-version: Upgrade 2.8.5 -> 2.9.0
Upgrade to release 2.9.0:

- Add support for Django 3.1, 3.2, 4.0
- Add support for Python 3.7 / 3.8 / 3.9 / 3.10

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
992da9e0aa python3-blivetgui: Upgrade to 2.3.0
Backport a fix to migrate to use setuptools instead of distutils
Changes in this release are [1]

[1] https://github.com/storaged-project/blivet-gui/releases/tag/2.3.0-1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
b08d16afa2 python3-aws-iot-device-sdk-python: Upgrade to 1.5.0
Use github to fetch it since its not yet available on pypi
Port to use setuptools

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
33bb504234 python3-txws: Define PIP_INSTALL_PACKAGE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
605e9d1809 python3-dbussy: Define PIP_INSTALL_PACKAGE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
039fb4f79c python3-cson: Define PIP_INSTALL_PACKAGE
Fixes build with wheel packaging

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
9c80fa20da python3-pymetno: Define PIP_INSTALL_PACKAGE
Fixes build with wheel packaging

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
66e04f5746 python3-keras-applications: Define PIP_INSTALL_PACKAGE
Fixes build with wheel packaging

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Justin Bronder
7513effd0d python3-pyscaffold: fix wheel build and license
Without python3-setuptools-scm-native, the version on the generated
wheel is 0.0.0, not ${PV} as expected which causes
pip_install_wheel_do_install to fail to find the wheel.

Consulting the LICENSE.txt distributed with the source, the template
files under pyscaffold.templates, which are installed as part of this
recipe, are licensed as BSD-0-Clause

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Justin Bronder
f7f407aa81 python3-configshell-fb: set PIP_INSTALL_PACKAGE
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Xu Huan
2ecb3388d5 python3-twine: upgrade 3.7.1 -> 3.8.0
changelog:
===============================================================================

Add --verbose logging for querying keyring credentials.
Log all upload responses with --verbose.
Show more helpful error message for invalid metadata.

-Bugfixes
Require a recent version of urllib3.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Xu Huan
b1c9ede083 python3-snappy upgrade 0.6.0 -> 0.6.1
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Xu Huan
91e1461a28 python3-pillow: upgrade 9.0.0 -> 9.0.1
changelog:

In show_file, use os.remove to remove temporary images. CVE-2022-24303
Restrict builtins within lambdas for ImageMath.eval. CVE-2022-22817

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
43e0cd7034 python3-poetry-core: Define PIP_INSTALL_PACKAGE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
046dcdaa00 python3-dateutil: Define PIP_INSTALL_PACKAGE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
85ea0d3a77 python3-setuptools-rust-native: Define PIP_INSTALL_PACKAGE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
85848a20be python3-pytest-runner: Define PIP_INSTALL_PACKAGE
Guessing code fails, so aid it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Justin Bronder
7e809b06e7 python3-lrparsing: use setuptools instead of distutils
Recipe also does not inherit pypi nor would PN be a good guess at the
name of the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Justin Bronder
689a4a54fe python3-ntplib: pull from PyPI
Switch back to pulling from PyPI which now does have appropriate release
tarballs.  This fixes building the wheel.

While touching the recipe, also add HOMEPAGE and point LIC_FILES_CHKSUM
at the LICENSE file that's now part of the release tarball.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling
c340e94cd0 python3-aiofiles: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling
c2b210d209 python3-pymisp: inherit poetry_core
* Use PEP-517 build-backend instead of setuptools3.
* Also set PIP_INSTALL_PACKAGE = "pymisp"

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling
be04fddedc python3-isort: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling
604bba13fd python3-rsa: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling
c4df283929 python3-iso8601: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling
b9943b26ad python3-pkgconfig: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Tim Orling
325166ecb2 python3-dnspython: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Tim Orling
006c409677 python3-poetry-core: add v1.0.8
A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Khem Raj
ec87ae5511 python3-blivet: Upgrade to 3.4.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Khem Raj
6f5a01762a python3-xmodem: Move docs to /usr/share/doc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Justin Bronder
ce2692fc0e python3-prctl: fix wheel build
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Also dropping '+git${SRCPV}' from PV as the SRCREV is pointing to the
1.8.1 tag.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Justin Bronder
ad10b55072 python3-gcovr: fix wheel build
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Justin Bronder
4771d7f886 python3-crcmod: use setuptools instead of distutils
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Daniel Gomez
048e1e40b2 python3-flask-versioned: Fix PYPA_WHEEL name
Add function to generate expected PYPA_WHEEL name.

Generated name:
/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/
Flask_Versioned-0.9.4.post20101221-py3-none-any.whl

Default (wrong) name:
Flask_Versioned-0.9.4-20101221-*.whl

Error:
WARNING: Requirement '/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/Flask_Versioned-0.9.4-20101221-*.whl'
looks like a filename, but the file does not exist
ERROR: Flask_Versioned-0.9.4-20101221-*.whl is not a valid wheel filename.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Samuli Piippo
87efb46649 python3-qface: add recipe
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Samuli Piippo
2d39634bd5 python3-antlr4-runtime: add recipe
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Samuli Piippo
7f9792fa10 python3-path: add recipe
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Tim Orling
df077258b6 python3-ipy: drop recipe
Does not build with bdist_wheel. If you need this package please work
with upstream to update to PEP-517 packaging.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Tim Orling
d6dcffc754 distutils*.bbclass: move from oe-core
distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023). For now, move these
classes from oe-core to allow users to migrate.

A deprecation warning has been added to each class.

Documentation is also being dropped in oe-core, but users can refer to
3.4 documentation for the legacy variables and classes.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-01 09:13:42 -08:00
Xu Huan
94b0efb42f python3-mccabe: upgrade 0.6.1 -> 0.7.0
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Xu Huan
7c10499afc python3-lz4: upgrade 3.1.10 -> 4.0.0
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Wang Mingyu
fb291a7b23 python3-sentry-sdk: upgrade 1.5.3 -> 1.5.6
Changelog:
=========
Create feature.yml
Update contribution guide
chore: add bug issue template
Added default value for auto_session_tracking
docs(readme): reordered content
fix(tests): Removed unsupported Django 1.6 from tests to avoid confusion
Group captured warnings under separate issues
build(changelogs): Use automated changelogs from Craft
fix(aiohttp): AioHttpIntegration sentry_app_handle() now ignores ConnectionResetError
meta: Remove black GH action
feat(flask): Add sentry_trace() template helper

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Wang Mingyu
1d4bc7ffab python3-socketio: upgrade 5.5.1 -> 5.5.2
Changelog:
=========
Connect with an empty auth object instead of None
Fix indentation in the "Rooms" docs example.
Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00