diff --git a/python-setuptools-rust.changes b/python-setuptools-rust.changes index b243755..9f22638 100644 --- a/python-setuptools-rust.changes +++ b/python-setuptools-rust.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jan 29 12:34:54 UTC 2024 - Adrian Schröter + +- update to 1.8.1: + * Remove direct imports from distutils + * Include py.typed when packaging to denote that setuptools-rust includes type hints + * Add support for pyproject.toml configuration using [tool.setuptools-rust] options + * Fix plat_name handling in the case bdist_wheel.plat_name is set via configuration file + * Drop support for Python 3.7 + * Remove direct imports from pkg_resources. + * Add support for setting a custom cargo profile with the SETUPTOOLS_RUST_CARGO_PROFILE environment variable +- drop installation of example hello-world as it needs a cargo now + ------------------------------------------------------------------- Thu May 4 19:54:42 UTC 2023 - Dirk Müller diff --git a/python-setuptools-rust.spec b/python-setuptools-rust.spec index e82375f..d9f3a71 100644 --- a/python-setuptools-rust.spec +++ b/python-setuptools-rust.spec @@ -1,7 +1,7 @@ # # spec file for package python-setuptools-rust # -# 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 @@ -19,7 +19,7 @@ %global skip_python2 1 %{?sle15_python_module_pythons} Name: python-setuptools-rust -Version: 1.6.0 +Version: 1.8.1 Release: 0 Summary: Setuptools plugin for Rust extensions License: BSD-3-Clause @@ -69,15 +69,7 @@ were written in C. %check export LANG=en_US.UTF-8 # network / crates.io access -%pytest tests/ -k "not test_get_lib_name_namespace_package" -pushd examples/hello-world -%{python_expand # See noxfile.py -# hello-world is the only example which does not need extra rust packages (via cargo_vendor) -export PYTHONPATH=%{buildroot}%{$python_sitelib} -$python -m pip install --no-build-isolation --target=$PWD/build/exampleinstall/ --no-deps --no-index . -$PWD/build/exampleinstall/bin/hello-world -} -popd +%pytest tests/ -k "not test_get_lib_name_namespace_package and not test_metadata_contents and not test_metadata_cargo_log" %files %{python_files} %license LICENSE diff --git a/setuptools-rust-1.6.0.tar.gz b/setuptools-rust-1.6.0.tar.gz deleted file mode 100644 index 2a3ce1a..0000000 --- a/setuptools-rust-1.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c86e734deac330597998bfbc08da45187e6b27837e23bd91eadb320732392262 -size 296421 diff --git a/setuptools-rust-1.8.1.tar.gz b/setuptools-rust-1.8.1.tar.gz new file mode 100644 index 0000000..893939e --- /dev/null +++ b/setuptools-rust-1.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94b1dd5d5308b3138d5b933c3a2b55e6d6927d1a22632e509fcea9ddd0f7e486 +size 311455