14
0

Accepting request 1225183 from home:uncomfyhalomacro:branches:devel:languages:python

- Update to version 1.10.2:
  * Fix deprecation warning from use of wheel.bdist_wheel.
  * Fix regression in 1.10.0 where editable builds would be built in release mode
  * Support Python 3.13
  * 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.
  * Delay import of dependencies until use to avoid import errors during
    a partially complete install when multiple packages are installing at
    once.
  * Deprecate --build-temp argument to build_rust command (it does nothing).

OBS-URL: https://build.opensuse.org/request/show/1225183
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-rust?expand=0&rev=27
This commit is contained in:
2024-11-20 13:34:24 +00:00
committed by Git OBS Bridge
parent e279d88e6f
commit b93ecbb99b
4 changed files with 21 additions and 6 deletions

View File

@@ -19,13 +19,13 @@
%global skip_python2 1
%{?sle15_python_module_pythons}
Name: python-setuptools-rust
Version: 1.9.0
Version: 1.10.2
Release: 0
Summary: Setuptools plugin for Rust extensions
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/PyO3/setuptools-rust
Source: https://files.pythonhosted.org/packages/source/s/setuptools-rust/setuptools-rust-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/s/setuptools_rust/setuptools_rust-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module semantic_version >= 2.8.2}
@@ -56,7 +56,7 @@ Compile and distribute Python extensions written in Rust as easily as if they
were written in C.
%prep
%setup -q -n setuptools-rust-%{version}
%setup -q -n setuptools_rust-%{version}
%build
%pyproject_wheel