From 1f9a903f66f9bc5005416e17a5c0828df3713e62 Mon Sep 17 00:00:00 2001 From: mia <> Date: Mon, 8 Aug 2022 06:45:00 +0000 Subject: [PATCH] Update python-maturin to version 0.13.1 / rev 14 via SR 991319 https://build.opensuse.org/request/show/991319 by user mia + dimstar_suse - Update to v0.13.1 * Add 64-bit RISC-V support gh#PyO3/maturin#1001 * Run tests on CI with cargo-nextest gh#PyO3/maturin#1004 * Add support for invoking with python3 -m maturin gh#PyO3/maturin#1008 * Consider pyproject.toml features when detecting pyo3 gh#PyO3/maturin#1014 * Respect user specified Rust target in maturin develop gh#PyO3/maturin#1016 * Use cargo rustc --crate-type cdylib on Rust nightly/dev channel gh#PyO3/maturin#1020 * Use cargo-nextest in test-alpine gh#PyO3/maturin#1021 - Update to v0.13.0 * Drop python 3.6 by @konstin in #945 * Add support for building with multiple binary targets by @messense in #948 * Add a --target option to maturin list-python command by @messense in #957 * Add support for using bundled pyth --- packages/p/python-maturin/.files | Bin 335 -> 334 bytes packages/p/python-maturin/.rev | 134 ++++++++++++++++++ packages/p/python-maturin/.servicemark | 2 +- packages/p/python-maturin/_service | 2 +- .../p/python-maturin/maturin-0.12.15.tar.gz | 1 - .../p/python-maturin/maturin-0.13.1.tar.gz | 1 + .../p/python-maturin/python-maturin.changes | 134 ++++++++++++++++++ packages/p/python-maturin/python-maturin.spec | 23 +-- packages/p/python-maturin/vendor.tar.xz | 2 +- 9 files changed, 287 insertions(+), 12 deletions(-) delete mode 120000 packages/p/python-maturin/maturin-0.12.15.tar.gz create mode 120000 packages/p/python-maturin/maturin-0.13.1.tar.gz diff --git a/packages/p/python-maturin/.files b/packages/p/python-maturin/.files index 827297ffe135774df3b74365607d4c4673882d5f..b45abcdcfffb984f5902d78de67ac78245da7096 100644 GIT binary patch literal 334 zcmZ9|!A`?4494+E2!tv)AvpI1R@qLP#!oZFj??u(JGEs3o}LVG;{N^QzkJztxNq(b zhr>hDCd=r&v14|H2Mt_2kyz;?s)5$k+vRINFZ1y|?H}tjcY03qXj{{Q_1Fg`=>xbd zE)77zN>R;XD6!htKXil+U5DMC)^7Z+XCoJ55{Q&b#9iQ7Y5BsXp^))b=8WjSnYH`Jb zIB~h6^$vY$@ckc@Ynn&hn{~n2m?2_jkqi~AwHhr(&mr?Kl@Hq{eP=TO4nV_^wqg9~dPWK)CQ(knj$HfHm}of!L8>IJ?e(T} kS++a*YD73^CoxyUl9Qle07l5{9aRj}$n#~_?KX-20*%#MM*si- diff --git a/packages/p/python-maturin/.rev b/packages/p/python-maturin/.rev index 6910e0751ea..5e9ae506e7b 100644 --- a/packages/p/python-maturin/.rev +++ b/packages/p/python-maturin/.rev @@ -312,4 +312,138 @@ 983848 + + efa7fecf557f9abadb5b5ec1a28cc805 + 0.13.1 + + dimstar_suse + - Update to v0.13.1 + * Add 64-bit RISC-V support + gh#PyO3/maturin#1001 + * Run tests on CI with cargo-nextest + gh#PyO3/maturin#1004 + * Add support for invoking with python3 -m maturin + gh#PyO3/maturin#1008 + * Consider pyproject.toml features when detecting pyo3 + gh#PyO3/maturin#1014 + * Respect user specified Rust target in maturin develop + gh#PyO3/maturin#1016 + * Use cargo rustc --crate-type cdylib on Rust nightly/dev channel + gh#PyO3/maturin#1020 + * Use cargo-nextest in test-alpine + gh#PyO3/maturin#1021 +- Update to v0.13.0 + * Drop python 3.6 by @konstin in #945 + * Add support for building with multiple binary targets by + @messense in #948 + * Add a --target option to maturin list-python command by + @messense in #957 + * Add support for using bundled python sysconfigs for PyPy when + abi3 feature is enabled by @messense in #958 + * Filter cargo targets by kind instead of crate_types by + @messense in #959 + * Don't build sdist by default in maturin build command by + @messense in #955 + * Add support for cross compiling PyPy wheels when abi3 feature + is enabled by @messense in #963 + * Update actions/checkout and actions/setup-python versions by + @messense in #965 + * Add --find-interpreter option to build and publish commands by + @messense in #964 + * Infer target triple from ARCHFLAGS for macOS by @messense in + #967 + * Add bootstrap from sdist test to CI by @messense in #968 + * Upload wheel artifacts in bootstrap test for inspection by + @messense in #971 + * Expose commonly used Cargo CLI options in maturin build command + by @messense in #972 + * Add support for wasm32-unknown-emscripten target by @messense + in #974 + * Allow overriding platform release version using env var by + @messense in #975 + * Don't warn if package not listed in cargo metadata is a + dependency of Rust std by @messense in #976 + * Fix Emscripten CI: Pyodide packages.json was moved to + repodata.json by @hoodmane in #977 + * Emscripten: Use -Z link-native-libraries=no and remove emcc + wrapper by @hoodmane in #978 + * Fix maturin develop for arm64 Python on M1 Mac when default + toolchain is x86_64 by @messense in #980 + * Improvements to Emscripten/Pyodide CI by @hoodmane in #983 + * Setup Pyodide with nox for easier local testing by @messense in + #984 + * Remove -Zbuild-std for Emscripten target by @messense in #986 + * Add --repository option to upload command by @messense in #987 + * Only lookup bundled Python sysconfig when interpreters aren't + specified as file path by @messense in #988 + * Align some maturin build options with cargo by @messense in + #991 + * Find CPython upper to 3.12 and PyPy upper to 3.10 by @messense + in #993 + * Add aliases for maturin build and develop subcommands by + @messense in #994 + * Update zbus to 1.9.3 to fix GHSA-76w9-p8mg-j927 and + GHSA-wgrg-5h56-jg27 by @messense in #996 + * Update to Rust 1.62 for Docker image by @messense in #997 + * Upgrade setuptools-rust to 1.4.0 by @messense in #998 + * Bump openssl-src from 111.21.0+1.1.1p to 111.22.0+1.1.1q by + @dependabot in #1000 + * Update user guide for the upcoming 0.13 release by @messense in + #973 +- Release 0.12.20 + * Fix incompatibility with cibuildwheel for 32-bit Windows in + #951 + * Don't require pip error messages to be utf-8 encoding in #953 + * Compare minimum python version requirement between + requires-python and bindings crate in #954 + * Set PYO3_PYTHON env var for PyPy when abi3 is enabled in #960 + * Add sysconfigs for x64 Windows PyPy in #962 + * Add support for Linux armv6l in #966 + * Fix auditwheel bundled shared libs directory name in #969 +- Release 0.12.19 + * Fix Windows Store install detection in #949 + * Filter Python interpreters by target pointer width on Windows + in #950 +- Release 0.12.18 + * Add support for building bin bindings wheels with multiple + platform tags in #928 + * Skip auditwheel for non-compliant linux environment + automatically in #931 + * Fix abi3 wheel build issue when no Python interpreters found on + host in #933 + * Add Python 3.11 sysconfigs for Linux, macOS and Windows in #934 + * Add Python 3.11 sysconfig for arm64 Windows in #936 + * Add network proxy support to upload command in #939 + * Fix python interpreter detection on arm64 Windows in #940 + * Fallback to py -X.Y when pythonX.Y cannot be found on Windows + in #943 + * Auto-detect Python Installs from Microsoft Store in #944 + * Add bindings detection to bin targets in #938 +- Release 0.12.17 + * Don't consider compile to i686 on x86_64 Windows cross + compiling in #923 + * Accept -i x.y and -i python-x.y in maturin build command in + #925 +- Release 0.12.16 + * Add Linux armv7l python sysconfig in #901 + * Add NetBSD python sysconfig in #903 + * Update 'replace_needed' to reduce total calls to 'patchelf' in + #905 + * Add wheel data support in #906 + * Allow use python interpreters from bundled sysconfig when not + cross compiling in #907 + * Use setuptools-rust for bootstrapping in #909 + * Allow setting the publish repository URL via + MATURIN_REPOSITORY_URL in #913 + * Allow stubs-only mixed project layout in #914 + * Allow setting the publish user name via MATURIN_USERNAME in + #915 + * Add Windows python sysconfig in #917 + * Add support for generate-import-lib feature of pyo3 in #918 + * Integrate cargo-xwin for cross compiling to Windows MSVC + targets in #919 +- Fix runtime requirements + + 991319 + diff --git a/packages/p/python-maturin/.servicemark b/packages/p/python-maturin/.servicemark index 5a64e2afd45..6edc4c99fac 100644 --- a/packages/p/python-maturin/.servicemark +++ b/packages/p/python-maturin/.servicemark @@ -1 +1 @@ -7f4fce984ba4ed2cef4907fe3884d2e0 +52a1ae885697a2b088b197075f0a538b diff --git a/packages/p/python-maturin/_service b/packages/p/python-maturin/_service index dc1d2753eb5..4667f6a9029 100644 --- a/packages/p/python-maturin/_service +++ b/packages/p/python-maturin/_service @@ -1,6 +1,6 @@ - maturin-0.12.15.tar.gz + maturin-0.13.1.tar.gz xz true diff --git a/packages/p/python-maturin/maturin-0.12.15.tar.gz b/packages/p/python-maturin/maturin-0.12.15.tar.gz deleted file mode 120000 index 4b7be29531b..00000000000 --- a/packages/p/python-maturin/maturin-0.12.15.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreibmuyrcvzyco25c6limoklias7wfw4h73dtdghsot4mc4u2h5wi4u \ No newline at end of file diff --git a/packages/p/python-maturin/maturin-0.13.1.tar.gz b/packages/p/python-maturin/maturin-0.13.1.tar.gz new file mode 120000 index 00000000000..9cbeb73e9df --- /dev/null +++ b/packages/p/python-maturin/maturin-0.13.1.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreifo63qa5hvuxxf5cd62aesh6nidgvfotnmzwrv5jzk2ctvelnajcu \ No newline at end of file diff --git a/packages/p/python-maturin/python-maturin.changes b/packages/p/python-maturin/python-maturin.changes index 3d4a819e31d..432701c6e9e 100644 --- a/packages/p/python-maturin/python-maturin.changes +++ b/packages/p/python-maturin/python-maturin.changes @@ -1,3 +1,137 @@ +------------------------------------------------------------------- +Wed Jul 27 01:09:20 UTC 2022 - Mia Herkt + +- Update to v0.13.1 + * Add 64-bit RISC-V support + gh#PyO3/maturin#1001 + * Run tests on CI with cargo-nextest + gh#PyO3/maturin#1004 + * Add support for invoking with python3 -m maturin + gh#PyO3/maturin#1008 + * Consider pyproject.toml features when detecting pyo3 + gh#PyO3/maturin#1014 + * Respect user specified Rust target in maturin develop + gh#PyO3/maturin#1016 + * Use cargo rustc --crate-type cdylib on Rust nightly/dev channel + gh#PyO3/maturin#1020 + * Use cargo-nextest in test-alpine + gh#PyO3/maturin#1021 + +------------------------------------------------------------------- +Mon Jul 18 21:19:11 UTC 2022 - Ben Greiner + +- Update to v0.13.0 + * Drop python 3.6 by @konstin in #945 + * Add support for building with multiple binary targets by + @messense in #948 + * Add a --target option to maturin list-python command by + @messense in #957 + * Add support for using bundled python sysconfigs for PyPy when + abi3 feature is enabled by @messense in #958 + * Filter cargo targets by kind instead of crate_types by + @messense in #959 + * Don't build sdist by default in maturin build command by + @messense in #955 + * Add support for cross compiling PyPy wheels when abi3 feature + is enabled by @messense in #963 + * Update actions/checkout and actions/setup-python versions by + @messense in #965 + * Add --find-interpreter option to build and publish commands by + @messense in #964 + * Infer target triple from ARCHFLAGS for macOS by @messense in + #967 + * Add bootstrap from sdist test to CI by @messense in #968 + * Upload wheel artifacts in bootstrap test for inspection by + @messense in #971 + * Expose commonly used Cargo CLI options in maturin build command + by @messense in #972 + * Add support for wasm32-unknown-emscripten target by @messense + in #974 + * Allow overriding platform release version using env var by + @messense in #975 + * Don't warn if package not listed in cargo metadata is a + dependency of Rust std by @messense in #976 + * Fix Emscripten CI: Pyodide packages.json was moved to + repodata.json by @hoodmane in #977 + * Emscripten: Use -Z link-native-libraries=no and remove emcc + wrapper by @hoodmane in #978 + * Fix maturin develop for arm64 Python on M1 Mac when default + toolchain is x86_64 by @messense in #980 + * Improvements to Emscripten/Pyodide CI by @hoodmane in #983 + * Setup Pyodide with nox for easier local testing by @messense in + #984 + * Remove -Zbuild-std for Emscripten target by @messense in #986 + * Add --repository option to upload command by @messense in #987 + * Only lookup bundled Python sysconfig when interpreters aren't + specified as file path by @messense in #988 + * Align some maturin build options with cargo by @messense in + #991 + * Find CPython upper to 3.12 and PyPy upper to 3.10 by @messense + in #993 + * Add aliases for maturin build and develop subcommands by + @messense in #994 + * Update zbus to 1.9.3 to fix GHSA-76w9-p8mg-j927 and + GHSA-wgrg-5h56-jg27 by @messense in #996 + * Update to Rust 1.62 for Docker image by @messense in #997 + * Upgrade setuptools-rust to 1.4.0 by @messense in #998 + * Bump openssl-src from 111.21.0+1.1.1p to 111.22.0+1.1.1q by + @dependabot in #1000 + * Update user guide for the upcoming 0.13 release by @messense in + #973 +- Release 0.12.20 + * Fix incompatibility with cibuildwheel for 32-bit Windows in + #951 + * Don't require pip error messages to be utf-8 encoding in #953 + * Compare minimum python version requirement between + requires-python and bindings crate in #954 + * Set PYO3_PYTHON env var for PyPy when abi3 is enabled in #960 + * Add sysconfigs for x64 Windows PyPy in #962 + * Add support for Linux armv6l in #966 + * Fix auditwheel bundled shared libs directory name in #969 +- Release 0.12.19 + * Fix Windows Store install detection in #949 + * Filter Python interpreters by target pointer width on Windows + in #950 +- Release 0.12.18 + * Add support for building bin bindings wheels with multiple + platform tags in #928 + * Skip auditwheel for non-compliant linux environment + automatically in #931 + * Fix abi3 wheel build issue when no Python interpreters found on + host in #933 + * Add Python 3.11 sysconfigs for Linux, macOS and Windows in #934 + * Add Python 3.11 sysconfig for arm64 Windows in #936 + * Add network proxy support to upload command in #939 + * Fix python interpreter detection on arm64 Windows in #940 + * Fallback to py -X.Y when pythonX.Y cannot be found on Windows + in #943 + * Auto-detect Python Installs from Microsoft Store in #944 + * Add bindings detection to bin targets in #938 +- Release 0.12.17 + * Don't consider compile to i686 on x86_64 Windows cross + compiling in #923 + * Accept -i x.y and -i python-x.y in maturin build command in + #925 +- Release 0.12.16 + * Add Linux armv7l python sysconfig in #901 + * Add NetBSD python sysconfig in #903 + * Update 'replace_needed' to reduce total calls to 'patchelf' in + #905 + * Add wheel data support in #906 + * Allow use python interpreters from bundled sysconfig when not + cross compiling in #907 + * Use setuptools-rust for bootstrapping in #909 + * Allow setting the publish repository URL via + MATURIN_REPOSITORY_URL in #913 + * Allow stubs-only mixed project layout in #914 + * Allow setting the publish user name via MATURIN_USERNAME in + #915 + * Add Windows python sysconfig in #917 + * Add support for generate-import-lib feature of pyo3 in #918 + * Integrate cargo-xwin for cross compiling to Windows MSVC + targets in #919 +- Fix runtime requirements + ------------------------------------------------------------------- Mon Jun 20 03:32:35 UTC 2022 - William Brown diff --git a/packages/p/python-maturin/python-maturin.spec b/packages/p/python-maturin/python-maturin.spec index d5097e348a5..153d815a2b8 100644 --- a/packages/p/python-maturin/python-maturin.spec +++ b/packages/p/python-maturin/python-maturin.spec @@ -16,10 +16,8 @@ # -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-maturin -Version: 0.12.15 +Version: 0.13.1 Release: 0 Summary: Rust/Python Interoperability License: Apache-2.0 OR MIT @@ -27,13 +25,20 @@ URL: https://github.com/PyO3/maturin Source: https://files.pythonhosted.org/packages/source/m/maturin/maturin-%{version}.tar.gz Source1: vendor.tar.xz Source2: cargo_config +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools-rust >= 1.4.0} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module tomli} +BuildRequires: %{python_module tomli >= 1.1.0 if %python-base < 3.11} +BuildRequires: %{python_module wheel >= 0.36.2} BuildRequires: cargo-packaging BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun):update-alternatives +%if 0%{?python_version_nodots} < 311 +Requires: python-tomli >= 1.1.0 +%endif %python_subpackages %description @@ -48,13 +53,14 @@ setuptools-rust milksnake. It supports building wheels for Python %autosetup -a1 -n maturin-%{version} mkdir .cargo cp %{SOURCE2} .cargo/config +sed -i '1{/env python/d}' maturin/__init__.py %build -%python_build +%pyproject_wheel %install -%python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_clone -a %{buildroot}%{_bindir}/maturin %post @@ -67,6 +73,7 @@ cp %{SOURCE2} .cargo/config %license license-apache license-mit %doc Changelog.md Readme.md %python_alternative %{_bindir}/maturin -%{python_sitelib}/* +%{python_sitearch}/maturin +%{python_sitearch}/maturin-%{version}*-info %changelog diff --git a/packages/p/python-maturin/vendor.tar.xz b/packages/p/python-maturin/vendor.tar.xz index 873e2ad5410..73cc229bbe6 120000 --- a/packages/p/python-maturin/vendor.tar.xz +++ b/packages/p/python-maturin/vendor.tar.xz @@ -1 +1 @@ -/ipfs/bafybeicle6vsn5kwgbdzcysxfg3g6dns3oxzvvr75xayf2livkygjac4hm \ No newline at end of file +/ipfs/bafybeif2afm4lcw6ujtyiz3xhwsi75gs6risgw3agf22bcolmd2yjqw5ua \ No newline at end of file