diff --git a/geventhttpclient-2.0.11.tar.gz b/geventhttpclient-2.0.11.tar.gz deleted file mode 100644 index a0a26a0..0000000 --- a/geventhttpclient-2.0.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:549d0f3af08420b9ad2beeda211153c7605b5ba409b228db7f1b81c8bfbec6b4 -size 76822 diff --git a/geventhttpclient-2.3.1.tar.gz b/geventhttpclient-2.3.1.tar.gz new file mode 100644 index 0000000..da95bee --- /dev/null +++ b/geventhttpclient-2.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b40ddac8517c456818942c7812f555f84702105c82783238c9fcb8dc12675185 +size 69345 diff --git a/python-geventhttpclient-2.3.1.tar.gz b/python-geventhttpclient-2.3.1.tar.gz new file mode 100644 index 0000000..86e8bc0 --- /dev/null +++ b/python-geventhttpclient-2.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:762fd4ced1106b9d45b5e1ae39a4e6be20545e626877f04ea264296889b18ff2 +size 52164 diff --git a/python-geventhttpclient.changes b/python-geventhttpclient.changes index 3d73e99..0cf4b4e 100644 --- a/python-geventhttpclient.changes +++ b/python-geventhttpclient.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Tue Oct 8 08:27:30 UTC 2024 - Daniel Garcia + +- Update to 2.3.1: + * Fix locust backwards compatibility by @ml31415 in #218 +- 2.3.0: + * Clean up readme and example code by @ml31415 in #212 + * Fix for #179 and improved multipart form handling by @ml31415 in #213 + * requests compatibility layer by @ml31415 in #209 + * Fixed #186 and improved package build by @ml31415 in #214 + * Add pre-commit hooks by @ml31415 in #215 + * Add requests compatibility to README by @ml31415 in #216 +- 2.2.1: + * URL refactoring by @ml31415 in #206 + * Switch default ssl protocol to PROTOCOL_TLS_CLIENT and improve tests by @ml31415 in #207 + * Fixes #40 max_retries and max_redirects by @ml31415 in #208 + * Use test.pypi.org before publishing by @ml31415 in #211 +- 2.2.0: + * Fixes http.client patching by @ml31415 in #200 + * Better headers by @ml31415 in #203 +- 2.1.1: + * Reduce httpbin dependency by @ml31415 in #199 + * Fix publishing build issue by @ml31415 in #201 +- 2.1.0: + * Spring cleaning (mostly test updates) by @ml31415 in #191 + * Drop support for outdated python and gevent versions by @ml31415 in #192 + * Upgrade llhttp v6.0.11 by @ml31415 in #193 + * Github actions and project metadata improvements by @ml31415 in #195 + * Benchmarks updated; some tests parametrized by @ml31415 in #196 + * More spring cleaning by @ml31415 in #197 +- 2.0.12: + * port examples to Python3 by @a-detiste in #185 + * add response cookies to cookiejar before verify_status by @onestay in #188 + ------------------------------------------------------------------- Thu Dec 7 22:50:28 UTC 2023 - Dirk Müller diff --git a/python-geventhttpclient.spec b/python-geventhttpclient.spec index 72c22fe..45b76d8 100644 --- a/python-geventhttpclient.spec +++ b/python-geventhttpclient.spec @@ -1,7 +1,7 @@ # # spec file for package python-geventhttpclient # -# 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 @@ -17,21 +17,24 @@ Name: python-geventhttpclient -Version: 2.0.11 +Version: 2.3.1 Release: 0 Summary: HTTP client library for gevent License: MIT Group: Development/Languages/Python URL: https://github.com/gwik/geventhttpclient Source: https://files.pythonhosted.org/packages/source/g/geventhttpclient/geventhttpclient-%{version}.tar.gz +# Needed for tests +Source1: https://github.com/gwik/geventhttpclient/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module Brotli} BuildRequires: %{python_module certifi} BuildRequires: %{python_module devel} BuildRequires: %{python_module dpkt} BuildRequires: %{python_module gevent} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} %if 0%{?suse_version} <= 1500 BuildRequires: python-mock %endif @@ -55,24 +58,23 @@ APIs like Twitter's. %prep %autosetup -p1 -n geventhttpclient-%{version} -# don't try to set this nonexistent attribute -- gh#gwik/geventhttpclient#137 -sed -i '/sock.last_seen_sni/ d' src/geventhttpclient/tests/test_ssl.py +tar -xvf %{SOURCE1} geventhttpclient-%{version}/tests/ %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check # test_cookielib_compatibility https://github.com/gwik/geventhttpclient/issues/119 # test_no_module_ssl.py https://github.com/geventhttpclient/geventhttpclient/issues/180 -%pytest_arch -m 'not online' -k 'not (test_cookielib_compatibility or test_no_module_ssl)' +%pytest_arch -m 'not network' -k 'not (test_cookielib_compatibility or test_no_module_ssl)' %files %{python_files} -%doc README.mdown -%license LICENSE.txt +%doc README.md +%license LICENSE-MIT %{python_sitearch}/geventhttpclient %{python_sitearch}/geventhttpclient-%{version}*-info