17
0

2 Commits

Author SHA256 Message Date
0add858df9 Merge pull request 'Fix Leap 16.0 build' (#2) from mlin7442/python-geventhttpclient:leap-16.0 into leap-16.0
Reviewed-on: #2
Reviewed-by: Nathan Cutler <smithfarm@noreply.src.opensuse.org>
2025-08-27 13:42:51 +02:00
a35e9846e9 Fix Leap 16.0 build 2025-08-20 19:00:11 +08:00
6 changed files with 12 additions and 57 deletions

View File

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

View File

@@ -1,3 +0,0 @@
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:762fd4ced1106b9d45b5e1ae39a4e6be20545e626877f04ea264296889b18ff2
size 52164

View File

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

View File

@@ -1,42 +1,3 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-geventhttpclient
#
# Copyright (c) 2025 SUSE LLC and contributors
# 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
@@ -16,9 +16,8 @@
#
%{?sle15_python_module_pythons}
Name: python-geventhttpclient
Version: 2.3.7
Version: 2.3.1
Release: 0
Summary: HTTP client library for gevent
License: MIT
@@ -61,13 +60,6 @@ APIs like Twitter's.
%prep
%autosetup -p1 -n geventhttpclient-%{version}
tar -xvf %{SOURCE1} geventhttpclient-%{version}/tests/
%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
%pyproject_wheel
@@ -77,10 +69,12 @@ rm -rf geventhttpclient-%{version}/tests/
%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
%if 0%{?suse_version} > 1600
%pytest_arch -m 'not network'
%pytest_arch -m 'not network' -k 'not (test_cookielib_compatibility or test_no_module_ssl)'
%else
%pytest_arch -m 'not network'
%pytest_arch -m 'not network' -k 'not (test_cookielib_compatibility or test_no_module_ssl or test_implicit_sni_from_host_in_ssl or test_implicit_sni_from_header_in_ssl or test_explicit_sni_in_ssl)'
%endif
%files %{python_files}