Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| f917a576ab | |||
| 7f21d89d16 | |||
| 4cf237dfb7 | |||
| 4399665b12 | |||
| bd7a130474 | |||
| 85a84eb1e9 |
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 15 05:16:09 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Promote pytest to Requires.
|
||||
- Add patch support-click-8.2.patch:
|
||||
* click 8.2.0 now exits non-zero when printing help.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 29 09:43:12 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.9.1:
|
||||
* Adjusted `requre-purge` to not replace GitHub tokens with
|
||||
dummy token that still looks like a legit one and also
|
||||
case-sensitiveness on the cookies from Pagure.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 19 10:57:19 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.9.0
|
||||
* Supports recording of the requests done by `httpx` via
|
||||
`record_httpx()` and `recording_httpx()` decorators. (#297)
|
||||
- from version 0.8.6
|
||||
* Trigger a new release to fix the PyPI upload action.
|
||||
- from version 0.8.5
|
||||
* Trigger a new release to confirm the correct SPDX licence.
|
||||
- Update BuildRequires and Requires from pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 16:32:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-requre
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,12 +18,14 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-requre
|
||||
Version: 0.8.4
|
||||
Version: 0.9.1
|
||||
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
|
||||
# PATCH-FIX-OPENSUSE click 8.2.0 now exits non-zero when printing help
|
||||
Patch0: support-click-8.2.patch
|
||||
BuildRequires: %{python_module hatch_vcs}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -32,8 +34,9 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-GitPython
|
||||
Requires: python-PyYAML
|
||||
Requires: python-click
|
||||
Requires: python-httpx
|
||||
Requires: python-pytest
|
||||
Requires: python-requests
|
||||
Suggests: python-pytest
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
@@ -41,6 +44,7 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module GitPython}
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module httpx}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
# /SECTION
|
||||
@@ -51,7 +55,7 @@ Library for testing python code what allows store output of
|
||||
various objects and use stored data for testing.
|
||||
|
||||
%prep
|
||||
%setup -q -n requre-%{version}
|
||||
%autosetup -p1 -n requre-%{version}
|
||||
# Remove cyclic dependency with ogr
|
||||
rm tests/test_E2E_ogr.py
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a42f41f09450e1b10915e0adb9edd919d94137f4cfbf23b400ddffa3591930d
|
||||
size 226513
|
||||
3
requre-0.9.1.tar.gz
Normal file
3
requre-0.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c3064c1ca3795730d63a5640944e1241b1f29752eaa7edcb803dba9fe5e85cc
|
||||
size 230487
|
||||
13
support-click-8.2.patch
Normal file
13
support-click-8.2.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: requre-0.9.1/tests/test_e2e_test_patching.py
|
||||
===================================================================
|
||||
--- requre-0.9.1.orig/tests/test_e2e_test_patching.py
|
||||
+++ requre-0.9.1/tests/test_e2e_test_patching.py
|
||||
@@ -82,7 +82,7 @@ class NoApplied(unittest.TestCase):
|
||||
run_command(cmd=f"{CMD_RELATIVE} clean", fail=False)
|
||||
|
||||
def test_help(self):
|
||||
- run_command(cmd=f"{CMD_RELATIVE}")
|
||||
+ run_command(cmd=f"{CMD_RELATIVE}", fail=False)
|
||||
|
||||
def test_bad_command(self):
|
||||
self.assertRaises(
|
||||
Reference in New Issue
Block a user