SHA256
14
0
forked from pool/python-h2

2 Commits

Author SHA256 Message Date
c307d5cabf Accepting request 1245093 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1245093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h2?expand=0&rev=17
2025-02-11 20:22:18 +00:00
2f797339dc - Update to 4.2.0
* Support for Python 3.6 has been removed.
  * Support for Python 3.7 has been removed.
  * Support for Python 3.8 has been removed.
  * Remove mistakenly set `max_inbound_frame_size` attribute on `H2Stream`.
  * Support for Python 3.11 has been added.
  * Support for Python 3.12 has been added.
  * Support for Python 3.13 has been added.
  * Add an ability to send outbound cookies separately to improve headers compression.
  * Updated packaging and testing infrastructure.
  * Fix repr() checks for Python 3.11
  * Fix asyncio / wsgi examples.
  * Clarify docs on using curl with http2.
- Adjust path for patching tests/conftest.py
- Drop fix-repr-checks-for-py311.patch, merged upstream
- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=37
2025-02-11 12:41:29 +00:00
4 changed files with 7 additions and 23 deletions

BIN
h2-4.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

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

View File

@@ -1,21 +1,3 @@
-------------------------------------------------------------------
Tue Aug 26 11:28:51 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 4.3.0 (fixes CVE-2025-57804, bsc#1248737)
* API Changes (Backward Incompatible)
- Reject header names and values containing illegal characters, based on
RFC 9113, section 8.2.1. The main Python API is compatible, but some
previously valid requests/response headers might now be blocked. Use the
`validate_inbound_headers` config option if needed. Thanks to Sebastiano
Sartor (sebsrt) for the report.
* API Changes (Backward Compatible)
- h2 events now have tighter type bounds, e.g. `stream_id` is guaranteed to
not be `None` for most events now. This simplifies downstream type
checking.
- Various typing-related improvements.
* Bugfixes
- Fix error value when opening a new stream on too many open streams.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 11 09:03:44 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Tue Feb 11 09:03:44 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-h2 # spec file for package python-h2
# #
# Copyright (c) 2025 SUSE LLC and contributors # 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
@@ -16,9 +16,11 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-h2 Name: python-h2
Version: 4.3.0 Version: 4.2.0
Release: 0 Release: 0
Summary: HTTP/2 State-Machine based protocol implementation Summary: HTTP/2 State-Machine based protocol implementation
License: MIT License: MIT