From 6446325a9baea76877cbb8c0729becca376ed1e5d8cd35d830c87952f0031dc8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 26 Feb 2024 12:43:08 +0000 Subject: [PATCH 1/2] - update to 0.8.4: * Provide `__version__` of the package so it can be easily checked when installed on the system. * Fix an issue of clashing with the _coverage_. * Packaging has been modernized. * class shortcut decorators OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requre?expand=0&rev=9 --- python-requre.changes | 11 ++++++++++- python-requre.spec | 15 +++++---------- requre-0.8.2.tar.gz | 3 --- requre-0.8.4.tar.gz | 3 +++ 4 files changed, 18 insertions(+), 14 deletions(-) delete mode 100644 requre-0.8.2.tar.gz create mode 100644 requre-0.8.4.tar.gz diff --git a/python-requre.changes b/python-requre.changes index dc9b114..4e60b93 100644 --- a/python-requre.changes +++ b/python-requre.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Feb 26 12:27:18 UTC 2024 - Dirk Müller + +- update to 0.8.4: + * Provide `__version__` of the package so it can be easily + checked when installed on the system. + * Fix an issue of clashing with the _coverage_. + * Packaging has been modernized. + ------------------------------------------------------------------- Mon Jul 17 07:00:01 UTC 2023 - Steve Kowalik @@ -12,7 +21,7 @@ Mon Jun 20 06:04:36 UTC 2022 - Steve Kowalik - Update to 0.8.2: * default decorator if not given * guess output decorator class - * class shortcut decorators + * class shortcut decorators * python tuple support as base type * Fix a performance issue when detecting cassettes following the old naming format. diff --git a/python-requre.spec b/python-requre.spec index 53bb8c1..7fa153c 100644 --- a/python-requre.spec +++ b/python-requre.spec @@ -1,7 +1,7 @@ # # spec file for package python-requre # -# 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,16 +16,16 @@ # +%{?sle15allpythons} Name: python-requre -Version: 0.8.2 +Version: 0.8.4 Release: 0 Summary: Python libray for storing and using objects for testing License: MIT URL: https://github.com/packit-service/requre Source: https://files.pythonhosted.org/packages/source/r/requre/requre-%{version}.tar.gz +BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -35,7 +35,7 @@ Requires: python-click Requires: python-requests Suggests: python-pytest Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} @@ -52,11 +52,6 @@ various objects and use stored data for testing. %prep %setup -q -n requre-%{version} -sed -i '1{/#!/d}' requre/requre_patch.py - -# https://github.com/packit/requre/issues/131 -sed -i 's/not network_connection_avalilable()/False/' tests/*.py - # Remove cyclic dependency with ogr rm tests/test_E2E_ogr.py diff --git a/requre-0.8.2.tar.gz b/requre-0.8.2.tar.gz deleted file mode 100644 index 3255573..0000000 --- a/requre-0.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77000970912650b8ae34daa889fa8edf817dc6c2aa7bb172b813550db2642f12 -size 231880 diff --git a/requre-0.8.4.tar.gz b/requre-0.8.4.tar.gz new file mode 100644 index 0000000..186455d --- /dev/null +++ b/requre-0.8.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a42f41f09450e1b10915e0adb9edd919d94137f4cfbf23b400ddffa3591930d +size 226513 From ecd5ddcaac0bb333967a0a947a5b9ee96fc004c7d89fdd30b3c3d8dcd77ad22f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 26 Feb 2024 16:32:50 +0000 Subject: [PATCH 2/2] - restrict to new python stack in sle15 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requre?expand=0&rev=10 --- python-requre.changes | 5 +++++ python-requre.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-requre.changes b/python-requre.changes index 4e60b93..2154cea 100644 --- a/python-requre.changes +++ b/python-requre.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 16:32:40 UTC 2024 - Dirk Müller + +- restrict to new python stack in sle15 + ------------------------------------------------------------------- Mon Feb 26 12:27:18 UTC 2024 - Dirk Müller diff --git a/python-requre.spec b/python-requre.spec index 7fa153c..76a9379 100644 --- a/python-requre.spec +++ b/python-requre.spec @@ -16,7 +16,7 @@ # -%{?sle15allpythons} +%{?sle15_python_module_pythons} Name: python-requre Version: 0.8.4 Release: 0