forked from pool/python-hpack
- 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
OBS-URL: https://build.opensuse.org/request/show/1243088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=24
29 lines
941 B
Diff
29 lines
941 B
Diff
diff -Nru hpack-4.1.0.orig/tests/test_hpack.py hpack-4.1.0/tests/test_hpack.py
|
|
--- hpack-4.1.0.orig/tests/test_hpack.py 2024-11-23 09:35:36.000000000 +0100
|
|
+++ hpack-4.1.0/tests/test_hpack.py 2025-02-04 12:22:54.679696648 +0100
|
|
@@ -1,7 +1,7 @@
|
|
import itertools
|
|
import pytest
|
|
|
|
-from hypothesis import given
|
|
+from hypothesis import given, settings, HealthCheck
|
|
from hypothesis.strategies import text, binary, sets, one_of
|
|
|
|
from hpack import (
|
|
@@ -767,6 +767,7 @@
|
|
binary().filter(lambda k: k and not k.startswith(b':'))
|
|
)
|
|
|
|
+ @settings(suppress_health_check=[HealthCheck.too_slow])
|
|
@given(
|
|
special_keys=sets(keys),
|
|
boring_keys=sets(keys),
|
|
@@ -804,6 +805,7 @@
|
|
assert special_keys == received_special
|
|
assert boring_keys == received_boring
|
|
|
|
+ @settings(suppress_health_check=[HealthCheck.too_slow])
|
|
@given(
|
|
special_keys=sets(keys),
|
|
boring_keys=sets(keys),
|