Commit Graph

4246 Commits

Author SHA1 Message Date
Xu Huan
d26f61f21d python3-arpeggio: upgrade 1.10.2 -> 2.0.0
changelog:
Added eval_attrs call to NoMatch exceptions (ebfd60).
Dropped support for deprecated Python versions.
The lowest supported version is 3.6.

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-28 08:35:31 -04:00
Xu Huan
bbb4260852 python3-alembic: upgrade 1.7.6 -> 1.7.7
changelog:
===============================================================================
-[bug] [operations]

Fixed issue where using Operations.create_table() in conjunction with a
CheckConstraint that referred to table-bound Column objects rather than string
expressions would be added to the parent table potentially multiple times,
resulting in an incorrect DDL sequence. Pull request courtesy Nicolas CANIART.

-[bug] [environment]

The logging.fileConfig() line in env.py templates, which is used to setup Python
logging for the migration run, is now conditional on Config.config_file_name not
being None. Otherwise, the line is skipped as there is no default logging
configuration present.

-[bug] [mssql]

Fixed bug where an Operations.alter_column() operation would change a “NOT NULL”
column to “NULL” by emitting an ALTER COLUMN statement that did not specify
“NOT NULL”. (In the absence of “NOT NULL” T-SQL was implicitly assuming “NULL”).
An Operations.alter_column() operation that specifies
Operations.alter_column.type should also specify include either
Operations.alter_column.nullable or Operations.alter_column.existing_nullable to
inform Alembic as to whether the emitted DDL should include “NULL” or “NOT NULL”;
a warning is now emitted if this is missing under this scenario.

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-28 08:35:31 -04:00
Trevor Gamblin
890249c29a python3-prettytable: add python3-pytest-lazy-fixture to ptest RDEPENDS
Now that the recipe for python3-pytest-lazy-fixture exists, add it to
RDEPENDS to fix the broken python3-prettytable ptests.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Trevor Gamblin
716ff86b3f python3-pytest-lazy-fixture: add recipe
This is a minor extension of pytest that is used by some ptests, such as
python3-prettytable. There is a set of ptests included (run-ptest script
is based on the one from python3-aspectlib).

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Scott Murray
5a91f2b8f9 python3-urllib3: Remove
This recipe has been moved to oe-core.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Scott Murray
230dcc9829 python3-requests: Remove
This recipe has been moved to oe-core.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Scott Murray
90b54805d7 python3-pysocks: Remove
This recipe has been moved to oe-core.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Scott Murray
46928e1fc7 python3-pyopenssl: Remove
This recipe has been moved to oe-core.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Scott Murray
120bfa2aa0 python3-pyasn1: Remove
This recipe has been moved to oe-core.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Scott Murray
4fe5813434 python3-ndg-httpsclient: Remove
This recipe has been moved to oe-core.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Scott Murray
296b5ffea3 python3-certifi: Remove
This recipe has been moved to oe-core.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
Scott Murray
e863e7d232 python3-babel: Remove
This recipe has been moved to oe-core.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-23 09:46:31 -04:00
wangmy
baed0f9cd7 python3-waitress: upgrade 2.1.0 -> 2.1.1
Aadd dependency : python3-logging

Changelog:
=========
Fix for HTTP request smuggling due to incorrect validation

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-23 09:46:31 -04:00
Ross Burton
f42408bafc python3-lz4: add ptest
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-21 09:57:28 -04:00
Wang Mingyu
1adfa91ddb python3-jsonrpcserver: upgrade 5.0.6 -> 5.0.7
Changelog:
=========
Upgrade to jsonschema 4.

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-21 09:57:28 -04:00
Wang Mingyu
2b488ec612 python3-itsdangerous: upgrade 2.1.0 -> 2.1.1
Changelog:
==========
Handle date overflow in timed unsign.

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-21 09:57:28 -04:00
Ross Burton
1e48da0f1e python3-lz4: use system lz4 library
Instead of using the copy of lz4 that is embedded in the python3-lz4
source code, use the system lz4 library.

python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%)
python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])"

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-21 09:57:28 -04:00
Xu Huan
9b4c80a410 python3-sentry-sdk: upgrade 1.5.6 -> 1.5.7
changelog:

fix(serializer): Make sentry_repr dunder method to avoid mock problems

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-21 09:57:28 -04:00
Xu Huan
874cf44878 python3-sqlalchemy: upgrade 1.4.31 -> 1.4.32
changelog see https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.32

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-21 09:57:28 -04:00
Xu Huan
b073e6fe04 python3-wrapt: upgrade 1.13.3 -> 1.14.0
changelog:
===============================================================================
-Bugs Fixed

Python 3.11 dropped inspect.formatargspec() which was used in creating
signature changing decorators. Now bundling a version of this function which
uses Parameter and Signature from inspect module when available. The
replacement function is exposed as wrapt.formatargspec() if need it for
your own code.

When using a decorator on a class, isinstance() checks wouldn’t previously
work as expected and you had to manually use Type.__wrapped__ to access the
real type when doing instance checks. The __instancecheck__ hook is now
implemented such that you don’t have to use Type.__wrapped__ instead of Type
as last argument to isinstance().
Eliminated deprecation warnings related to Python module import system, which
would have turned into broken code in Python 3.12. This was used by the post
import hook mechanism.

-New Features

Binary wheels provided on PyPi for aarch64 Linux systems and macOS native
silicon where supported by Python when using pypa/cibuildwheel.

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-21 09:57:28 -04:00
Ross Burton
7f27771b28 Update for setuptools_build_meta renamed to python_setuptools_build_meta
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-19 19:00:34 -07:00
Khem Raj
ffc43211bd recipes: Adjust for renaming flit_core -> python_flit_core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-17 10:00:11 -07:00
Khem Raj
271461ace5 python3-pytest-runner: Remove
Moved to oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Khem Raj
1967a4c6e6 python3-chardet: Remove
Its moved to oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Khem Raj
e05b3cc881 python3-pyruvate: Update libc to 0.2.120
Drop upstreamed patches
Move riscv32/musl patches to meta-riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Khem Raj
25b6058ab5 python3-kiwisolver: Upgrade to 1.4.0
License-Update: There is separate License file now so use that for
checksums

use setuptools_build_meta since normal setuptools3 bbclass ends up
in errors

| distutils.errors.DistutilsError: Command '['/mnt/b/yoe/master/build/tmp/work/riscv32-yoe-linux-musl/python3-kiwisolver/1.4.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3', '-m
', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpmeo45wf4', '--quiet', 'cppy>=1.2.0']' returned non-zero exit status 1.
| ERROR: 'python3 setup.py bdist_wheel ' execution failed.

Release is here [1]

[1] https://github.com/nucleic/kiwi/releases/tag/1.4.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Wang Mingyu
93c65ca715 python3-dnspython: upgrade 2.2.0 -> 2.2.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Wang Mingyu
82330ddf02 python3-cppy: upgrade 1.1.0 -> 1.2.0
add dependence : python3-setuptools python3-distutils

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Wang Mingyu
9400c8da18 python3-bitstruct: upgrade 8.12.1 -> 8.13.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Wang Mingyu
f8a52dacc5 python3-astroid: upgrade 2.10.0 -> 2.11.0
Changelog:
=========
Add new (optional) doc_node attribute to nodes.Module, nodes.ClassDef,
and nodes.FunctionDef.

Accessing the doc attribute of nodes.Module, nodes.ClassDef, and
nodes.FunctionDef has been deprecated in favour of the doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.

Passing the doc argument to the __init__ of nodes.Module, nodes.ClassDef,
and nodes.FunctionDef has been deprecated in favour of the postinit doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.

Replace custom cachedproperty with functools.cached_property and deprecate it
for Python 3.8+.

Closes #1410

Set end_lineno and end_col_offset attributes to None for all nodes
with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead
to unexpected errors. Overwriting them with None will cause a fallback
to the already supported way of PyPy 3.7.

Add missing shape parameter to numpy zeros_like, ones_like,
and full_like methods.

Closes PyCQA/pylint#5871

Only pin wrapt on the major version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Tim Orling
888570237a python3-pytz: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
996bfa2f91 python3-pytest-subtests: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
2c1423850d python3-pretend: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
e97f8df274 python3-poetry-core: move to oe-core
The poetry_core.bbclass (renamed to python_poetry_core) has been moved
to oe-core, as has this recipe, in support of python3-cryptography.

The recipe that needed poetry-core is python3-iso8601.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
c563ea16e8 python3-ply: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
81402595ee python3-iso8601: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Khem Raj
fbd8aec8a6 python3-psutil: Remove
Moved to oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Khem Raj
f26ca7749b python3-bcrypt: Remove
Moved to oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Khem Raj
d30cd125d5 python3-pyrad: Change poetry bbclass inherit to match oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Alejandro Enedino Hernandez Samaniego
bb9d3688f1 meta-python: Clean up recipes and classes that were moved to oe-core
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro.hernandez@linux.microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Khem Raj
b9936f62ab python3-grpcio, python3-grpcio-tools: Upgrade to 1.44.0
- Fix build on ppc64le/musl
- Add patch to fix abseil on ppc64
- Changes are here [1]

[1] https://github.com/grpc/grpc/releases/tag/v1.44.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Justin Bronder
f5a978bb7e python3-pymodbus: add asyncio to package config
When using asyncio as the backend for asynchronous communication,
pymodbus depends on python3-pyserial-asyncio.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Khem Raj
f792874431 python3-poetry-core: Setting PIP_INSTALL_PACKAGE is no longer needed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Trevor Gamblin
4c1e31f906 python3-django: upgrade 4.0.1 -> 4.0.2
4.0.2 fixes CVE-2022-22818 and CVE-2022-23833. See:
https://docs.djangoproject.com/en/dev/releases/4.0.2/

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Trevor Gamblin
f15c046c74 python3-django: upgrade 3.2.11 -> 3.2.12
3.2.12 fixes CVE-2022-22818 and CVE-2022-23833. See:
https://docs.djangoproject.com/en/dev/releases/3.2.12/

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Ross Burton
168a39d2bf meta-*: remove obsolete PYPA_WHEEL and PIP_INSTALL_PACKAGE assignments
These variables are no longer used by pip_install_wheel, so remove them
from all recipes that set them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 11:20:55 -08:00
Ross Burton
ff7312f048 meta-python: migrate away from setuptool3 where possible
Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Ross Burton
935dd6efa8 python3-pylint: upgrade to 2.12.2
The test suite is no longer shipped in the sources, so remove PN-tests.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Ross Burton
ce5e0278cf python3-twisted: remove empty PN-src and PN-dbg
Nothing is packaged in these, there are no debug symbols and the sources
are packaged into the regular packages.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Ross Burton
f3bacf644e python3-pycurl: fix DEPENDS
By assigning directly to DEPENDS the dependencies in setuptools3 are
overwritten, so python3-setuptools-native is present to let the build
succeed entirely through luck.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00