1
0

11 Commits

Author SHA256 Message Date
900b76436e Accepting request 1325883 from devel:languages:python
- Add missing BuildRequires on urllib3.

OBS-URL: https://build.opensuse.org/request/show/1325883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geventhttpclient?expand=0&rev=14
2026-01-08 14:28:33 +00:00
a52fdcee0c - Add missing BuildRequires on urllib3.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geventhttpclient?expand=0&rev=34
2026-01-08 03:21:00 +00:00
8cdc719d20 Accepting request 1324756 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1324756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geventhttpclient?expand=0&rev=13
2025-12-30 11:01:54 +00:00
20f2b1754d - Update to 2.3.7
* Reenabled test_cookielib_compatibility, fixed upstream
    https://github.com/gwik/geventhttpclient/issues/119
  * Reenabled test_no_module_ssl.py, fixed upstream
    https://github.com/geventhttpclient/geventhttpclient/issues/180
  * Fixed failing tests test_simple_ssl, test_timeout_on_connect,
    test_network_timeout and test_verify_self_signed_fail
    by copying missing files to tests directory and deleting
    geventhttpclient-%{version}/tests/ coming from the 
    github tarball
  * Update GitHub action versions, build using Python 3.14, update
    cibuildwheel to 3.3.0 by @cyberw in #237
 - Changes in 2.3.6
   * Explicitly support python 3.13 and 3.14 and build using 3.13
     by @cyberw in #236
 - Changes in 2.3.5
   * Fix #230
   * Fix Headers.extend by @ml31415 in #231
 - Changes in 2.3.4
   * test: Increase the read of the TLS handshake in 
     sni_checker_server() by @sebastianas in #228
 - Changes in 2.3.3
   * Fixed github action publishing issue
   * Fixed #225
   * Move project source back to src/geventhttpclient 
     by @ml31415 in #220

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geventhttpclient?expand=0&rev=32
2025-12-30 08:32:27 +00:00
304a963198 Accepting request 1311502 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1311502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geventhttpclient?expand=0&rev=12
2025-10-16 15:38:47 +00:00
550b053d00 - Fix build for 15.7: Use the right python version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geventhttpclient?expand=0&rev=30
2025-10-15 13:28:37 +00:00
4e9327aada Accepting request 1300416 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1300416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geventhttpclient?expand=0&rev=11
2025-08-20 11:26:49 +00:00
66e524d441 disabled some sni_ssl unittest on Leap 16.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geventhttpclient?expand=0&rev=28
2025-08-20 07:19:10 +00:00
7318efad05 Accepting request 1206263 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1206263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geventhttpclient?expand=0&rev=10
2024-10-08 15:25:02 +00:00
e20c1a5d27 Add missing require python-urllib3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geventhttpclient?expand=0&rev=26
2024-10-08 08:47:05 +00:00
f633926e48 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geventhttpclient?expand=0&rev=25
2024-10-08 08:32:03 +00:00
5 changed files with 118 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:549d0f3af08420b9ad2beeda211153c7605b5ba409b228db7f1b81c8bfbec6b4
size 76822

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06c28d3d1aabddbaaf61721401a0e5852b216a1845ef2580f3819161e44e9b1c
size 83708

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b35a749829cf0e7d5284759dbed9b012c48669f1e841d0d2528446c605671739
size 53397

View File

@@ -1,3 +1,88 @@
-------------------------------------------------------------------
Thu Jan 8 03:20:27 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing BuildRequires on urllib3.
-------------------------------------------------------------------
Mon Dec 29 21:45:41 UTC 2025 - Andreas Prittwitz <m4ng4n@gmx.de>
- Update to 2.3.7
* Reenabled test_cookielib_compatibility, fixed upstream
https://github.com/gwik/geventhttpclient/issues/119
* Reenabled test_no_module_ssl.py, fixed upstream
https://github.com/geventhttpclient/geventhttpclient/issues/180
* Fixed failing tests test_simple_ssl, test_timeout_on_connect,
test_network_timeout and test_verify_self_signed_fail
by copying missing files to tests directory and deleting
geventhttpclient-%{version}/tests/ coming from the
github tarball
* Update GitHub action versions, build using Python 3.14, update
cibuildwheel to 3.3.0 by @cyberw in #237
- Changes in 2.3.6
* Explicitly support python 3.13 and 3.14 and build using 3.13
by @cyberw in #236
- Changes in 2.3.5
* Fix #230
* Fix Headers.extend by @ml31415 in #231
- Changes in 2.3.4
* test: Increase the read of the TLS handshake in
sni_checker_server() by @sebastianas in #228
- Changes in 2.3.3
* Fixed github action publishing issue
* Fixed #225
* Move project source back to src/geventhttpclient
by @ml31415 in #220
-------------------------------------------------------------------
Wed Oct 15 13:15:40 UTC 2025 - Jordi Massaguer <jmassaguerpla@suse.com>
- Fix build for 15.7: Use the right python version
-------------------------------------------------------------------
Wed Aug 20 06:54:38 UTC 2025 - Max Lin <mlin@suse.com>
- Disabled some sni_ssl unittest which just failed on Leap 16.0
* test_implicit_sni_from_host_in_ssl, test_implicit_sni_from_header_in_ssl,
and test_explicit_sni_in_ssl
-------------------------------------------------------------------
Tue Oct 8 08:27:30 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- 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 <dmueller@suse.com> Thu Dec 7 22:50:28 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-geventhttpclient # spec file for package python-geventhttpclient
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors
# #
# 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
@@ -16,22 +16,26 @@
# #
%{?sle15_python_module_pythons}
Name: python-geventhttpclient Name: python-geventhttpclient
Version: 2.0.11 Version: 2.3.7
Release: 0 Release: 0
Summary: HTTP client library for gevent Summary: HTTP client library for gevent
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/gwik/geventhttpclient URL: https://github.com/gwik/geventhttpclient
Source: https://files.pythonhosted.org/packages/source/g/geventhttpclient/geventhttpclient-%{version}.tar.gz 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 Brotli}
BuildRequires: %{python_module certifi} BuildRequires: %{python_module certifi}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module dpkt} BuildRequires: %{python_module dpkt}
BuildRequires: %{python_module gevent} BuildRequires: %{python_module gevent}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module urllib3}
BuildRequires: %{python_module wheel}
%if 0%{?suse_version} <= 1500 %if 0%{?suse_version} <= 1500
BuildRequires: python-mock BuildRequires: python-mock
%endif %endif
@@ -40,6 +44,7 @@ BuildRequires: python-rpm-macros
Requires: python-Brotli Requires: python-Brotli
Requires: python-certifi Requires: python-certifi
Requires: python-gevent Requires: python-gevent
Requires: python-urllib3
%python_subpackages %python_subpackages
%description %description
@@ -55,25 +60,33 @@ APIs like Twitter's.
%prep %prep
%autosetup -p1 -n geventhttpclient-%{version} %autosetup -p1 -n geventhttpclient-%{version}
# don't try to set this nonexistent attribute -- gh#gwik/geventhttpclient#137 tar -xvf %{SOURCE1} geventhttpclient-%{version}/tests/
sed -i '/sock.last_seen_sni/ d' src/geventhttpclient/tests/test_ssl.py %if 0%{?suse_version} >= 1600
cp geventhttpclient-%{version}/tests/{common.py,conftest.py,__init__.py,oncert.pem,server.crt,server.key} %{builddir}/geventhttpclient-%{version}/tests
rm -rf geventhttpclient-%{version}/tests/
%else
cp geventhttpclient-%{version}/tests/{common.py,conftest.py,__init__.py,oncert.pem,server.crt,server.key} /home/abuild/rpmbuild/BUILD/geventhttpclient-%{version}/tests
rm -rf geventhttpclient-%{version}/tests/
%endif
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
# test_cookielib_compatibility https://github.com/gwik/geventhttpclient/issues/119 %if 0%{?suse_version} > 1600
# test_no_module_ssl.py https://github.com/geventhttpclient/geventhttpclient/issues/180 %pytest_arch -m 'not network'
%pytest_arch -m 'not online' -k 'not (test_cookielib_compatibility or test_no_module_ssl)' %else
%pytest_arch -m 'not network'
%endif
%files %{python_files} %files %{python_files}
%doc README.mdown %doc README.md
%license LICENSE.txt %license LICENSE-MIT
%{python_sitearch}/geventhttpclient %{python_sitearch}/geventhttpclient
%{python_sitearch}/geventhttpclient-%{version}*-info %{python_sitearch}/geventhttpclient-%{version}.dist-info
%changelog %changelog