Sync from SUSE:SLFO:Main python-maturin revision a70f9565b8bc8ac339b289faddf6d0d0

This commit is contained in:
Adrian Schröter 2024-09-13 16:21:38 +02:00
parent b836501c58
commit 9c3535d8c8
7 changed files with 338 additions and 18 deletions

View File

@ -1,8 +1,8 @@
<services>
<service name="cargo_vendor" mode="disabled">
<service name="cargo_vendor" mode="manual">
<param name="srcdir">maturin</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled"></service>
<service name="cargo_audit" mode="manual"></service>
</services>

View File

@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

BIN
maturin-0.15.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
maturin-1.6.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,328 @@
-------------------------------------------------------------------
Tue Jun 4 23:02:42 UTC 2024 - Mia Herkt <mia@0x0.st>
- Update to 1.6.0
* Add pypi name validation
gh#PyO3/maturin#2007
* Add JSON schema generation
gh#PyO3/maturin#2005
* Detect compiling from Linux gnu to Linux musl as cross compiling
gh#PyO3/maturin#2010
* Upgrade uniffi to 0.27.0
gh#PyO3/maturin#2021
* Add instrumentation support for develop
gh#PyO3/maturin#2019
* Make tracing-subscriber mandatory
gh#PyO3/maturin#2022
* Import hook upgrade
gh#PyO3/maturin#2024
* Add uv as develop backend command
gh#PyO3/maturin#2015
* Also try uv in PATH in develop --uv
gh#PyO3/maturin#2026
* docs: update pyo3 to match tutorial
gh#PyO3/maturin#2029
* Add support for AIX
gh#PyO3/maturin#2030
* Remove rust-cpython from project init/new template
gh#PyO3/maturin#2034
* Only run uv tests on platforms that has wheel on PyPI or when uv bina…
gh#PyO3/maturin#2037
* Install cffi and uv on demand in test_develop
gh#PyO3/maturin#2043
* Add support for wasm32-wasip1 and wasm32-wasip2 targets
gh#PyO3/maturin#2054
* fix: windows exit code with python
gh#PyO3/maturin#2055
* Remove rust-cpython support from documentation
gh#PyO3/maturin#2057
* docs: Add bleuscore in examples
gh#PyO3/maturin#2061
* Fix new clippy warnings on Rust 1.78.0
gh#PyO3/maturin#2065
* Allows to use Maturin with ziglang 0.11 and 0.12
gh#PyO3/maturin#2067
* Show full path in missing readme error message
gh#PyO3/maturin#2074
* Update cargo mock deps
gh#PyO3/maturin#2075
* Ban std::fs trough clippy
gh#PyO3/maturin#2076
* Preserve file permission when copying
gh#PyO3/maturin#2069
* Detect target based on interpreter for pep517 build-wheel
gh#PyO3/maturin#2088
* Add a global verbose option
gh#PyO3/maturin#2080
* Use base executable when possible in PEP 517 build
gh#PyO3/maturin#2094
* Remove support for rust-cpython
gh#PyO3/maturin#2044
-------------------------------------------------------------------
Thu Mar 28 16:41:35 UTC 2024 - Mia Herkt <mia@0x0.st>
- Update to 1.5.1
* fix changelog link
gh#PyO3/maturin#1990
* in pep517 build default compatibility to off instead of always specifying
gh#PyO3/maturin#1992
* Fix typo on maturin docs
gh#PyO3/maturin#1997
* Fix upload returning malformed summary error
gh#PyO3/maturin#2002
-------------------------------------------------------------------
Sun Mar 17 18:07:58 UTC 2024 - Mia Herkt <mia@0x0.st>
- Update to 1.5.0
* tutorial: fix abi to match comment
gh#PyO3/maturin#1876
* Allow identical VIRTUAL_ENV and CONDA_PREFIX env vars
gh#PyO3/maturin#1879
* Upgrade pyo3 to 0.20
gh#PyO3/maturin#1881
* Skip directory when adding license files to wheel
gh#PyO3/maturin#1890
* Reject -i python when cross compiling
gh#PyO3/maturin#1891
* simplified clear-cache github action
gh#PyO3/maturin#1897
* Support uniffi-bindgen in cargo workspaces
gh#PyO3/maturin#1909
* Upgrade globlin to 0.8.0
gh#PyO3/maturin#1912
* Update **Note** to [!NOTE] in README
gh#PyO3/maturin#1917
* Match dependency readmes
gh#PyO3/maturin#1915
* Update some actions version in generate ci cli
gh#PyO3/maturin#1916
* Use extension name as library name, instead of hardcoded 'native.so'
gh#PyO3/maturin#1918
* Bump MSRV to 1.70
gh#PyO3/maturin#1923
* Remove setuptools-rust and milksnake mentions from readme
gh#PyO3/maturin#1926
* Upgrade uniffi to 0.26.0
gh#PyO3/maturin#1927
* Use M1 runner on GitHub Actions
gh#PyO3/maturin#1928
* Upgrade rustls to 0.22
gh#PyO3/maturin#1929
* Add extra note to "Using PyPI's trusted publishing" section.
gh#PyO3/maturin#1939
* Update pep440_rs, pep508_rs and pyproject-toml
gh#PyO3/maturin#1945
* Add support for configuring xwin using env vars
gh#PyO3/maturin#1961
* Put dynamic field under project instead of project.optional-dependencies
gh#PyO3/maturin#1963
* Revert "Auto detect Python 3.13"
gh#PyO3/maturin#1964
* Add validation for crate/package name in new/init
gh#PyO3/maturin#1943
* Update upload-artifact and download-artifact actions to v4
gh#PyO3/maturin#1967
* Add 32-bit RISC-V support
gh#PyO3/maturin#1969
* Isolated import hook changes
gh#PyO3/maturin#1958
* Fix feature = "cargo-clippy" deprecation
gh#PyO3/maturin#1970
* Adjust cbindgen Overrides for CFFI
gh#PyO3/maturin#1957
* Update to Metadata 2.3 to create reliable source dist metadata
gh#PyO3/maturin#1965
* Only set rustflags when necessary
gh#PyO3/maturin#1978
-------------------------------------------------------------------
Mon Dec 11 13:45:20 UTC 2023 - Mia Herkt <mia@0x0.st>
- Update to 1.4.0
* Fix two tiny typos in README.md!
gh#PyO3/maturin#1853
* Bump MSRV to 1.67
gh#PyO3/maturin#1847
* Tiny tweak: Use Rust markdown block
gh#PyO3/maturin#1855
* Recommend using pipx to install maturin
gh#PyO3/maturin#1859
* [pre-commit.ci] pre-commit autoupdate
gh#PyO3/maturin#1860
* Update cargo-options to 0.7.1
gh#PyO3/maturin#1862
* Add support for cross compiling with cross
gh#PyO3/maturin#1865
* Bump the crates-io group with 8 updates
gh#PyO3/maturin#1866
* [pre-commit.ci] pre-commit autoupdate
gh#PyO3/maturin#1867
* Bump openssl from 0.10.59 to 0.10.60
gh#PyO3/maturin#1868
* Bump actions/github-script from 6 to 7
gh#PyO3/maturin#1873
* Bump conda-incubator/setup-miniconda from 2 to 3
gh#PyO3/maturin#1872
* Bump mymindstorm/setup-emsdk from 12 to 13
gh#PyO3/maturin#1871
* Update rustls-pemfile to 2.0.0
gh#PyO3/maturin#1874
-------------------------------------------------------------------
Tue Nov 14 18:51:32 UTC 2023 - Mia Herkt <mia@0x0.st>
- Update to 1.3.2
* Switch to Ruff formatter
gh#PyO3/maturin#1817
* Upgrade ring to 0.17
gh#PyO3/maturin#1819
* Un-deprecate MATURIN_PEP517_ARGS env var
gh#PyO3/maturin#1820
* Add support for uniffi library mode
gh#PyO3/maturin#1729
* Fix missing member in Cargo.toml for sdist of nested workspace
layout
gh#PyO3/maturin#1828
* Metadata: escape display name in email addresses
gh#PyO3/maturin#1832
* Fix rewriting workspace Cargo.toml in sdist
gh#PyO3/maturin#1841
* Fix glob workspace members matching in sdist
gh#PyO3/maturin#1846
* Add sdist tests for well-known downstream repositories
gh#PyO3/maturin#1849
-------------------------------------------------------------------
Mon Nov 6 23:39:36 UTC 2023 - Mia Herkt <mia@0x0.st>
- Update to 1.3.1
* Use external uniffi-bindgen if no root package is configured
gh#PyO3/maturin#1797
* Add trusted publishing section to the user guide
gh#PyO3/maturin#1800
* Fix wheel filename for GraalPy
gh#PyO3/maturin#1802
* Pytest skeleton in mixed template
gh#PyO3/maturin#1807
* Keep trailing newlines from templates
gh#PyO3/maturin#1808
* Bump rustix from 0.37.23 to 0.37.25
gh#PyO3/maturin#1809
* Auto detect Python 3.13
gh#PyO3/maturin#1810
* Fix missing workspace.members in sdist
gh#PyO3/maturin#1811
* Don't set MACOSX_DEPLOYMENT_TARGET for editable builds
gh#PyO3/maturin#1815
-------------------------------------------------------------------
Mon Oct 9 18:34:41 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 1.3.0
* Refactor Cargo sdist generator to avoid rewriting local
dependencies in gh#PyO3/maturin#1741
* Added --pip-path argument to develop command in
gh#PyO3/maturin#1753
* Ignore sdist output files when building sdist in
gh#PyO3/maturin#1756
* Use python.exe by default in build command on Windows in
gh#PyO3/maturin#1757
* Don't require uniffi-bindgen to be installed for uniffi
bindings in gh#PyO3/maturin#1762
* Fix platform tag for graalpy in gh#PyO3/maturin#1773
* Always set minor version to 0 when major version >= 11 for
macOS in gh#PyO3/maturin#1778
* Warning about incorrect maturin version pyproject.toml
[build-system] requires in gh#PyO3/maturin#1793
- Release 1.2.3 - 2023-08-17
* Fix sdist build failure with workspace path dependencies by
HerringtonDarkholme in gh#PyO3/maturin#1739
- Release 1.2.2 - 2023-08-14
* Fix non interactive mode check when username/password was
supplied from cli in gh#PyO3/maturin#1737
- Release 1.2.1 - 2023-08-14
* Add non-interactive mode to upload command in
gh#PyO3/maturin#1722
* Fix link-native-libraries check for emscripten target in
gh#PyO3/maturin#1724
* Add support for ALL_PROXY to upload command in
gh#PyO3/maturin#1727
* Handle renamed Rust dependency in sdist in gh#PyO3/maturin#1728
* Fix invalid TOML when rewriting workspace inherited
dependencies in gh#PyO3/maturin#1733
- Release 1.2.0 - 2023-08-06
* Add basic support for implicit namespaces gh#PyO3/maturin#1645
* Add Linux mips64 and mips architecture support in
gh#PyO3/maturin#1712
* Add x86_64h-apple-darwin target support in gh#PyO3/maturin#1717
-------------------------------------------------------------------
Sun Jun 11 03:35:53 UTC 2023 - Mia Herkt <mia@0x0.st>
- Update to v1.1.0:
* Add basic support for GraalPy
gh#PyO3/maturin#1645
* Refactor abi tag to use `EXT_SUFFIX`
gh#PyO3/maturin#1648
* Add Linux loongarch64 architecture support
gh#PyO3/maturin#1653
* Add `--skip-install` option to `maturin develop`
gh#PyO3/maturin#1654
-------------------------------------------------------------------
Sat Jun 10 17:45:23 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Sun May 28 07:55:54 UTC 2023 - Mia Herkt <mia@0x0.st>
- Update to v1.0.1:
* Add Python 3.12 sysconfigs
gh#PyO3/maturin#1629
* refactor: generate well known sysconfigs in code
gh#PyO3/maturin#1633
* Upgrade dirs to 5.0
gh#PyO3/maturin#1634
* Fix panicking when no cargo build targets are selected
gh#PyO3/maturin#1635
* Upgrade platform-info to 2.0, base64 to 0.21
gh#PyO3/maturin#1631
- Changes in v1.0.0:
* Add support for multiple --config-settings in PEP517 backend
gh#PyO3/maturin#1624
* Remove deprecated --universal2 cli option
gh#PyO3/maturin#1620
-------------------------------------------------------------------
Sun May 21 12:56:57 UTC 2023 - Mia Herkt <mia@0x0.st>
- Update to v0.15.3:
* Fix cross-compile to Apple universal2 in the other platform
gh#PyO3/maturin#1613
* Remove serde(flatten) to improve error messages
gh#PyO3/maturin#1616
* Allow syn 2.0
gh#PyO3/maturin#1617
* describe the need for module-name
gh#PyO3/maturin#1604
* Add PEP 517 config_settings support
gh#PyO3/maturin#1619
* Keep file mode on Unix
gh#PyO3/maturin#1622
- Changes in v0.15.2:
* Remove bors
gh#PyO3/maturin#1602
* When determining the python module name, use pyproject.toml
project.name over Cargo.toml package.name.
gh#PyO3/maturin#1608
* Warn on missing python-source contents
gh#PyO3/maturin#1607
* Fix rewriting dev-dependencies in sdist
gh#PyO3/maturin#1610
-------------------------------------------------------------------
Mon May 8 08:24:57 UTC 2023 - Mia Herkt <mia@0x0.st>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-maturin
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,15 +16,15 @@
#
%{?sle15_python_module_pythons}
Name: python-maturin
Version: 0.15.1
Version: 1.6.0
Release: 0
Summary: Rust/Python Interoperability
License: Apache-2.0 OR MIT
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}
@ -51,8 +51,6 @@ setuptools-rust milksnake. It supports building wheels for Python
%prep
%autosetup -a1 -p1 -n maturin-%{version}
mkdir .cargo
cp %{SOURCE2} .cargo/config
sed -i '1{/env python/d}' maturin/__init__.py
sed -i 's/--locked/--offline/' setup.py
@ -64,6 +62,8 @@ sed -i 's/--locked/--offline/' setup.py
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_clone -a %{buildroot}%{_bindir}/maturin
%check
%post
%python_install_alternative maturin

BIN
vendor.tar.xz (Stored with Git LFS)

Binary file not shown.