From dafbb6787c3c7aa39336044002fdffb2469f8432517add0bb7ee98a0fdf87b6d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 29 Jan 2024 14:15:22 +0000 Subject: [PATCH] - fix dependencies (add tomli) longer compatible with it - Initial package (1.0.0) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-rust?expand=0&rev=23 --- python-setuptools-rust.changes | 9 +++++++-- python-setuptools-rust.spec | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-setuptools-rust.changes b/python-setuptools-rust.changes index 9f22638..bdc0962 100644 --- a/python-setuptools-rust.changes +++ b/python-setuptools-rust.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 29 14:14:53 UTC 2024 - Dirk Müller + +- fix dependencies (add tomli) + ------------------------------------------------------------------- Mon Jan 29 12:34:54 UTC 2024 - Adrian Schröter @@ -133,9 +138,9 @@ Fri Feb 4 22:05:19 UTC 2022 - Dirk Müller Mon Jan 10 11:54:35 UTC 2022 - Dirk Müller - skip building for python 2.x, as the setuptools we have is no - longer compatible with it + longer compatible with it ------------------------------------------------------------------- Sat Nov 27 13:25:03 UTC 2021 - Dirk Müller -- Initial package (1.0.0) +- Initial package (1.0.0) diff --git a/python-setuptools-rust.spec b/python-setuptools-rust.spec index d9f3a71..9cf6c9b 100644 --- a/python-setuptools-rust.spec +++ b/python-setuptools-rust.spec @@ -32,7 +32,6 @@ BuildRequires: %{python_module pyparsing} BuildRequires: %{python_module semantic_version >= 2.8.2} 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 @@ -41,7 +40,9 @@ BuildRequires: rust Requires: cargo Requires: python-semantic_version >= 2.8.2 Requires: python-setuptools >= 62.4 -Requires: python-typing_extensions >= 3.7.4.3 +%if 0%{?python_version_nodots} < 311 +Requires: python-tomli >= 1.2.1 +%endif Requires: rust BuildArch: noarch # SECTION test requirements