Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
9141654c0e |
@@ -1,6 +1,7 @@
|
|||||||
--- a/test/test_hpack.py
|
diff -Nru hpack-4.1.0.orig/tests/test_hpack.py hpack-4.1.0/tests/test_hpack.py
|
||||||
+++ b/test/test_hpack.py
|
--- hpack-4.1.0.orig/tests/test_hpack.py 2024-11-23 09:35:36.000000000 +0100
|
||||||
@@ -2,7 +2,7 @@
|
+++ hpack-4.1.0/tests/test_hpack.py 2025-02-04 12:22:54.679696648 +0100
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
import itertools
|
import itertools
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
@@ -9,7 +10,7 @@
|
|||||||
from hypothesis.strategies import text, binary, sets, one_of
|
from hypothesis.strategies import text, binary, sets, one_of
|
||||||
|
|
||||||
from hpack import (
|
from hpack import (
|
||||||
@@ -760,6 +760,7 @@ class TestDictToIterable:
|
@@ -767,6 +767,7 @@
|
||||||
binary().filter(lambda k: k and not k.startswith(b':'))
|
binary().filter(lambda k: k and not k.startswith(b':'))
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -17,7 +18,7 @@
|
|||||||
@given(
|
@given(
|
||||||
special_keys=sets(keys),
|
special_keys=sets(keys),
|
||||||
boring_keys=sets(keys),
|
boring_keys=sets(keys),
|
||||||
@@ -797,6 +798,7 @@ class TestDictToIterable:
|
@@ -804,6 +805,7 @@
|
||||||
assert special_keys == received_special
|
assert special_keys == received_special
|
||||||
assert boring_keys == received_boring
|
assert boring_keys == received_boring
|
||||||
|
|
||||||
|
BIN
hpack-4.0.0.tar.gz
(Stored with Git LFS)
BIN
hpack-4.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
hpack-4.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
hpack-4.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 4 11:51:51 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.1.0
|
||||||
|
* API Changes (Backward Incompatible)**
|
||||||
|
- Support for Python 3.6 has been removed.
|
||||||
|
- Support for Python 3.7 has been removed.
|
||||||
|
- Support for Python 3.8 has been removed.
|
||||||
|
- Renamed `InvalidTableIndex` exception to `InvalidTableIndexError`.
|
||||||
|
* API Changes (Backward Compatible)**
|
||||||
|
- Support for Python 3.9 has been added.
|
||||||
|
- Support for Python 3.10 has been added.
|
||||||
|
- Support for Python 3.11 has been added.
|
||||||
|
- Support for Python 3.12 has been added.
|
||||||
|
- Support for Python 3.13 has been added.
|
||||||
|
- Optimized bytes encoding of headers.
|
||||||
|
- Updated packaging and testing infrastructure.
|
||||||
|
- Code cleanup and linting.
|
||||||
|
- Added type hints.
|
||||||
|
- Refresh healthcheck.patch
|
||||||
|
- Refresh test_fixtures.tar.xz
|
||||||
|
- Switch build system from setuptools to pyproject.toml
|
||||||
|
* Add python-pip and python-wheel to BuildRequires
|
||||||
|
* Replace %python_build with %pyproject_wheel
|
||||||
|
* Replace %python_install with %pyproject_install
|
||||||
|
* Update name for dist directory in %files section
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:26:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:26:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-hpack
|
# spec file for package python-hpack
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-hpack
|
Name: python-hpack
|
||||||
Version: 4.0.0
|
Version: 4.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pure-Python HPACK header compression
|
Summary: Pure-Python HPACK header compression
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -29,8 +29,10 @@ Source0: https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{v
|
|||||||
Source1: test_fixtures.tar.xz
|
Source1: test_fixtures.tar.xz
|
||||||
Patch0: healthcheck.patch
|
Patch0: healthcheck.patch
|
||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -46,11 +48,11 @@ automatically enables the use of nghttp2 if it’s available.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -60,6 +62,6 @@ export LC_ALL="en_US.UTF-8"
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.rst CONTRIBUTORS.rst README.rst
|
%doc CHANGELOG.rst CONTRIBUTORS.rst README.rst
|
||||||
%{python_sitelib}/hpack
|
%{python_sitelib}/hpack
|
||||||
%{python_sitelib}/hpack-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/hpack-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
test_fixtures.tar.xz
(Stored with Git LFS)
BIN
test_fixtures.tar.xz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user