Commit Graph

7126 Commits

Author SHA1 Message Date
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
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
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
Khem Raj
504f721090 python3-py-cpuinfo: Fix ptest runtime deps
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
6e882af153 python3-pyyaml-include: Add missing dependencies for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
6658d46595 python3-fsspec: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
cb1c641b0f python3-service-identity: Fix ptest rdeps
Add missing six and attrs modules to runtime deps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
aad5755611 python3-trustme: Add missing ptest rdeps on attrs and six modules
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
4971de062b python3-tzdata: Add missing attrs modules rdep for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
42e02bfb6f python3-serpent: Fix typo attr -> attrs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
fbfc860e5b
python3-parse-type: Add missing rdep on six for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:40:15 -07:00
Khem Raj
7f577da746
python3-serpent: Add missing rdeps for ptests to run
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:12:19 -07:00
Tom Geelen
d607c24e08
python3-pyjwt 2.8.0 -> 2.9.0
Updated name of PYPI_PACKAGE as it is renamed on pypi.org

Changelog: https://github.com/jpadilla/pyjwt/releases/tag/2.9.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 14:37:53 -07:00
Wang Mingyu
569c07e8a6
python3-zeroconf: upgrade 0.132.2 -> 0.134.0
Changelog:
============
- Improve performance when IP addresses change frequently
- Improve helpfulness of ServiceInfo.request assertions
- Improve performance of ip address caching
- Enable building of arm64 macOS builds
- Add classifier for python 3.13
- Python 3.13 support

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
c03e92b112
python3-yarl: upgrade 1.9.4 -> 1.10.0
Changelog:
==========
- Fixed joining a path when the existing path was empty
- Added :meth:URL.without_query_params() <yarl.URL.without_query_params> method,
  to drop some parameters from query string
- The previously protected types _SimpleQuery, _QueryVariable, and _Query are
  now available for use externally as SimpleQuery, QueryVariable, and Query
- Replaced all :class:~typing.Optional with :class:~typing.Union
- Significantly improved performance of parsing the network location
- Added internal types to the cache to prevent future refactoring errors

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
cb0f534890
python3-watchdog: upgrade 4.0.2 -> 5.0.2
Changelog:
===========
- Enable OS specific Mypy checks
- [watchmedo] Fix tricks argument type of schedule_tricks()
- [kqueue] Fix TypeError: kqueue.control() only accepts positional parameters
- Drop support for Python 3.8
- [core] Enforced usage of proper keyword-arguments
- [core] Renamed the BaseObserverSubclassCallable class to ObserverType
- [inotify] Renamed the inotify_event_struct class to InotifyEventStruct
- [inotify] Renamed the UnsupportedLibc exception to UnsupportedLibcError
- [inotify] Removed the InotifyConstants.IN_CLOSE constant
- [watchmedo] Renamed the LogLevelException exception to LogLevelError
- [watchmedo] Renamed the WatchdogShutdown exception to WatchdogShutdownError
- [windows] Renamed the FILE_NOTIFY_INFORMATION class to FileNotifyInformation
- [windows] Removed the unused WATCHDOG_TRAVERSE_MOVED_DIR_DELAY constant
- [core] Enable disallow_untyped_calls Mypy rule
- [core] Enable disallow_untyped_defs Mypy rule
- [core] Improve typing references for events
- [inotify] Add support for IN_CLOSE_NOWRITE events.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
6b9e92bb60
python3-virtualenv: upgrade 20.26.3 -> 20.26.4
Changelog:
==========
- Fix whitespace around backticks in changelog
- Test latest Python 3.13
- Fix typo in Nushell activation script
- GitHub Actions: Replace deprecated macos-12 with macos-13
- Fix #2728: Activating venv create unwanted console output
- Upgrade bundled wheels

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
64e1b89c2b
python3-validators: upgrade 0.33.0 -> 0.34.0
Changelog:
===========
- feat: cache IANA TLDs for faster lookups
- chore: update dependencies
- docs: adds configuration info

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:40 -07:00
Wang Mingyu
5c2bc78f17
python3-types-python-dateutil: upgrade 2.9.0.20240821 -> 2.9.0.20240906
Changelog:
 [python-dateutil] Add dateutil.parser.UnknownTimezoneWarning.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:40 -07:00