Commit Graph

7562 Commits

Author SHA1 Message Date
Wang Mingyu
6b29f4e7d1
python3-alembic: upgrade 1.13.2 -> 1.13.3
Changelog:
==========
- Render if_exists and if_not_exists parameters in CreateTableOp, CreateIndexOp,
  DropTableOp and DropIndexOp in an autogenerate context.
- Enhance version_locations parsing to handle paths containing newlines.
- Added support for Operations.create_table.if_not_exists and
  Operations.drop_table.if_exists, adding similar functionality to render
  IF [NOT] EXISTS for table operations in a similar way as with indexes.
- The pin for setuptools<69.3 in pyproject.toml has been removed.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 07:34:24 -07:00
Wang Mingyu
e395fd4635
python3-aiohttp: upgrade 3.10.5 -> 3.10.8
Changelog:
 Fixed cancellation leaking upwards on timeout

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 07:34:23 -07:00
Wang Mingyu
647caa2398
python3-aiohappyeyeballs: upgrade 2.4.0 -> 2.4.2
Changelog:
============
- Copy staggered from standard lib for python 3.12+
- Avoid passing loop to staggered.staggered_race

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 07:34:23 -07:00
Khem Raj
06c66fc320
python3-sqlparse: Add missing rdep on mypy module for ptests
This is needed for fixing

Failed ptests:
{'python3-sqlparse': ['tests/test_cli.py:test_encoding_stdout[encoding_gbk.sql-gbk]',
                      'tests/test_cli.py:test_encoding_output_file[encoding_gbk.sql-gbk]',
                      'tests/test_cli.py:test_encoding_stdin[encoding_gbk.sql-gbk]']}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 11:18:03 -07:00
Khem Raj
c2705fa6c9
python3-pytest-mock: Fix ptests
- Drop the patch to add additional checks to disable failing introspection
  tests, use plain asserts instead

- Switch to pypi fetcher

- Add missing rdeps needed for ptest runs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Gamblin <tgamblin@baylibre.com>
2024-09-26 11:18:03 -07:00
Khem Raj
e1d5198c4f
python3-pint: Upgrade to 0.24.3
- Switch to fetching from pypi
- Use automake format for pytests
- Fix ptests, by adding missing runtime deps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 11:18:02 -07:00
Khem Raj
ead57410e2 python3-validators: Add missing rdeps for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
fe30398f9c python3-eth-hash: Add packageconfigs and switch to pep517-backend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
956d014532 python3-gunicorn: Add missing rdeps for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
cc3c87cade python3-ujson: Add python misc modules to ptest rdeps
Its needed for

ModuleNotFoundError: No module named 'tracemalloc'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
36ec58d0a3 python3-setproctitle: Add missing rdeps for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
9c785dca9f python3-trio: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
afaee4b40c python3-python-multipart: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
212226c10b python3-outcome: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
66c95f4463 python3-a2wsgi: Fix ptest run
Add missing dependencies and ignore baize tests the module is not
available in OE ecosystem

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
930d424d63 python3-pdm-build-locked: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
2c11a99e93 python3-starlette: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
d1a2b7ec56 python3-pdm-backend: Upgrade to 2.4.1 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
8993bdb022 python3-pdm: Upgrade to 2.19.1
Add newlt added dependency on python3-pdm-build-locked-native

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
5b86e4dc51 python3-pydbus: Add missing rdep on xml module for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Khem Raj
a672d51b15 python3-typer: Disable test_rich_markup_mode tests
They fail for OE, see
2cfd641d86

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Mingli Yu
4102c9d4c0
python3-setproctitle: Add new recipe
A Python module to customize the process title.
 # ./run-ptest
PASS: tests/module_test.py:test_no_import_side_effect
PASS: tests/module_test.py:test_version
PASS: tests/module_test.py:test_c_extension_built
PASS: tests/setproctitle_test.py:test_runner
PASS: tests/setproctitle_test.py:test_init_getproctitle
PASS: tests/setproctitle_test.py:test_setproctitle
SKIP: tests/setproctitle_test.py:test_setproctitle_darwin # SKIP Mac only test
PASS: tests/setproctitle_test.py:test_prctl
PASS: tests/setproctitle_test.py:test_getproctitle
PASS: tests/setproctitle_test.py:test_kwarg
PASS: tests/setproctitle_test.py:test_environ
PASS: tests/setproctitle_test.py:test_issue_8
PASS: tests/setproctitle_test.py:test_large_cmdline
PASS: tests/setproctitle_test.py:test_weird_args
PASS: tests/setproctitle_test.py:test_weird_path
PASS: tests/setproctitle_test.py:test_embedded
PASS: tests/setproctitle_test.py:test_embedded_many_args
PASS: tests/setproctitle_test.py:test_noenv
PASS: tests/setproctitle_test.py:test_large_env
PASS: tests/setproctitle_test.py:test_clear_segfault
PASS: tests/setproctitle_test.py:test_fork_segfault
PASS: tests/setproctitle_test.py:test_thread_fork_segfault
PASS: tests/setthreadtitle_test.py:test_thread_title_unchanged
PASS: tests/setthreadtitle_test.py:test_set_thread_title
PASS: tests/setthreadtitle_test.py:test_set_threads_title
SKIP: tests/test_win32.py:test_setproctitle # SKIP Windows only test
SKIP: tests/test_win32.py:test_setthreadtitle # SKIP Windows only test
============================================================================
Testsuite summary
 # TOTAL: 27
 # PASS: 24
 # SKIP: 3
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0
 # ERROR: 0

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-24 23:26:22 -07:00
Wang Mingyu
c558b35c43
python3-yarl: upgrade 1.10.0 -> 1.11.1
Changelog:
===========
- Allowed scheme replacement for relative URLs if the scheme does not require a host
- Allowed empty host for URL schemes other than the special schemes listed in the WHATWG URL spec
- Loosened restriction on integers as query string values to allow classes that implement __int__
- Improved performance of normalizing paths

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:17 -07:00
Wang Mingyu
3cdf5b51f1
python3-xmlschema: upgrade 3.3.2 -> 3.4.1
Changelog:
===========
- Fix failing URL normalization tests
- Disable protocols checking with elementpath v4.5.0
- Extended ModelVisitor to make it usable as an helper class for generating content

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:17 -07:00
Wang Mingyu
b219a33a44
python3-virtualenv: upgrade 20.26.4 -> 20.26.5
Changelog:
 Use uv over pip

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:16 -07:00
Wang Mingyu
3f5dbcbb49
python3-robotframework: upgrade 7.0.1 -> 7.1
Changelog:
 https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-7.1.rst

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:16 -07:00
Wang Mingyu
4d3f35dd4f
python3-rich: upgrade 13.8.0 -> 13.8.1
Changelog:
===========
- Added support for Python 3.13
- Fixed infinite loop when appending Text to same instance

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:16 -07:00
Wang Mingyu
74221e5ec6
python3-regex: upgrade 2024.7.24 -> 2024.9.11
Changelog:
 Updated to Unicode 16.0.0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:16 -07:00
Wang Mingyu
377084066d
python3-pyunormalize: upgrade 15.1.0 -> 16.0.0
License-Update: Copyright year updated to 2024.

Changelog:
 Updated to Unicode 16.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:16 -07:00
Wang Mingyu
ce3ce4e0d2
python3-pyproject-api: upgrade 1.7.1 -> 1.7.2
Changelog:
 Improve the CI

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:16 -07:00
Wang Mingyu
57dcc39e92
python3-pymisp: upgrade 2.4.197 -> 2.4.198
Changelog:
============
- Bump changelog.
- Bump deps, version.
- Only include the changelog in the sdist package.
- [data] describeTypes.json updated.
- Openioc.py is not a script, but had exec bit.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:16 -07:00
Wang Mingyu
6f6f943256
python3-pyasn1-modules: upgrade 0.4.0 -> 0.4.1
Changelog:
  Added support for Python 3.13

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:15 -07:00
Wang Mingyu
f7766d6e68
python3-platformdirs: upgrade 4.3.1 -> 4.3.6
Changelog:
===========
- Fix readme download target
- Split build and publish for release
- Use upstream setup-uv with uv python
- Bump astral-sh/setup-uv from 2 to 3
- [pre-commit.ci] pre-commit autoupdate
- don't include outdated changelog in docs
- Fix multi-path returned from _path methods on MacOS
- Use uv as installer

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:15 -07:00
Wang Mingyu
0ae53f5c3e
python3-paramiko: upgrade 3.4.1 -> 3.5.0
Changelog:
 Add support for AES-GCM encryption ciphers (128 and 256 bit variants).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:15 -07:00
Wang Mingyu
71a7e7ff9d
python3-nmap: upgrade 1.6.0 -> 1.9.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:15 -07:00
Wang Mingyu
6aeed3c52c
python3-greenlet: upgrade 3.0.3 -> 3.1.0
Changelog:
==========
- Adds support for Python 3.13.
- Greatly reduce the chances for crashes during interpreter shutdown.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:15 -07:00
Wang Mingyu
110d04d061
python3-filelock: upgrade 3.16.0 -> 3.16.1
Changelog:
 CI improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:14 -07:00
Wang Mingyu
66de8fc835
python3-eventlet: upgrade 0.36.1 -> 0.37.0
Changelog:
==========
* [fix] os.read/write waits until file descriptor is ready.
* [fix] Upgrade RLocks as last thing we do
* [security] drop header keys with underscores
* [doc] Various doc updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:14 -07:00
Wang Mingyu
045934c891
python3-elementpath: upgrade 4.4.0 -> 4.5.0
Changelog:
==========
- Fix and clean node trees iteration methods
- Fix missing raw string for '[^rn]'
- Full and more specific type annotations

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:14 -07:00
alperak
582385a1e6
python3-msgpack: upgrade 1.0.8 -> 1.1.0
Full Changelog: https://github.com/msgpack/msgpack-python/compare/v1.0.8...v1.1.0

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-17 10:09:08 -07:00
Khem Raj
3fb5f62b02
python3-pytest-mock: Upgrade to 3.14.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 16:03:12 -07:00
Khem Raj
0bc332a041
python3-fastjsonschema: Add missing rdeps for ptests
Allocated 5G RAM to qemu when running the ptest to avoid OOMs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 16:02:38 -07:00
Khem Raj
dad0bbf8b1
python3-pylint: Add missing ptest rdep on python3-misc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 16:02:38 -07:00
Khem Raj
58cbef9343
python-ujson: Use python_setuptools_build_meta
Drop the patch to disable strip instead set the env variable.
set UJSON_BUILD_NO_STRIP=1 and get rid of one pending patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 16:02:34 -07:00
Khem Raj
dde0d656e1
python3-pillow: Add missing rdep on py3-compile for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 12:37:30 -07:00
Khem Raj
81e9af3ed0
python3-wrapt: Add missing rdep on misc modules for ptests
Needed for 'this', 'abc' modules

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 08:28:03 -07:00
Yoann Congal
293473d4c8
non-repro-meta-python: exclude packages that failed previously
Those are the non-reproducible packages from:
https://autobuilder.yoctoproject.org/typhoon/#/builders/155/builds/43

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-14 08:43:55 -07:00
Fathi Boudra
572e183e5f python3-django: upgrade 5.0.6 -> 5.0.9
CVE-2024-45230: Potential denial-of-service vulnerability in
django.utils.html.urlize()
urlize and urlizetrunc were subject to a potential denial-of-service attack
via very large inputs with a specific sequence of characters.

CVE-2024-45231: Potential user email enumeration via response status on
password reset
Due to unhandled email sending failures, the
django.contrib.auth.forms.PasswordResetForm class allowed remote attackers to
enumerate user emails by issuing password reset requests and observing the
outcomes.
To mitigate this risk, exceptions occurring during password reset email
sending are now handled and logged using the django.contrib.auth logger.

CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat()
The floatformat template filter is subject to significant memory consumption
when given a string representation of a number in scientific notation with
a large exponent.

CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize()
The urlize() and urlizetrunc() template filters are subject to a potential
denial-of-service attack via very large inputs with a specific sequence of
characters.

CVE-2024-41991: Potential denial-of-service vulnerability in
django.utils.html.urlize() and AdminURLFieldWidget
The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget,
are subject to a potential denial-of-service attack via certain inputs with
a very large number of Unicode characters.

CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()
QuerySet.values() and values_list() methods on models with a JSONField are
subject to SQL injection in column aliases via a crafted JSON object key as
a passed *arg.

CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()
urlize() and urlizetrunc() were subject to a potential denial-of-service
attack via certain inputs with a very large number of brackets.

CVE-2024-39329: Username enumeration through timing difference for users with
unusable passwords
The django.contrib.auth.backends.ModelBackend.authenticate() method allowed
remote attackers to enumerate users via a timing attack involving login
requests for users with unusable passwords.

CVE-2024-39330: Potential directory-traversal in
django.core.files.storage.Storage.save()
Derived classes of the django.core.files.storage.Storage base class which
override generate_filename() without replicating the file path validations
existing in the parent class, allowed for potential directory-traversal via
certain inputs when calling save().
Built-in Storage sub-classes were not affected by this vulnerability.

CVE-2024-39614: Potential denial-of-service in
django.utils.translation.get_supported_language_variant()
get_supported_language_variant() was subject to a potential denial-of-service
attack when used with very long strings containing specific characters.
To mitigate this vulnerability, the language code provided to
get_supported_language_variant() is now parsed up to a maximum length of
500 characters.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-13 11:30:12 -07:00
Fathi Boudra
78ccc36d6f python3-django: upgrade 4.2.11 -> 4.2.16
CVE-2024-45230: Potential denial-of-service vulnerability in
django.utils.html.urlize()
urlize and urlizetrunc were subject to a potential denial-of-service attack
via very large inputs with a specific sequence of characters.

CVE-2024-45231: Potential user email enumeration via response status on
password reset
Due to unhandled email sending failures, the
django.contrib.auth.forms.PasswordResetForm class allowed remote attackers to
enumerate user emails by issuing password reset requests and observing the
outcomes.
To mitigate this risk, exceptions occurring during password reset email
sending are now handled and logged using the django.contrib.auth logger.

CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat()
The floatformat template filter is subject to significant memory consumption
when given a string representation of a number in scientific notation with
a large exponent.

CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize()
The urlize() and urlizetrunc() template filters are subject to a potential
denial-of-service attack via very large inputs with a specific sequence of
characters.

CVE-2024-41991: Potential denial-of-service vulnerability in
django.utils.html.urlize() and AdminURLFieldWidget
The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget,
are subject to a potential denial-of-service attack via certain inputs with
a very large number of Unicode characters.

CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()
QuerySet.values() and values_list() methods on models with a JSONField are
subject to SQL injection in column aliases via a crafted JSON object key as
a passed *arg.

CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()
urlize() and urlizetrunc() were subject to a potential denial-of-service
attack via certain inputs with a very large number of brackets.

CVE-2024-39329: Username enumeration through timing difference for users with
unusable passwords
The django.contrib.auth.backends.ModelBackend.authenticate() method allowed
remote attackers to enumerate users via a timing attack involving login
requests for users with unusable passwords.

CVE-2024-39330: Potential directory-traversal in
django.core.files.storage.Storage.save()
Derived classes of the django.core.files.storage.Storage base class which
override generate_filename() without replicating the file path validations
existing in the parent class, allowed for potential directory-traversal via
certain inputs when calling save().
Built-in Storage sub-classes were not affected by this vulnerability.

CVE-2024-39614: Potential denial-of-service in
django.utils.translation.get_supported_language_variant()
get_supported_language_variant() was subject to a potential denial-of-service
attack when used with very long strings containing specific characters.
To mitigate this vulnerability, the language code provided to
get_supported_language_variant() is now parsed up to a maximum length of
500 characters.

Fixed a crash in Django 4.2 when validating email max line lengths with content
decoded using the surrogateescape error handling scheme (#35361)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-13 11:30:12 -07:00
Khem Raj
b64edeccfa python3-flask: Add missing ptest deps
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00