Commit Graph

2587 Commits

Author SHA1 Message Date
Wang Mingyu
11bc40bb4f python3-ruamel-yaml: upgrade 0.18.7 -> 0.18.9
License-Update: copyright updated to 2025

(From OE-Core rev: 98ed111650de52e6079251d1cb0c19dd6a506ded)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
499e32979e python3-pygments: upgrade 2.18.0 -> 2.19.0
(From OE-Core rev: f18bcd0b4024da048be6a1773608a4c2a4db4a38)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
f32712754b python3-poetry-core: upgrade 1.9.1 -> 2.0.0
Changelog:
 https://github.com/python-poetry/poetry-core/releases/tag/2.0.0

(From OE-Core rev: 5e2036babc8937253b60fa809fa8edcda26b0210)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Wang Mingyu
016eaa6001 python3-gitdb: upgrade 4.0.11 -> 4.0.12
Changelog:
===========
- Never add a vendored smmap directory to sys.path
- Revise and update the readme
- Set Dependabot submodule update cadence to weekly
- Add missing asserts in test_base.py
- Use contextlib.suppress instead of except: pass
- Add support for Python 3.13
- Potential Race Condition Fix - OS Rename & Chmod - PermissionError
- Bump gitdb/ext/smmap from 256c5a2 to 04dd210
- Bump actions/setup-python from 4 to 5

(From OE-Core rev: d899b50547e319cca8bea41301a4758e7635b6cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Richard Purdie
6c10452955 python3-rpds-py: upgrade 0.21.0 -> 0.22.3
(From OE-Core rev: 9e53f800528248aca8fe93fb9cd2b4fdd43d9014)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Derek Straka
cf6b12e5c9 python3-*: Update recipes with pytest ptests to use the new ptest-python-pytest class
The newly added ptest-python-pytest removes duplication for:
  1. Copying pytest files to the ptest directory
  2. Adding standard pytest dependencies
  3. Adding a common run-ptest script using pytest

(From OE-Core rev: 8d84d9e19b9292b1863921611924714d77c41d21)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-08 12:37:20 +00:00
Trevor Gamblin
d832ee7963 python3: upgrade 3.13.0 -> 3.13.1
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-1-final

- Patch 'fix-armv5.patch' is in 3.13.1, so no longer needed:

|tgamblin@megalith ~/workspace/git/pythonsrc/cpython ((HEAD detached from v3.13.1))$ git tag --contains 18b9079ddbc149d6b99c922630c246812e4d8ae7
|v3.13.1

- While patch 'crosspythonpath.patch' is listed as 'Inappropriate
  [OE-Core integration specific]' specific in the commit message, it is
  now breaking the build, while removing it allows python3 to build OK.
  It appears that there is a similar change in upstream 3.13.1:

  https://github.com/python/cpython/commit/909d5ac2959e

- gcc-symlinks had to be added to ptest RDEPENDS so that 'gcc' could be
  found on the path for the
  test_ctypes.test_dlerror.TestNullDlsym.test_null_dlsym test.

- Also reformat the DEPENDS and RDEPENDS lists to be alphabetical
  and one-per-line, since that's easier to read and modify.

- buildall-qemu output:

|BUILDALL-QEMU LOG FOR python3
|START TIME: 2024-12-18_20:38:01
|HOSTNAME: megalith
|HOST OS: Debian GNU/Linux 12 (bookworm)
|HOST KERNEL: 6.1.0-28-amd64
|===============
|BUILD RESULTS:
|[glibc]
|FAIL: qemuloongarch64
|PASS: qemuriscv32
|PASS: qemuarmv5
|PASS: qemuppc
|PASS: qemumips64
|PASS: qemuriscv64
|PASS: qemuarm64
|PASS: qemuarm
|PASS: qemux86-64
|PASS: qemuppc64
|PASS: qemux86
|PASS: qemumips
|[musl]
|FAIL: qemuloongarch64
|FAIL: qemuriscv32
|PASS: qemuarmv5
|PASS: qemuppc
|PASS: qemumips64
|PASS: qemuriscv64
|PASS: qemuarm64
|PASS: qemuarm
|PASS: qemux86-64
|PASS: qemuppc64
|PASS: qemux86
|PASS: qemumips
|===============
|PASSED: 21
|FAILED: 3

(From OE-Core rev: 08c44d3b140b220ead6334db26097b28612d445a)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Richard Purdie
0cc6127cad python3-attrs: upgrade 24.2.0 -> 24.3.0
(From OE-Core rev: 30a7c3c7a1e12b7fb2463e7135d97a478e763c9e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
8f9f86db7b python3-urllib3: upgrade 2.2.3 -> 2.3.0
(From OE-Core rev: a4397139fbe9313f7f80d0accc7a9e9565d07805)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
141832d8bc python3-ruamel-yaml: upgrade 0.18.6 -> 0.18.7
(From OE-Core rev: f98c9c192f62f495f07c5a5fb2fe486ca0fe0494)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
32942bba1f python3-pyparsing: upgrade 3.2.0 -> 3.2.1
(From OE-Core rev: 3238994e20864b57d302eee28c29892d71e5140f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
854815100e python3-maturin: upgrade 1.7.8 -> 1.8.1
(From OE-Core rev: 4a208683cb875cdb8907040e865e7adaae912aee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
0fe3cdf905 python3-hypothesis: upgrade 6.122.6 -> 6.123.2
(From OE-Core rev: 316ae45adbe150792a1e095bd5b0777937578e8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Richard Purdie
2f720a92cd python3-cryptography{,-vectors}: upgrade 43.0.3 -> 44.0.0
(From OE-Core rev: c3c612608d816eb6b40575a86e0907701cf525dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00
Wang Mingyu
2d73ae79a8 python3-six: upgrade 1.16.0 -> 1.17.0
License-Update: Copyright year updated to 2024.

Changelog:
===========
- Pull request #388: Remove 'URLopener' and 'FancyURLopener' classes from
  'urllib.request' when running on Python 3.14 or greater.

- Pull request #365, issue #283: 'six.moves.UserDict' now points to
  'UserDict.IterableUserDict' instead of 'UserDict.UserDict' on Python 2.

(From OE-Core rev: dd62b4f7b46bb5551e5397404356c56905dda9ce)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
d2e63af813 python3-pytest: upgrade 8.3.3 -> 8.3.4
Changelog:
 https://github.com/pytest-dev/pytest/releases/tag/8.3.4

(From OE-Core rev: d83ea2a229e407418b83b655ef333c1370182ffc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
a2bb210b83 python3-pytest-subtests: upgrade 0.13.1 -> 0.14.1
Changelog:
===========
- Fix self.instance._outcome is None
- Add support for Python 3.13.
- Dropped support for EOL Python 3.8.
- Fixed output when using TestCase.skipTest
- Fixed pytest requirement to >=7.3

(From OE-Core rev: 2e76adbe47584736a6aa639b339392a36af5e872)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
cd32d10a8b python3-pyopenssl: upgrade 24.2.1 -> 24.3.0
Changelog:
 https://github.com/pyca/pyopenssl/blob/main/CHANGELOG.rst

(From OE-Core rev: 8e4f378c6c93e6d7faede26134c7ed3f21295219)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
f1692cde71 python3-psutil: upgrade 6.1.0 -> 6.1.1
(From OE-Core rev: fd6ed0afa4073c59e70da83e5734f51bdc097897)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
62605b1259 python3-maturin: upgrade 1.7.4 -> 1.7.8
0001-build_context-improve-wheel-reproducibility-by-sorti.patch
removed since it's included in 1.7.8

Changelog:
==========
- Fix aarch64 Windows cross compilation
- [pre-commit.ci] pre-commit autoupdate
- Fix aarch64 Windows cross compilation
- fix abi3 interpreter discovery on Windows
- fix: remove extra indent in generated CI
- Upgrade cargo-xwin to unify rustls versions
- Normalize python source directory path
- Enable fat LTO for maturin release workflow
- Use different binding dirs for different uniffi modules
- Update minimal Python minor version for pyo3 0.23
- Limit minimal PyPy version based on bindings crate version
- Remove hard coded pip show in fix_direct_url
- Do not use xwin to compile on Windows when MSVC compiler can build for the target
- fix abi3 interpreter discovery on Windows
- allow -i 3.13t
- propagate abiflags to wheel name on Windows
- Add free-threaded wheel build to generate-ci by default
- Bump metadata version to 2.4 to fix license bug
- allow -i 3.13t
- propagate abiflags to wheel name on Windows
- Add free-threaded wheel build to generate-ci by default
- Auto detect Python 3.13
- feat: add skip attestation option to maturin ci github
- generate-ci: use macos-13 runner for x86_64 build job
- Improve wheel reproducibility by sorting libs
- Fix inverted workspace inclusions
- Fix broken links to PyO3 building docs
- Update goblin to 0.9
- Don't resolve python interpreter when building sdist only
- include timestamps in the suggested log format
- Add support for GNU/Hurd
- Fix __init__ exports when using multiple UniFFI bindings
- Add free-threaded Python support

(From OE-Core rev: f4accbf8704f690c5a50b05af815d61b75e8a2ce)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
6db1cd6a23 python3-mako: upgrade 1.3.6 -> 1.3.8
Changelog:
===========
- [bug] [lexer] Reverted the fix for #140 released in Mako 1.3.7 as it produced
  regressions in existing user code.
- [bug] [codegen] [lexer] During the lexical analysis phase, add an additional prefix for undeclared
  identifiers that have the same name as built-in flags, and determine the
  final filter to be used during the code generation phase based on the
  context provided by the user.
- [bug] [lexer] Support the direct passing of dictionary literals when calling functions
  and fix the errors caused by nested braces. This revises the fix that was
  released in 1.3.4 and then reverted in 1.3.5.

(From OE-Core rev: 76e1577b99b4319a9ea45fa4fb2b07d849f35f68)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
d6969fa35d python3-hypothesis: upgrade 6.119.4 -> 6.122.6
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 977b564a33fed2d47b02047ad2d6c1ce13c6d10a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:28 +00:00
Wang Mingyu
497065ad06 python3-hatchling: upgrade 1.26.3 -> 1.27.0
Changelog:
 Update the default version of core metadata to 2.4

(From OE-Core rev: 73b7dcc52ec50e6ae257e96e11d3cae93083a979)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
004e9fa46f python3-dbusmock: upgrade 0.32.2 -> 0.33.0
Changelog:
===========
- templates: Add gsd-rfkill
- Allow adding objects derived from DBusMockObject
- Drop Python <= 3.7 support

(From OE-Core rev: ac53cb49a82440de65184678ba82d00afae803d4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Wang Mingyu
cc6dc3db94 python3-certifi: upgrade 2024.8.30 -> 2024.12.14
(From OE-Core rev: bc24b0e7b647a655a0e34d446aa867e8b6a445e4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-24 13:49:27 +00:00
Alexander Kanavin
409256a2df python3-cryptography-vectors: correct upstream version check
(From OE-Core rev: 8240a1fde29f6cc9a86833d5289e9607d6421741)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:47:14 +00:00
Richard Purdie
e16e725fb5 Revert "python3-numpy: upgrade 2.1.3 -> 2.2.0"
This reverts commit ff93068be3dd1993675dd016fd6b5e98ccb262bf.

Sadly this upgrade does pass reproducible build tests:
http://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20241217-q6urkm0e/packages/diff-html/

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:53:15 +00:00
Trevor Gamblin
48b0c58b34 python3-numpy: upgrade 2.1.3 -> 2.2.0
Patch '0001-numpy-core-Define-RISCV-32-support.patch' is included in
v2.2.0, so remove it from the SRC_URI list:

|tgamblin@megalith ~/workspace/git/pythonsrc/numpy (main)$ git tag --contains 0e2b652a0eff85798584116c905a2d6ad8f25d5f
|v2.2.0

Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.0

Build log:

|BUILDALL-QEMU LOG FOR python3-numpy
|START TIME: 2024-12-13_16:55:19
|HOSTNAME: megalith
|HOST OS: Debian GNU/Linux 12 (bookworm)
|HOST KERNEL: 6.1.0-28-amd64
|===============
|BUILD RESULTS:
|[glibc]
|FAIL: qemuloongarch64
|PASS: qemuriscv32
|PASS: qemuarmv5
|PASS: qemuppc
|PASS: qemumips64
|PASS: qemuriscv64
|PASS: qemuarm64
|PASS: qemuarm
|PASS: qemux86-64
|PASS: qemuppc64
|PASS: qemux86
|PASS: qemumips
|[musl]
|FAIL: qemuloongarch64
|FAIL: qemuriscv32
|PASS: qemuarmv5
|PASS: qemuppc
|PASS: qemumips64
|PASS: qemuriscv64
|PASS: qemuarm64
|PASS: qemuarm
|PASS: qemux86-64
|PASS: qemuppc64
|PASS: qemux86
|PASS: qemumips
|===============
|PASSED: 21
|FAILED: 3

(From OE-Core rev: ff93068be3dd1993675dd016fd6b5e98ccb262bf)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Derek Straka
7dcc37c329 python3-*: Update recipes to correctly check the upstream packages
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

(From OE-Core rev: efbb98977664cd5392ec00d97d0eaf5374a32573)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00
Guðni Már Gilbert
87d7341465 python3-iniparse: remove recipe
There are no consumers of this recipe in openembedded-core or in meta-openembedded.

The last consumer was dnf:
https://git.openembedded.org/openembedded-core/commit/?id=05220b4907ab654e829d97ab68d48f76330937dd

(From OE-Core rev: 5915e70469fa53600dd8926ddafcb5459df1a32c)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-09 15:23:28 +00:00
Alexander Kanavin
75d5ff281a python3-maturin: update 1.7.1 -> 1.7.4
(From OE-Core rev: d3e61ba2a73894e72b6a85f96df92fc33e97b0bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-05 17:07:10 +00:00
Alexander Kanavin
91051f1a34 python3-markdown: update 3.6 -> 3.7
(From OE-Core rev: 68f5e7215073776ea01512fa4c41534b57840681)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-05 17:07:10 +00:00
Alexander Kanavin
fb8586d139 python3-dtc: update 1.7.0 -> 1.7.2
Remove patch, as it is a leftover from meta-virtualization times
where python3-dtc was ahead of dtc in oe-core and had to be tweaked.

(From OE-Core rev: 0706f0e3a60713bffad219c0658b15020010eb5e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-05 17:07:10 +00:00
Alexander Kanavin
8710268bc9 python3-beartype: upgrade 0.18.5 -> 0.19.0
Change backend to hatchling.

(From OE-Core rev: 95f3b7315db80731eaf8a9700d1104fe4ea4f98e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-05 17:07:10 +00:00
Ross Burton
6180bac513 python3-hatchling: upgrade 1.25.0 -> 1.26.3
1.26.3:
- Support an old import path that is still used by some consumers like
  Hatch

1.26.2:
- Back-populate string license fields (License-Expression) for core
  metadata versions prior to 2.4
- Remove the License-Expression and License-Files core metadata from
  version 2.2 that was missed in the previous minor release

1.26.1:
- Add backward compatibility for the old license-files metadata field
- Support an old import path that is still used by some consumers like
  Hatch

1.26.0:
- The license-files metadata field has been updated to the latest spec
  and is now just an array of glob patterns
- Support version 2.4 of core metadata for the wheel and sdist targets
- Add HATCH_METADATA_CLASSIFIERS_NO_VERIFY environment variable to
  disable trove classifier verification
- Add .pixi to the list of directories that cannot be traversed
- Bump the minimum supported version of packaging to 24.2
- No longer write package metadata for license expressions and files for
  versions of core metadata prior to 2.4
- Properly enable Zip64 support for the wheel target
- Properly ignore parent .gitingore files when the project root matches
  one of the patterns

(From OE-Core rev: 2c09f03e62f96016c2a3713362f83a7591bd0f9b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-03 11:21:34 +00:00
Guðni Már Gilbert
b15fc7cdf9 python3-urllib3: upgrade 2.2.2 -> 2.2.3
* The package now requires python3-hatch-vcs-native at build-time
* Updated HOMEPAGE to point to the correct Github repository. The old link re-directs to the same link.

2.2.3 (2024-09-12)
==================
Features
--------
- Added support for Python 3.13.

Bugfixes
--------
- Fixed the default encoding of chunked request bodies to be UTF-8 instead of ISO-8859-1. All other methods of supplying a request body already use UTF-8 starting in urllib3 v2.0.
- Fixed ResourceWarning on CONNECT with Python < 3.11.4 by backporting https://github.com/python/cpython/issues/103472
- Adjust tolerance for floating-point comparison on Windows to avoid flakiness in CI
- Fixed a crash where certain standard library hash functions were absent in restricted environments.
- Fixed mypy error when adding to ``HTTPConnection.default_socket_options``.

HTTP/2 (experimental)
---------------------
See details: https://github.com/urllib3/urllib3/releases/tag/2.2.3

Deprecations and Removals
-------------------------
- Note for downstream distributors: the ``_version.py`` file has been removed and is now created at build time by hatch-vcs.
- Drop support for end-of-life PyPy3.8 and PyPy3.9

(From OE-Core rev: 61331e291a2f96c7ac7efccd7d95de68432ea992)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-03 11:21:34 +00:00
Guðni Már Gilbert
9186568018 python3-poetry-core: drop python3-six from RDEPENDS
Looking at the history, python3-six was removed as a dependency
in the poetry.lock file in v1.5.2

Even before v1.5.2 and until now (v1.9.1) there is no code in
the package which imports the six module. So it can be safely
dropped from the recipe.

(From OE-Core rev: 1ed30cd9426e1f8a6caf31277f0349343a06f2d4)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-03 11:21:34 +00:00
Peter Marko
cdea0085a3 python: backport patches to support openssl 3.4.0
https://github.com/python/cpython/pull/127331
https://github.com/python/cpython/pull/127361

(From OE-Core rev: e5f3a1793e34fb4cd1e53ca60b67f9a9f084b7a6)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-29 22:13:25 +00:00
Dan McGregor
3abce65a79 python3: package tkinter's shared objects
Seems every time python is updated this gets removed. That's likely
because the tk option can't be enabled in python3-native without
creating a dependency loop.

Instead of manually editing the manifest every time, explicitly
add it in the recipe as suggested by Alexander Kanavin.

(From OE-Core rev: d2e82fc12509950ea30fa20fcbe9fc148b6cff1c)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 12:27:11 +00:00
Dan McGregor
f2f1782258 python3: do not overwrite FILES contents
Instead of relying completely on the python packaging manifest,
allow some default values. This is useful for the edge cases that
can't be found automatically by the create_manifest step.

In particular, tkinter can't be built for python3-native, so its
consistently missed in manifest updates.

(From OE-Core rev: cc5ec75b50618ce42d5b19d0aad0b44611bf8fbe)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 12:27:11 +00:00
Ross Burton
5d302b7611 python3-flit-core: upgrade 3.9.0 -> 3.10.1
Summary of changes:
- The ``--python`` option can now take the path of a virtualenv folder, as an
  alternative to a Python executable.
- The metadata in packages now has the names of optional dependency groups
  ("extras") normalised, complying with version 2.3 of the metadata standard.
- Fix potential substitution of environment variables into passwords read from
  ``.pypirc`` files.
- A warning is now shown when building packages which specify the old
  ``flit.buildapi`` backend, which should be replaced by
  ``flit_core.buildapi``. It's a good idea to always set a maximum
  version for the build requirement, to protect against changes in
  future major versions of Flit.
- Avoid using the deprecated ``datetime.utcfromtimestamp()``.
- The tests for ``flit_core`` are no longer part of the installed package,
  reducing the size of the wheels.

Remove the -tests package, as the tests are no longer installed.

(From OE-Core rev: 102e3524361d7d07f0dee09b1b12346b1184268f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00
Trevor Gamblin
0b62506411 python3-numpy: inherit pkgconfig
This was supposed to be added in oe-core commit fd656aaf7fbe
("python3-numpy: upgrade 1.26.4 -> 2.1.3"), but it somehow got missed in
the final version of that patch. Add it now to fix possible do_compile
errors on some systems, due to host paths sneaking into the meson build
options, e.g.:

| Build machine cpu family: x86_64
| Build machine cpu: x86_64
| Host machine cpu family: x86_64
| Host machine cpu: x86_64
| Target machine cpu family: x86_64
| Target machine cpu: x86_64
| Program python3 found: YES (/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot-native/usr/bin/nativepython3)
| Did not find pkg-config by name 'pkg-config'
| Found pkg-config: NO
| Run-time dependency python found: NO (tried pkgconfig, pkgconfig and sysconfig)
|
| ../numpy-2.1.3/meson.build:41:12: ERROR: Python dependency not found
|
| A full log can be found at /home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/build/meson-logs/meson-log.txt

and notably (meson-log.txt snippet):

|x86_64-poky-linux-musl-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/media/build/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot -I/media/build/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot/usr/include/python3.13 -I/usr/include/python3.13

A bug has been filed about this and the related gcc issue: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15672

With pkgconfig on the inherit line, all include directives in
meson-log.txt end up looking something like:

|-I/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot/usr/include/python3.13

(From OE-Core rev: b8503a2c5000262a400375321de75161357111fb)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00
Guðni Már Gilbert
a0ce6ada45 python3-isodate: move to meta-python
python3-rdflib was the last consumer of this recipe in oe-core.

(From OE-Core rev: 72cc499429b0869385223ba21fe03849c6145b89)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00
Guðni Már Gilbert
b0f1780cf1 python3-rdflib: drop python3-isodate from RDEPENDS
On Python 3.11+, the built-in datetime module is used instead.
This change was made in v7.1.0 release.

See PR 2929: https://github.com/RDFLib/rdflib/blob/main/CHANGELOG.md#2024-10-17-release-710

(From OE-Core rev: 70cb0adf3612fb15b6b2723c0af6ba1467d210b5)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 00:07:30 +00:00
Wang Mingyu
b248920619 python3-wheel: upgrade 0.45.0 -> 0.45.1
Changelog:
==========
Fixed pure Python wheels converted from eggs and wininst files having the ABI tag in the file name

(From OE-Core rev: 06fcf1f8ae763eee996294e8636aedbdbf388491)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:48 +00:00
Wang Mingyu
46762a6801 python3-websockets: upgrade 14.0 -> 14.1
Changelog:
============
- Supported max_queue=None in the asyncio and threading implementations for
  consistency with the legacy implementation, even though this is never a good idea.
- Added close_code and close_reason attributes in the asyncio and threading
  implementations for consistency with the legacy implementation.
- Once the connection is closed, messages previously received and buffered can
  be read in the asyncio and threading implementations, just like in the legacy implementation.

(From OE-Core rev: b36742c5153873832fbf5fb1788d5c333286a583)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:48 +00:00
Wang Mingyu
765ce5d589 python3-hypothesis: upgrade 6.118.6 -> 6.119.4
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 9147a13733ada0c84424f5e5aeee089244d56c35)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:48 +00:00
Wang Mingyu
aacfc8bf7c python3-bcrypt: upgrade 4.2.0 -> 4.2.1
(From OE-Core rev: dd2c763e7271cdc1526c657e54f4ec97aad9d621)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:48 +00:00
Alexander Kanavin
06a153e4e3 python3-zipp: upgrade 3.20.2 -> 3.21.0
(From OE-Core rev: 5543d9be61a4529da96a889e3319cbbf9cfb12ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin
fbc19d62f1 python3-xmltodict: upgrade 0.13.0 -> 0.14.2
(From OE-Core rev: d1ea614da5016501c514d1a92581659507b5370b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00