diff --git a/httpcore-0.17.3.tar.gz b/httpcore-0.17.3.tar.gz deleted file mode 100644 index 25cd5d5..0000000 Binary files a/httpcore-0.17.3.tar.gz and /dev/null differ diff --git a/httpcore-1.0.4.tar.gz b/httpcore-1.0.4.tar.gz new file mode 100644 index 0000000..5170dd8 Binary files /dev/null and b/httpcore-1.0.4.tar.gz differ diff --git a/python-httpcore.spec b/python-httpcore.spec index 7d3de45..dc7e659 100644 --- a/python-httpcore.spec +++ b/python-httpcore.spec @@ -2,7 +2,7 @@ %global pypi_name httpcore Name: python-%{pypi_name} -Version: 0.17.3 +Version: 1.0.4 Release: 1 Summary: A minimal low-level HTTP client @@ -13,6 +13,10 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildRequires: python3-hatch-fancy-pypi-readme %description The HTTP Core package provides a minimal low-level HTTP client, which does one thing only. Sending HTTP requests. @@ -24,12 +28,6 @@ decoding, handling JSON, environment based configuration defaults, or any of tha Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} -Requires: python3-h11 < 0.15 -Requires: python3-h11 >= 0.13 -Requires: python3-sniffio >= 1.0.0 -Requires: python3-anyio >= 3.0 -Requires: python3-anyio < 5.0 -Requires: python3-certifi %description -n python3-%{pypi_name} The HTTP Core package provides a minimal low-level HTTP client, which does one thing only. Sending HTTP requests. It does not provide any high level model abstractions over the API, does not handle redirects, multipart uploads, @@ -39,23 +37,29 @@ decoding, handling JSON, environment based configuration defaults, or any of tha %prep %autosetup -n %{pypi_name}-%{version} -# Remove bundled egg-info -rm -rf %{pypi_name}.egg-info -sed -i "s/\"sniffio==1.*\"/\"sniffio>=1.0\"/g" setup.py %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %files -n python3-%{pypi_name} %license LICENSE.md %doc README.md -%{python3_sitelib}/%{pypi_name}-*.egg-info/ +%{python3_sitelib}/%{pypi_name}*.dist-info/ %{python3_sitelib}/%{pypi_name}/ %changelog +* Thu Feb 29 2024 Dongxing Wang - 1.0.4-1 +- Upgrade package with version 1.0.4 + Add support for HTTPS proxies. + Handle sni_hostname extension with SOCKS proxy. + Handle HTTP/1.1 half-closed connections gracefully. + Add support for Python 3.12 and drop Python 3.7 support. + Async support becomes fully optional. + Add support for synchronous TLS-in-TLS streams. + * Mon Jul 24 2023 ysliu - 0.17.3-1 - Initial package.