Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
232a26fa24 |
BIN
pytest-httpbin-2.0.0.tar.gz
(Stored with Git LFS)
BIN
pytest-httpbin-2.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pytest_httpbin-2.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest_httpbin-2.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 7 06:53:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.1.0:
|
||||||
|
* Drop support for Python 3.7
|
||||||
|
* Test against PyPy 3.10
|
||||||
|
* Add support for CPython 3.13 by regenerating the bundled certificates
|
||||||
|
* Fix an issue where secure POST requests would fail with a connection
|
||||||
|
reset by peer
|
||||||
|
* Include a LICENCE
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 7 19:42:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Nov 7 19:42:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-httpbin
|
# spec file for package python-pytest-httpbin
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,18 +18,20 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pytest-httpbin
|
Name: python-pytest-httpbin
|
||||||
Version: 2.0.0
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Web service for testing HTTP libraries
|
Summary: Web service for testing HTTP libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/kevin1024/pytest-httpbin
|
URL: https://github.com/kevin1024/pytest-httpbin
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest_httpbin-%{version}.tar.gz
|
||||||
Source99: pytest-httpbin-rpmlintrc
|
Source99: pytest-httpbin-rpmlintrc
|
||||||
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module httpbin}
|
BuildRequires: %{python_module httpbin}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-httpbin
|
Requires: python-httpbin
|
||||||
@@ -47,23 +49,21 @@ in a separate thread running httpbin and provides your test with the URL in the
|
|||||||
fixture.
|
fixture.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pytest-httpbin-%{version}
|
%autosetup -p1 -n pytest_httpbin-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Flask 2.1 returns relative URLs again
|
%pytest
|
||||||
# gh#kevin1024/pytest-httpbin#64
|
|
||||||
%pytest -k "not test_redirect_location_is_https_for_secure_server"
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md DESCRIPTION.rst
|
%doc README.md DESCRIPTION.rst
|
||||||
%{python_sitelib}/pytest_httpbin
|
%{python_sitelib}/pytest_httpbin
|
||||||
%{python_sitelib}/pytest_httpbin-%{version}*-info
|
%{python_sitelib}/pytest_httpbin-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user