summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3: skip test_multiprocessing/test_active_children testTrevor Gamblin2024-08-012-0/+31
| | | | | | | | | | | This test is causing problems on the Autobuilder, so disable it for now. (From OE-Core rev: 9eafd0c56b279a7c3025b0dcd00745baead15bb6) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ac000b00ec615b3e51dda8d819015d5e7110ed88) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3: skip test_concurrent_futures/test_deadlockTrevor Gamblin2024-08-012-0/+31
| | | | | | | | | | | | These tests are causing hangs on the Autobuilder, so disable them for now. (From OE-Core rev: 141c348ce83552beae88e115d9c4db5802c6e0f4) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 291f37808f1a2b2fdc8190696867f974994457c0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3: Treat UID/GID overflow as failureKhem Raj2024-08-012-0/+41
| | | | | | | | | | | | | | | | | | | | | | | This fixes ptest failures on 32bit architectures AssertionError: Failed ptests: {'python3': ['test_extractall_none_gid', 'test_extractall_none_gname', 'test_extractall_none_mode', 'test_extractall_none_mtime', 'test_extractall_none_uid', 'test_extractall_none_uname', 'setUpClass', 'python3']} (From OE-Core rev: 371124fa4bf1a255a4fc646b028398db8c9f3681) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 43104b547cb79693c83df0882773ae8dd74b1d35) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-idna: upgrade 3.6 -> 3.7Soumya Sambu2024-08-011-2/+2
| | | | | | | | | | | | | | License-Update: Updated copyright year Changelog: ========== * Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651] (From OE-Core rev: b6f8938c8048d08e29233fa29f5104b044353cf7) Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-pyopenssl: drop python3-six from RDEPENDSGuðni Már Gilbert2024-07-091-1/+0
| | | | | | | | | | | | | Python 2.7 support was dropped in version 22.0.0 python3-six was dropped as a dependency in 22.0.0 (From OE-Core rev: d7ad0495c543ec952817860595c047e5e4263978) Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6eab37a0cdcc6071f79aa5c8198df0b2ba23dd7a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-bcrypt: drop python3-six from RDEPENDSGuðni Már Gilbert2024-07-091-1/+0
| | | | | | | | | | | | | Python 2.7 support was dropped in version 3.2.0 and python3-six dependency was subsequently dropped in version 3.2.1 (From OE-Core rev: 214d41b73d235176123fd78143747845aa9c951e) Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 50757cc95b3062f11a7455af33e7a7e74ea1d0f7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-setuptools: drop python3-2to3 from RDEPENDSGuðni Már Gilbert2024-07-091-1/+0
| | | | | | | | | | 2to3 module was dropped as a dependency in setuptools 58.0 (From OE-Core rev: 0d5cd1d867a826cf83fcaee3e8390b9defec47d1) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-requests: cleanup RDEPENDSGuðni Már Gilbert2024-07-091-4/+2
| | | | | | | | | | | | | | | | | | Drop the following dependencies from RDEPENDS: - python3-ndg-httpsclient - python3-pyasn1 - python3-pyopenssl Add a missing dependency into RDEPENDS: - python3-certifi Additional fix HOMEPAGE, the old link doesn't work (From OE-Core rev: 3d9072c346bf7bdeecd6197df8b14e39399bdabd) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3-jinja2: Upgrade 3.1.3 -> 3.1.4Richard Purdie2024-07-091-4/+4
| | | | | | | | | | | | | | | Switch to use flit core since upstream changed. They also changed the capitalisation under pypi. The license didn't change but the file was renamed, probably as it wasn't rst. (From OE-Core rev: ac35432687624ad58ff6586446e5e73710658a68) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e352680528b18c3cdae26233bef7cddc2771d42d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3: upgrade 3.12.3 -> 3.12.4Trevor Gamblin2024-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release contains numerous security updates and fixes to regressions. Changelog: https://docs.python.org/release/3.12.4/whatsnew/changelog.html#python-3-12-4-final Results of ptests in core-image-ptest-python3 (qemux86-64): == Tests result: SUCCESS == 26 tests skipped: test.test_asyncio.test_windows_events test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full test.test_gdb.test_misc test.test_gdb.test_pretty_print test_asdl_parser test_clinic test_devpoll test_idle test_ioctl test_kqueue test_launcher test_msilib test_startfile test_tcl test_tix test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi test_winconsoleio test_winreg test_wmi 9 tests skipped (resource denied): test_curses test_ossaudiodev test_smtpnet test_socketserver test_urllib2net test_urllibnet test_winsound test_xmlrpc_net test_zipfile64 454 tests OK. Total duration: 2 min 45 sec Total tests: run=41,470 skipped=1,548 Total test files: run=480/489 skipped=26 resource_denied=9 Result: SUCCESS DURATION: 165 END: /usr/lib/python3/ptest 2024-06-10T17:03 STOP: ptest-runner TOTAL: 1 FAIL: 0 (From OE-Core rev: 621b0298e1829a86002ebb57d99850907e775b43) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 012aeee398af4d4cce4012f71007cfb31266dd6c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3: skip test_concurrent_futures/test_shutdownTrevor Gamblin2024-05-092-0/+47
| | | | | | | | | | These tests are causing hangs on the Autobuilder, so disable them for now. (From OE-Core rev: e3b4a05f19e3ba8f84b5d892b787e67bef565e48) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python3: upgrade 3.12.2 -> 3.12.3Trevor Gamblin2024-04-142-57/+1
| | | | | | | | | | | | | | | | | | | Remove the following patch: 0001-gh-115133-Fix-tests-for-XMLPullParser-with-Expat-2.6.patch Which a different fix was submitted for in: c4fa79b924 [3.12] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115288) See: https://github.com/python/cpython/pull/115288 (related to CVE-2023-52425) Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-12-3-final (From OE-Core rev: 4122d8f6ecf6957de7a34fc51beffcd8e808911f) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-testtools: Fix build problems from incorrect build backendRichard Purdie2024-04-142-29/+19
| | | | | | | | | | | | | | | | | | | testtools uses the hatchling backend so: * merge the inc back into the recipe * drop setuptools * use the hatchling backend * add the needed vcs dependency * drop the now unneeded python3-pbr dependency This means the submodules are included in packaging, fixing build failures and the verison in the wheel is no longer 0.0.0 Prior to this fix, testtools in buildtools tarball was completely broken. (From OE-Core rev: fe46107e6bf4880d97f03b5e55d722d64f922889) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-websockets: Import from meta-pythonRichard Purdie2024-04-141-0/+16
| | | | | | | | | For the newer hash equivlance servers we need websockets. Import it from meta-oe so we can easily include it in buildtools tarball. (From OE-Core rev: c61ed007b9e06683065aed62af1e1ca4569b8c16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-referencing: drop ${PYTHON_PN}Justin Bronder2024-04-131-1/+1
| | | | | | | | | | python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. (From OE-Core rev: f64078dd67b2d4db26edea5992f649161e7fee2f) Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema-specifications: drop ${PYTHON_PN}Justin Bronder2024-04-131-1/+1
| | | | | | | | | | python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. (From OE-Core rev: 51c6501e7b255f3a699fea3b787abe1a5d8231dd) Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-*: don't set PYPI_ARCHIVE_NAME and S when PYPI_PACKAGE is sufficientRoss Burton2024-03-228-28/+11
| | | | | | | | | | There's no need to explicitly set PYPI_ARCHIVE_NAME and S when PYPI_PACKAGE is set correctly. (From OE-Core rev: e757a0595602dafcd95a988fb123a8fdb3d4d82b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: Sync RDEPENDS with latest versionAlejandro Hernandez Samaniego2024-03-221-7/+2
| | | | | | | | | | | | | | | bitbake python3 -c create_manifest revealed several changes that were missing. This commit contains a manual cherry-picked version of those, making sure that new RDEPENDS are reflected since the last time this was updated. In this case its taking out unnecessary dependencies to python3-profile and python3-shell. (From OE-Core rev: 692013b9aa5106561afb4c6506661bab41d88461) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: correct upstream version checkAlexander Kanavin2024-03-201-1/+0
| | | | | | | | | | This only needs removal of the custom setting (which no longer produces a webpage suitable for parsing the version out), as the default SRC_URI is 'tarballs in versioned directoroies' setup, which the version checker is able to handle. (From OE-Core rev: d9fa89180fe497ce67493b8dec8452d87c05ccba) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wcwidth: upgrade 0.2.12 -> 0.2.13Alexander Kanavin2024-03-071-2/+4
| | | | | | | (From OE-Core rev: 800f18b387463a96f3e0642a06f7c4ff5fe85da9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 69.0.3 -> 69.1.1Alexander Kanavin2024-03-073-6/+4
| | | | | | | (From OE-Core rev: a953d88346d4ee93b5669c079586ae27d71552dc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.6Alexander Kanavin2024-03-071-2/+2
| | | | | | | | | License-Update: copyright years (From OE-Core rev: bc997c790cd2ccdfce8bf21021be6abe008ba46b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema: upgrade 4.17.3 -> 4.21.1 and add new dependenciesAlexander Kanavin2024-03-075-1/+132
| | | | | | | (From OE-Core rev: 61401c6c82b4e717fcec3810dd9ee5ee61292696) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2023.7 -> 2024.2Alexander Kanavin2024-03-071-2/+2
| | | | | | | (From OE-Core rev: 612be0f227d1d016ea05c78facae2fe0d08e8081) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-build: upgrade 1.0.3 -> 1.1.1Alexander Kanavin2024-03-071-1/+1
| | | | | | | (From OE-Core rev: 8b4703d0a1866053979dd1500a7d6d8d3d6b853a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinxcontrib-jquery: add a recipe and make python3-sphinx-rtd-theme ↵Alexander Kanavin2024-03-072-0/+13
| | | | | | | | | | | | | | | depend on it It's a hard dependency of recent python3-sphinx-rtd-theme versions: https://github.com/readthedocs/sphinx_rtd_theme/commit/4d6de11137333ede9842d535aa08b753dcb7f1b0 The issue is exposed by latest btrfs-tools update. (From OE-Core rev: 7a3d074f2d1679b4d4e52c4a023edb46224ca0be) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography_42.0.5.bb: delete redundant ptest packagingRobert P. J. Day2024-03-051-3/+0
| | | | | | | | | | Since FILES:${PN}-ptest is already defined to include the contents of ${PTEST_PATH}, adding such an entry to the package is superfluous. (From OE-Core rev: 61949efcdb496b27d03f89ccde3d16c8cf4a56d5) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.98.12 -> 6.98.15Tim Orling2024-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-15 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-14 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-13 6.98.15 - 2024-02-29 * This release adds support for the Array API’s 2023.12 release via the api_version argument in make_strategies_namespace(). The API additions and modifications in the 2023.12 spec do not necessitate any changes in the Hypothesis strategies, hence there is no distinction between a 2022.12 and 2023.12 strategies namespace. 6.98.14 - 2024-02-29 * This patch adjusts the printing of bundle values to correspond with their names when using stateful testing. 6.98.13 - 2024-02-27 * This patch implements filter-rewriting for text() and binary() with the search(), match(), or fullmatch() method of a re.compile()d regex. (From OE-Core rev: 18ac6584ed92c0ff037076c9977b68dae5fddb44) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: disable Hypothesis deadlineTim Orling2024-03-012-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | The deadline is by default 200ms, but this is intended to be useful to the developer and not necessarily recommended for heavily loaded CI systems. Avoid warnings by disabling the deadline completely. https://github.com/HypothesisWorks/hypothesis/issues/3713 https://hypothesis.readthedocs.io/en/latest/settings.html#hypothesis.settings.deadline https://lists.openembedded.org/g/openembedded-core/topic/104640034#196437 https://github.com/python-attrs/attrs/pull/1252 Fixes: """ Unreliable test timings! On an initial run, this test took 268.29ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 2.63 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None. """ [YOCTO #15350] (From OE-Core rev: f6064e573b68104d57565c57bfe43f0d708a14f6) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-yamllint: upgrade 1.33.0 -> 1.35.1Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ============ -Restore ignoration of files passed as command-line arguments -Fix failure on broken symlinks that should be ignored -Docs: Restore official Read the Docs theme -Config: validate ignore-from-file inside rules -Rule quoted-strings: fix only-when-needed in flow maps and sequences -Rule key-duplicates: add forbid-duplicated-merge-keys option -Rule quoted-strings: add check-keys option -Docs: add GitLab CI example -Rule truthy: adapt forbidden values based on YAML version (From OE-Core rev: dc3f5c4e04c3eafd23a3188deaf6fb170d2969c5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-urllib3: upgrade 2.1.0 -> 2.2.1Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== -Fixed issue where "InsecureRequestWarning" was emitted for HTTPS connections when using Emscripten. -Fixed "HTTPConnectionPool.urlopen" to stop automatically casting non-proxy headers to "HTTPHeaderDict". -Changed "InvalidChunkLength" to "ProtocolError" when response terminates before the chunk length is sent. -Changed "ProtocolError" to be more verbose on incomplete reads with excess content. -Added support for 'Emscripten and Pyodide -Added support for "HTTPResponse.read1()" method. -Added rudimentary support for HTTP/2. -Fixed issue where requests against urls with trailing dots were failing due to SSL errors when using proxy. -Fixed "HTTPConnection.proxy_is_verified" and "HTTPSConnection.proxy_is_verified" to be always set to a boolean after connecting to a proxy. It could be "None" in some cases previously. -Fixed an issue where "headers" passed in a request with "json=" would be mutated -Fixed "HTTPSConnection.is_verified" to be set to "False" when connecting from a HTTPS proxy to an HTTP target. It was set to "True" previously. -Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS -Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled -Note for downstream distributors: To run integration tests, you now need to run the tests a second time with the "--integration" pytest flag. (From OE-Core rev: c1968ceeddbad57bc86aaa23a705093c353d3bc9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.12.1 -> 3.12.2Wang Mingyu2024-03-0110-57/+32
| | | | | | | | | | | | | | | | | | | | 0001-Avoid-shebang-overflow-on-python-config.py.patch 0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch 0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch 0001-gh-114492-Initialize-struct-termios-before-calling-t.patch 0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch 0001-skip-no_stdout_fileno-test-due-to-load-variability.patch 0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch 0020-configure.ac-setup.py-do-not-add-a-c refreshed for 3.12.2 Changelog: https://docs.python.org/3.12/whatsnew/3.12.html (From OE-Core rev: 288bdc342035f18451509b6c27e3b88b546dc984) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: upgrade 4.9.0 -> 4.10.0Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ============ -Add support for PEP 728, supporting the closed keyword argument and the special __extra_items__ key for TypedDict. -Add support for PEP 742, adding typing_extensions.TypeIs. -Drop runtime error when a read-only TypedDict item overrides a mutable one. Type checkers should still flag this as an error. -Speedup issubclass() checks against simple runtime-checkable protocols by around 6% (backporting python/cpython#112717 -Fix a regression in the implementation of protocols where typing.Protocol classes that were not marked as @runtime_checkable would be unnecessarily introspected, potentially causing exceptions to be raised if the protocol had problematic members. (From OE-Core rev: 91dd6f2878bcdbb6f9ba65927f6c6f981b0b3f1a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-trove-classifiers: upgrade 2024.1.8 -> 2024.2.23Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | | | | | Changelog: ========== *Add classifier: 'License :: OSI Approved :: Educational Community License' *PR for Issue #170 *fix spurious line *Update src/trove_classifiers/__init__.py (From OE-Core rev: 0174e7c4d1f3d3a7458d357b0d7be63b5d748572) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: upgrade 1.8.1 -> 1.9.0Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | | Changelog: -Deprecate py_limited_api option to RustExtension in favour of always using "auto" to configure this from bdist_wheel. (From OE-Core rev: 2ba36c4ebfc223111c055a6b521b7a2b9981b368) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytz: upgrade 2023.4 -> 2024.1Wang Mingyu2024-03-011-1/+1
| | | | | | | (From OE-Core rev: 17b6104583bb6122ca051dcc004120c24b5579cf) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 8.0.0 -> 8.0.2Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ -Fix collection on Windows where initial paths contain the short version of a path (for example c:\PROGRA~1\tests). -Fix an IndexError crash raising from getstatementrange_ast. -Reverted a fix to --maxfail handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached. -Correctly handle errors from getpass.getuser() in Python 3.13. -Fix an edge case where ExceptionInfo._stringify_exception could crash pytest.raises(). -Fix regression with pytest.warns() using custom warning subclasses which have more than one parameter in their __init__. -Fix a regression in pytest 8.0.0 whereby calling pytest.skip() and similar control-flow exceptions within a pytest.warns() block would get suppressed instead of propagating. -Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module. -Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances. (From OE-Core rev: 0a6824bc920bebfa019641f8134cb287c8564bef) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: upgrade 1.25.1 -> 1.26.0Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | | | | | | | Changelog: ============ * Bump minimum required meson version from 0.56.0 to 0.64.0 * Various meson related cleanups * Fix header file being installed to the wrong location with meson on some systems * Adds a new "wheel" meson build option as preparation for meson-python support * Update dependencies (libpng, pixman, zlib) of the Windows wheels * Various maintenance related updates (From OE-Core rev: 1b8054fb175b46f21807c124f55d1c807e2c814f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 23.3.2 -> 24.0Wang Mingyu2024-03-012-6/+5
| | | | | | | | | | | | | | | | | | | no_shebang_mangling.patch refreshed for 24.0 Changelog: =========== -Retry on HTTP status code 502 -Automatically use the setuptools PEP 517 build backend when --config-settings is used for projects without pyproject.toml. -Make pip freeze and pip uninstall of legacy editable installs of packages whose name contains _ compatible with setuptools>=69.0.3. -Support per requirement --config-settings for editable installs. (From OE-Core rev: 73040d2ed2a440d7497b448b8e81ee19bef5858b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.97.3 -> 6.98.12Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: 755e27ebefb006e44e0f5dcce74d90d63f7e68f3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.30.2 -> 0.31.1Wang Mingyu2024-03-011-1/+1
| | | | | | | | | | | | Changelog: ========== -power_profiles_daemon: Move back to original D-Bus name to avoid breaking compatibility -Add upower_power_profiles_daemon template for version 0.20 API with new D-Bus name (From OE-Core rev: 7967c57f305e47f93ba0b27724ff3a077f1cc0c9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-certifi: upgrade 2023.11.17 -> 2024.2.2Wang Mingyu2024-03-011-1/+1
| | | | | | | (From OE-Core rev: d606655c7adef60a42ea346018d0e79c7c1832b5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-beartype: upgrade 0.17.0 -> 0.17.2Wang Mingyu2024-03-011-1/+1
| | | | | | | (From OE-Core rev: cc8cacb07d4ae03661e4a67513e17504de9ff16c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography{-vectors}: upgrade to 42.0.5Tim Orling2024-02-293-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Includes an upgrade to pyo3 from 0.20.0 to 0.20.3 which fixes ppc64 * Refresh -crates.inc https://cryptography.io/en/latest/changelog/#v42-0-5 https://cryptography.io/en/latest/changelog/#v42-0-4 https://cryptography.io/en/latest/changelog/#v42-0-3 42.0.5 - 2024-02-23 * Limit the number of name constraint checks that will be performed in X.509 path validation to protect against denial of service attacks. * Upgrade pyo3 version, which fixes building on PowerPC. 42.0.4 - 2024-02-20 * Fixed a null-pointer-dereference and segfault that could occur when creating a PKCS#12 bundle. Credit to Alexander-Programming for reporting the issue. CVE-2024-26130 * Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields SMIMECapabilities and SignatureAlgorithmIdentifier should now be correctly encoded according to the definitions in RFC 2633 RFC 3370. 42.0.3 - 2024-02-15 * Fixed an initialization issue that caused key loading failures for some users. CVE: CVE-2024-26130 https://nvd.nist.gov/vuln/detail/CVE-2024-26130 (From OE-Core rev: 83dad4a93ff81c6c1e048443e0827d825670158b) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: dont disable readline module for editlineNick Owens2024-02-291-1/+1
| | | | | | | | | | if we use editline, then the readline module must also be enabled for python to build the readline module and link it against libedit. (From OE-Core rev: e92d7dd55d16aa311a95c4e8bb4633e6ebb9900f) Signed-off-by: Nick Owens <nick.owens@eero.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-maturin: Recognise riscv32 architectureKhem Raj2024-02-292-0/+103
| | | | | | | (From OE-Core rev: 728784e4df700af86d0f848142b0085813e49090) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: Fix build break on arches without 64 bit atomicsKhem Raj2024-02-293-10/+124
| | | | | | | | | | | | bump pyo3 to 0.20.3, which brings the needed fixes for building for architectures without 64bit atomics [1] [1] https://github.com/pyca/bcrypt/pull/746 (From OE-Core rev: 33bd36308be828123a820c5eed2f1fa9e3a7c0f6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.41 -> 3.1.42Trevor Gamblin2024-02-291-1/+1
| | | | | | | | | | | | This release contains bugfixes, documentation updates, and changes to metadata for build and CI. Changelog: https://github.com/gitpython-developers/GitPython/releases/tag/3.1.42 (From OE-Core rev: b4dc9793f3196a774b19fbf4342ebcd42655d14e) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-meson-python: move from meta-pythonTim Orling2024-02-201-0/+27
| | | | | | | | | | | | | | | | | meson-python is a Python build backend built on top of the Meson build-system. It enables you to use Meson for your Python packages. https://meson-python.readthedocs.io/en/latest/ It is used as the PEP-517 build-backend for python3-numpy and python3-scipy. For other projects using the backend, see: https://meson-python.readthedocs.io/en/latest/projects-using-meson-python.html (From OE-Core rev: 57df1e3fd77a412fb7d585362a7263a4f847fe07) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-metadata: HOMEPAGE; DESCRIPTIONTim Orling2024-02-201-0/+11
| | | | | | | | | | Add HOMEPAGE and DESCRIPTION that were missing in the original recipe in meta-python (From OE-Core rev: c29a906c510627c5f4598511c34de20230bb230d) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>