Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-setuptools-rust for 
openSUSE:Factory checked in at 2022-08-08 08:44:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools-rust (Old)
 and      /work/SRC/openSUSE:Factory/.python-setuptools-rust.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-setuptools-rust"

Mon Aug  8 08:44:57 2022 rev:5 rq:990377 version:1.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-setuptools-rust/python-setuptools-rust.changes
    2022-05-17 17:23:36.683126140 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-setuptools-rust.new.1521/python-setuptools-rust.changes
  2022-08-08 08:45:00.946421160 +0200
@@ -1,0 +2,52 @@
+Wed Jul 20 09:16:41 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Fix requirements
+  * Don't need sphinx
+  * Needs rust and cargo
+  * Don't need nox; can't use it in obs as it wants to install
+    wheels.
+- Fix tests:
+  * Plain pytest test suite without is rudimentary
+  * At least build the hello-world example
+- Use PEP517
+
+-------------------------------------------------------------------
+Mon Jul 18 07:35:46 UTC 2022 - Matej Cepl <mc...@suse.com>
+
+- Deduplicate files in python_sitelib.
+
+-------------------------------------------------------------------
+Sat Jul 16 15:56:02 UTC 2022 - Arun Persaud <a...@gmx.de>
+
+- specfile:
+  * update setuptools requirement to 62.4
+  * require pyparsing
+  * be mor specific in %files section
+  * use pytest
+
+- update to version 1.4.1:
+  * Fixed
+    + Fix crash when checking Rust version. #263
+
+- changes from version 1.4.0:
+  * Packaging
+    + Increase minimum setuptools version to 62.4. #246
+  * Added
+    + Add cargo_manifest_args to support locked, frozen and offline
+      builds. #234
+    + Add RustBin for packaging binaries in scripts data
+      directory. #248
+  * Changed
+    + Exec binding RustExtension with script=True is deprecated in
+      favor of RustBin. #248
+    + Errors while calling cargo metadata are now reported back to the
+      user #254
+    + quiet option will now suppress output of cargo metadata. #256
+    + setuptools-rust will now match cargo behavior of not setting
+      --target when the selected target is the rust host. #258
+    + Deprecate native option of RustExtension. #258
+  * Fixed
+    + If the sysconfig for BLDSHARED has no flags, setuptools-rust
+      won't crash anymore. #241
+
+-------------------------------------------------------------------

Old:
----
  setuptools-rust-1.3.0.tar.gz

New:
----
  setuptools-rust-1.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-setuptools-rust.spec ++++++
--- /var/tmp/diff_new_pack.gvsf5Q/_old  2022-08-08 08:45:01.398422489 +0200
+++ /var/tmp/diff_new_pack.gvsf5Q/_new  2022-08-08 08:45:01.402422501 +0200
@@ -16,26 +16,35 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%global skip_python2 1
 Name:           python-setuptools-rust
-Version:        1.3.0
+Version:        1.4.1
 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
+BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pyparsing}
 BuildRequires:  %{python_module semantic_version >= 2.8.2}
-BuildRequires:  %{python_module setuptools_scm}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module setuptools >= 62.4}
+BuildRequires:  %{python_module setuptools_scm >= 6.3.2}
 BuildRequires:  %{python_module typing_extensions >= 3.7.4.3}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  cargo
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  rust
+Requires:       cargo
 Requires:       python-semantic_version >= 2.8.2
+Requires:       python-setuptools >= 62.4
 Requires:       python-typing_extensions >= 3.7.4.3
+Requires:       rust
 BuildArch:      noarch
+# SECTION test requirements
+BuildRequires:  %{python_module pytest}
+# /SECTION
 %python_subpackages
 
 %description
@@ -49,18 +58,28 @@
 %setup -q -n setuptools-rust-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.UTF-8
-%python_exec setup.py test
+%pytest tests/
+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
 
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitelib}/*
+%{python_sitelib}/setuptools_rust-%{version}*-info
+%{python_sitelib}/setuptools_rust
 
 %changelog

++++++ setuptools-rust-1.3.0.tar.gz -> setuptools-rust-1.4.1.tar.gz ++++++
++++ 51941 lines of diff (skipped)

Reply via email to