]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3-flit-core: upgrade 3.9.0 -> 3.10.1
authorRoss Burton <ross.burton@arm.com>
Wed, 27 Nov 2024 14:50:00 +0000 (14:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Nov 2024 00:07:28 +0000 (00:07 +0000)
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-flit-core_3.10.1.bb [moved from meta/recipes-devtools/python/python3-flit-core_3.9.0.bb with 82% similarity]

similarity index 82%
rename from meta/recipes-devtools/python/python3-flit-core_3.9.0.bb
rename to meta/recipes-devtools/python/python3-flit-core_3.10.1.bb
index b0bef4b6b69cc6ab3b6a1225e847c0d6a8dd9d1c..55f200a3ad7234d257ff4fec233d7e5aa67183be 100644 (file)
@@ -8,7 +8,7 @@ BUGTRACKER = "https://github.com/pypa/flit/issues"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08"
 
-SRC_URI[sha256sum] = "d75edf5eb324da20d53570a6a6f87f51e606eee8384925cd66a90611140844c7"
+SRC_URI[sha256sum] = "9c6258ae76d218ce60f9e39a43ca42006a3abcc5c44ea6bb2a1daa13857a8f1a"
 
 inherit pypi python_flit_core
 
@@ -28,10 +28,4 @@ do_install:class-native () {
     python_pep517_do_bootstrap_install
 }
 
-PACKAGES =+ "${PN}-tests"
-
-FILES:${PN}-tests += "\
-    ${PYTHON_SITEPACKAGES_DIR}/flit_core/tests/* \
-"
-
 BBCLASSEXTEND = "native nativesdk"