diff mbox series

python3-setuptools-rust: upgrade 1.9.0 -> 1.10.1

Message ID 20240813163301.1390651-2-tim.orling@konsulko.com
State Accepted, archived
Commit 14c67686cc306a4d5796a933fcb3cd3f27f2a2c9
Headers show
Series python3-setuptools-rust: upgrade 1.9.0 -> 1.10.1 | expand

Commit Message

Tim Orling Aug. 13, 2024, 4:33 p.m. UTC
From: Tim Orling <tim.orling@konsulko.com>

* Set PYPI_PACKAGE = "setuptools_rust"
* Cleanup SRC_URI as we do not need old tarball link anymore
  and PYPI_SRCURI should be the default.

https://github.com/PyO3/setuptools-rust/compare/v1.9.0...v1.10.1

1.10.1 (2024-08-04)
  * Fixed
    - Fix regression in 1.10.0 where editable builds would be built in
	  release mode

1.10.0 (2024-08-03)
  * Packaging
    - Extend macOS build flags to iOS, tvOS and watchOS. #436
    - Support Python 3.13. #446
  * Changed
    - Add SETUPTOOLS_RUST_PEP517_USE_BASE_PYTHON environment variable to use
	  the base interpreter path when running inside a virtual environment to
	  avoid recompilation when switching between virtual environments. #429
    - Delay import of dependencies until use to avoid import errors during a
	  partially complete install when multiple packages are installing at
	  once. #437
    - Deprecate --build-temp argument to build_rust command (it does
	  nothing). #457

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 ...rust_1.9.0.bb => python3-setuptools-rust_1.10.1.bb} | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools-rust_1.9.0.bb => python3-setuptools-rust_1.10.1.bb} (65%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.10.1.bb
similarity index 65%
rename from meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
rename to meta/recipes-devtools/python/python3-setuptools-rust_1.10.1.bb
index 62ac4764038..d2881e91013 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.10.1.bb
@@ -9,17 +9,13 @@  BUGTRACKER = "https://github.com/PyO3/setuptools-rust/issues"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5"
 
-SRC_URI = "${PYPI_SRC_URI} \
-           https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz \
-           "
-SRC_URI[sha256sum] = "704df0948f2e4cc60c2596ad6e840ea679f4f43e58ed4ad0c1857807240eab96"
+SRC_URI[sha256sum] = "d79035fc54cdf9342e9edf4b009491ecab06c3a652b37c3c137c7ba85547d3e6"
+
+PYPI_PACKAGE = "setuptools_rust"
 
 inherit cargo pypi python_setuptools_build_meta
 
 DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
-# remove when https://github.com/PyO3/setuptools-rust/commit/7ced8d2a8f36e1b4fc41b5544636defb7bd44bdf
-# is included
-DEPENDS += "python3-semantic-version-native"
 
 RDEPENDS:${PN} += " \
     python3-json \