diff --git a/pytest-httpbin-2.0.0.tar.gz b/pytest-httpbin-2.0.0.tar.gz deleted file mode 100644 index 0d2e2f3..0000000 --- a/pytest-httpbin-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e739cad9b8f8df58952df7329d9295fe17449d3a647f49c4ce634fd81d71b8e -size 16081 diff --git a/pytest_httpbin-2.1.0.tar.gz b/pytest_httpbin-2.1.0.tar.gz new file mode 100644 index 0000000..90152f7 --- /dev/null +++ b/pytest_httpbin-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d40579838443228327f9fe4f08d9338bee8885c29fe933e5f2d58c20a26c33c6 +size 13664 diff --git a/python-pytest-httpbin.changes b/python-pytest-httpbin.changes index 8e2291e..62792f1 100644 --- a/python-pytest-httpbin.changes +++ b/python-pytest-httpbin.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed May 7 06:53:08 UTC 2025 - Steve Kowalik + +- 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 diff --git a/python-pytest-httpbin.spec b/python-pytest-httpbin.spec index 30bb1d1..c60facc 100644 --- a/python-pytest-httpbin.spec +++ b/python-pytest-httpbin.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,20 @@ %{?sle15_python_module_pythons} Name: python-pytest-httpbin -Version: 2.0.0 +Version: 2.1.0 Release: 0 Summary: Web service for testing HTTP libraries License: MIT -Group: Development/Languages/Python 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 +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module httpbin} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-httpbin @@ -47,23 +49,21 @@ in a separate thread running httpbin and provides your test with the URL in the fixture. %prep -%autosetup -p1 -n pytest-httpbin-%{version} +%autosetup -p1 -n pytest_httpbin-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Flask 2.1 returns relative URLs again -# gh#kevin1024/pytest-httpbin#64 -%pytest -k "not test_redirect_location_is_https_for_secure_server" +%pytest %files %{python_files} %doc README.md DESCRIPTION.rst %{python_sitelib}/pytest_httpbin -%{python_sitelib}/pytest_httpbin-%{version}*-info +%{python_sitelib}/pytest_httpbin-%{version}.dist-info %changelog