SHA256
14
0
forked from pool/python-h2

20 Commits

Author SHA256 Message Date
9ee9289968 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=39
2025-08-26 12:40:51 +00:00
7200eea356 Accepting request 1245024 from home:glaubitz:branches:devel:languages:python
- 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/request/show/1245024
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
ddc0f38b07 Accepting request 1081430 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081430
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=35
2023-04-21 14:33:30 +00:00
d122ccb484 - add fix-repr-checks-for-py311.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=33
2022-12-19 10:43:53 +00:00
96f97d3f1d Accepting request 944490 from home:bnavigator:branches:devel:languages:python
- Update to 4.1.0
  * Support for Python 3.9 has been added.
  * Support for Python 3.10 has been added.
  * New example for a Python socket HTTP/2 client.
  * New `OutputLogger` for use with ``h2.config.logger``. This is
    only provided for convenience and not part of the stable API.
  * Header validation now rejects empty header names with a
    ProtocolError. While hpack decodes such header blocks without
    issues, they violate the HTTP semantics.
  * Fix TE header name in error message.
- Drop h2-pr1248-disable-hypothesis-healthcheck.patch merged
  upstream
- Register hypothesis profile for slow obs executions.

OBS-URL: https://build.opensuse.org/request/show/944490
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=32
2022-01-08 12:39:18 +00:00
89f45c8c94 Accepting request 882035 from home:bnavigator:branches:devel:languages:python
- Add h2-pr1248-disable-hypothesis-healthcheck.patch to disable
  hypthesis health check failures. Thanks to the Fedora maintainer.
  gh#python-hyper/h2#1248

OBS-URL: https://build.opensuse.org/request/show/882035
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=30
2021-03-31 14:00:36 +00:00
66a5e10142 Accepting request 850162 from home:jayvdb:branches:devel:languages:python
- Drop hyperframe.patch no longer needed
- Skip flaky tests test_connection_only_empty & test_delegated_eq
  that hypothesis is failing on s390x
- Update to v4.0.0

OBS-URL: https://build.opensuse.org/request/show/850162
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=28
2020-11-23 11:04:59 +00:00
4f6ef57f1d Accepting request 834645 from home:mcalabkova:branches:devel:languages:python
- Add hyperframe.patch to fix build with hyperframe 6

OBS-URL: https://build.opensuse.org/request/show/834645
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=26
2020-09-15 13:12:31 +00:00
Tomáš Chvátal
da601565f6 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=24
2020-03-14 08:37:54 +00:00
69b4b27432 - Update to 3.2.0:
* Receiving DATA frames on closed (or reset) streams now properly emit a
    WINDOW_UPDATE to keep the connection flow window topped up.
  * h2.config.logger now uses a trace(...) function, in addition to
    debug(...).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=22
2020-02-27 05:45:05 +00:00
Tomáš Chvátal
e3205dc32a - Skip one test that is flaky
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=20
2019-12-04 09:27:23 +00:00
e0c08cd3c0 - Drop unused dependancies on pytest-cov and pytest-xdist.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=18
2019-11-14 06:59:01 +00:00
Tomáš Chvátal
db0d01f340 - Update to 3.1.1:
* Ignore WINDOW_UPDATE and RST_STREAM frames received after stream closure.
- Drop patch pytest5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=16
2019-09-12 10:06:12 +00:00
Tomáš Chvátal
0740fc12e8 - Add patch to fix building with pytest5 pytest5.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=13
2019-07-26 10:06:21 +00:00
Tomáš Chvátal
a1f04bb71d - Skip flaky test in OBS:
* test_changing_max_frame_size

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=12
2019-07-26 09:58:40 +00:00
Tomáš Chvátal
49c6f6d4c8 - Use pytest4 for now, link upstream ticket
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=10
2019-07-19 09:00:48 +00:00
Tomáš Chvátal
3559f53856 Accepting request 702960 from home:aballiet:branches:devel:languages:python
- Updated testing line to current standard
- Removed symlink in install line

OBS-URL: https://build.opensuse.org/request/show/702960
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=8
2019-05-14 20:03:32 +00:00
Tomáš Chvátal
1d7675bd36 Accepting request 689237 from home:jayvdb:branches:devel:languages:python
- Set URL to more useful https://github.com/python-hyper/hyper-h2
- Update to v3.1.0
  * API Changes (Backward-Incompatible)
    +  h2.connection.H2Connection.data_to_send first and only
       argument ``amt`` was renamed to ``amount``
    + Support for Python 3.3 has been removed.
  * API Changes (Backward-Compatible)
    + h2.connection.H2Connection.send_data now supports ``data``
      parameter being a ``memoryview`` object.
    + Refactor ping-related events: a h2.events.PingReceived event is
      fired when a PING frame is received and a h2.events.PingAckReceived
      event is fired when a PING frame with an ACK flag is received
    + h2.events.PingAcknowledged is deprecated in favour of the
      identical h2.events.PingAckReceived
    + Added ENABLE_CONNECT_PROTOCOL to h2.settings.SettingCodes
    + Support CONNECT requests with a ``:protocol`` pseudo header
      thereby supporting RFC 8441.
    + A limit to the number of closed streams kept in memory by the
      connection is applied. It can be configured by
      h2.connection.H2Connection.MAX_CLOSED_STREAMS
 * Debug logging when stream_id is None is now fixed and no longer errors.

OBS-URL: https://build.opensuse.org/request/show/689237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=6
2019-03-28 08:45:02 +00:00
cd641eec14 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=3
2018-12-04 13:33:19 +00:00
Todd R
4929e762ad Accepting request 489932 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/489932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=1
2017-04-24 15:14:47 +00:00