Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pamqp for openSUSE:Factory checked in at 2026-04-10 23:45:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pamqp (Old) and /work/SRC/openSUSE:Factory/.python-pamqp.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pamqp" Fri Apr 10 23:45:00 2026 rev:13 rq:1345940 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pamqp/python-pamqp.changes 2025-06-02 22:02:03.700956503 +0200 +++ /work/SRC/openSUSE:Factory/.python-pamqp.new.21863/python-pamqp.changes 2026-04-10 23:45:10.071952954 +0200 @@ -1,0 +2,56 @@ +Fri Apr 10 18:33:23 UTC 2026 - Dirk Müller <[email protected]> + +- update to 4.0.0: + * **Python 3.11+ required** (previously 3.7+) + * Removed explicit `__annotations__` class variable from all + command classes and base classes. Python manages + `__annotations__` automatically; the explicit declarations + conflicted with `object.__annotations__`. Code that + introspected `MyCommand.__annotations__` directly may need + updating. + * **Fix `Basic.Reject(requeue=False)` being coerced to `True`** + — The codegen emitted `self.requeue = requeue or True` which + made it impossible to reject without requeuing. Now uses a + proper ternary to preserve explicit `False`. + * **Fix `Exchange.Declare(internal=True)` raising + `ValueError`** — The `internal` flag was incorrectly treated + as a deprecated field. It is a legitimate AMQP flag used for + internal exchanges and RabbitMQ tracing. + * **Fix encoding of negative byte-range integers in field + tables** (#45) — `table_integer` routed values in `-128..127` + to `octet()` which uses unsigned byte format (`struct 'B'`), + causing `struct.error` for negative values like `-1`. Now + uses signed byte format (`struct '>b'`). This affected + `x-priority`, `x-delivery-limit`, and any other table + argument using small negative integers. + * **Fix codegen domain regex for exchange/queue names** — The + codegen now extends the AMQP spec regex to include characters + RabbitMQ allows in practice (`@`, `#`, `,`, `/`, `+`, space), + and fixes a bug where the trailing-comma replacement + corrupted regex patterns containing commas. + * **Full type checking with mypy and basedpyright** — Both type + checkers now pass cleanly and are enforced in pre-commit + hooks and CI. + * **`typing.ClassVar` annotations** on all class-level + attributes across base classes, command classes, body, + header, and heartbeat modules. Codegen updated to emit these + correctly. + * **Explicit submodule imports in `__init__.py`** to satisfy + basedpyright's `reportUnsupportedDunderAll` check. + * **Boolean default assignment fix in codegen** — Boolean + fields with defaults now use ternary expressions (`x if x is + not None else default`) instead of `x or default`, which + correctly preserves `False` values. + * **Modernized project tooling** — hatchling build backend, uv + for dependency management, ruff for linting/formatting, pre- + commit hooks + * **Migrated documentation from Sphinx/RST to MkDocs/Markdown** + with mkdocs-material theme and mkdocstrings for API reference + * **Converted README from RST to Markdown** with updated + badges, features, and "Used By" section + * **Updated CI** — GitHub Actions with Python 3.11-3.14 matrix, + uv-based workflow, mypy and basedpyright checks + * **Updated CONTRIBUTING.md** with current uv/ruff/pre-commit + workflow + +------------------------------------------------------------------- Old: ---- pamqp-3.3.0.tar.gz New: ---- pamqp-4.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pamqp.spec ++++++ --- /var/tmp/diff_new_pack.l9lYrp/_old 2026-04-10 23:45:10.679977967 +0200 +++ /var/tmp/diff_new_pack.l9lYrp/_new 2026-04-10 23:45:10.683978131 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pamqp # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,16 @@ Name: python-pamqp -Version: 3.3.0 +Version: 4.0.0 Release: 0 Summary: Pure-python AMQP 0-9-1 frame encoder and decoder License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/gmr/pamqp Source: https://github.com/gmr/pamqp/archive/%{version}.tar.gz#/pamqp-%{version}.tar.gz +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -60,7 +59,7 @@ %files %{python_files} %license LICENSE -%doc README.rst +%doc README.md %{python_sitelib}/pamqp %{python_sitelib}/pamqp-%{version}*-info ++++++ pamqp-3.3.0.tar.gz -> pamqp-4.0.0.tar.gz ++++++ ++++ 13474 lines of diff (skipped)
