Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pika for openSUSE:Factory 
checked in at 2026-06-15 19:45:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pika (Old)
 and      /work/SRC/openSUSE:Factory/.python-pika.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pika"

Mon Jun 15 19:45:01 2026 rev:24 rq:1359333 version:1.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pika/python-pika.changes  2026-05-25 
21:58:42.245655561 +0200
+++ /work/SRC/openSUSE:Factory/.python-pika.new.1981/python-pika.changes        
2026-06-15 19:48:26.936006579 +0200
@@ -1,0 +2,6 @@
+Sun Jun 14 21:57:28 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.4.1:
+  * Fix Channel.close() for channels with multiple consumers
+
+-------------------------------------------------------------------

Old:
----
  1.4.0.tar.gz

New:
----
  1.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pika.spec ++++++
--- /var/tmp/diff_new_pack.17Bsot/_old  2026-06-15 19:48:27.944048937 +0200
+++ /var/tmp/diff_new_pack.17Bsot/_new  2026-06-15 19:48:27.948049105 +0200
@@ -19,7 +19,7 @@
 %define mod_name pika
 %{?sle15_python_module_pythons}
 Name:           python-%{mod_name}
-Version:        1.4.0
+Version:        1.4.1
 Release:        0
 Summary:        Pika Python AMQP Client Library
 License:        BSD-3-Clause

++++++ 1.4.0.tar.gz -> 1.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pika-1.4.0/CHANGELOG.md new/pika-1.4.1/CHANGELOG.md
--- old/pika-1.4.0/CHANGELOG.md 2026-05-06 19:38:35.000000000 +0200
+++ new/pika-1.4.1/CHANGELOG.md 2026-05-22 19:39:45.000000000 +0200
@@ -1,5 +1,11 @@
 # Changelog
 
+## [1.4.1](https://github.com/pika/pika/tree/1.4.1) (2026-05-22)
+
+**Merged pull requests:**
+
+- Fix Channel.close() for channels with multiple consumers 
[\#1596](https://github.com/pika/pika/pull/1596) 
([gbenson](https://github.com/gbenson))
+
 ## [1.4.0](https://github.com/pika/pika/tree/1.4.0) (2026-05-06)
 
 [Full Changelog](https://github.com/pika/pika/compare/1.4.0b0...1.4.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pika-1.4.0/RELEASE.md new/pika-1.4.1/RELEASE.md
--- old/pika-1.4.0/RELEASE.md   2026-05-06 19:38:35.000000000 +0200
+++ new/pika-1.4.1/RELEASE.md   2026-05-22 19:39:45.000000000 +0200
@@ -1,19 +1,22 @@
 # Release process
 
+* Create `pika-1.5.0` branch
 * Update `CHANGELOG.md`. Be sure to use the `--since-tag X.Y.Z` argument:
     ```
-    github_changelog_generator --token ghp_XXXX --user pika --project pika 
--since-tag 1.3.2 --future-release 1.4.0
+    github_changelog_generator --token ghp_XXXX --user pika --project pika 
--since-tag 1.4.1 --future-release 1.5.0
     ```
     Review the generated file for invalid entries. More than likely you will 
have to hand-edit `CHANGELOG.md`
 * Update version in `pyproject.toml` and `pika/__init__.py`
-* Commit changes to `main` branch and push:
+* Commit changes to `pika-1.5.0` branch and push:
     ```
-    git commit -a -m 'pika 1.4.0' && git push
+    git commit -a -m 'pika 1.5.0' && git push
     ```
-* Ensure build is green
+* Open PR and ensure build is green
+* Merge PR
+* Update local `main`
 * Tag version (using your GPG keyid) and push:
     ```
-    git tag -a -s -u B1B82CC0CF84BA70147EBD05D99DE30E43EAE440 -m 'pika 1.4.0' 
'1.4.0' && git push --tags
+    git tag -a -s -u B1B82CC0CF84BA70147EBD05D99DE30E43EAE440 -m 'pika 1.5.0' 
'1.5.0' && git push --tags
     ```
 * Ensure build is green (if one triggered)
 * Note the release's milestone number, then create release via GitHub Release 
UI or `gh` command like:
@@ -22,22 +25,22 @@
     python -m build --sdist --wheel --outdir dist/ .
 
     # This creates the release on GitHub:
-    gh release create '1.4.0' --notes 'https://pypi.org/project/pika/1.4.0/ | 
[GitHub milestone](https://github.com/pika/pika/milestone/23?closed=1)' ./dist/*
+    gh release create '1.5.0' --notes 'https://pypi.org/project/pika/1.5.0/ | 
[GitHub milestone](https://github.com/pika/pika/milestone/23?closed=1)' ./dist/*
     ```
 * Ensure the publish build succeeded. Example success output looks like this:
     ```
-    Checking dist/pika-1.4.0-py3-none-any.whl: PASSED
-    Checking dist/pika-1.4.0.tar.gz: PASSED
+    Checking dist/pika-1.5.0-py3-none-any.whl: PASSED
+    Checking dist/pika-1.5.0.tar.gz: PASSED
     Uploading distributions to https://upload.pypi.org/legacy/
-    Uploading pika-1.4.0-py3-none-any.whl
+    Uploading pika-1.5.0-py3-none-any.whl
     ...
     ...
     ...
     View at:
-    https://pypi.org/project/pika/1.4.0/
+    https://pypi.org/project/pika/1.5.0/
     ```
 
-* View the release on PyPI: https://pypi.org/project/pika/1.4.0/
+* View the release on PyPI: https://pypi.org/project/pika/1.5.0/
 * Ensure the release works!
   * Start RabbitMQ
     ```
@@ -48,7 +51,7 @@
     cd path/to/pika/examples
     python -m venv venv
     source ./venv/bin/activate
-    pip install pika==1.4.0
+    pip install pika==1.5.0
     python ./asynchronous_publisher_example.py
     ```
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pika-1.4.0/pika/__init__.py 
new/pika-1.4.1/pika/__init__.py
--- old/pika-1.4.0/pika/__init__.py     2026-05-06 19:38:35.000000000 +0200
+++ new/pika-1.4.1/pika/__init__.py     2026-05-22 19:39:45.000000000 +0200
@@ -1,4 +1,4 @@
-__version__ = '1.4.0'
+__version__ = '1.4.1'
 
 import logging
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pika-1.4.0/pika/channel.py 
new/pika-1.4.1/pika/channel.py
--- old/pika-1.4.0/pika/channel.py      2026-05-06 19:38:35.000000000 +0200
+++ new/pika-1.4.1/pika/channel.py      2026-05-22 19:39:45.000000000 +0200
@@ -604,7 +604,7 @@
         self._closing_reason = exceptions.ChannelClosedByClient(
             reply_code, reply_text)
 
-        for consumer_tag in self._consumers.keys():
+        for consumer_tag in list(self._consumers.keys()):
             if consumer_tag not in self._cancelled:
                 self.basic_cancel(consumer_tag=consumer_tag)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pika-1.4.0/pyproject.toml 
new/pika-1.4.1/pyproject.toml
--- old/pika-1.4.0/pyproject.toml       2026-05-06 19:38:35.000000000 +0200
+++ new/pika-1.4.1/pyproject.toml       2026-05-22 19:39:45.000000000 +0200
@@ -4,7 +4,7 @@
 
 [project]
 name = "pika"
-version = "1.4.0"
+version = "1.4.1"
 maintainers = [
     {name = "Gavin M. Roy", email = "[email protected]"},
     {name = "Luke Bakken", email = "[email protected]"}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pika-1.4.0/tests/unit/channel_tests.py 
new/pika-1.4.1/tests/unit/channel_tests.py
--- old/pika-1.4.0/tests/unit/channel_tests.py  2026-05-06 19:38:35.000000000 
+0200
+++ new/pika-1.4.1/tests/unit/channel_tests.py  2026-05-22 19:39:45.000000000 
+0200
@@ -676,6 +676,16 @@
             # every consumer before closing the channel
             basic_cancel.assert_called_once_with(consumer_tag='abc')
 
+    def test_close_basic_cancel_called_for_all_consumers(self):
+        self.obj._set_state(self.obj.OPEN)
+        self.obj._consumers['abc'] = None
+        self.obj._consumers['def'] = None
+        with mock.patch.object(self.obj, 'basic_cancel') as basic_cancel:
+            self.obj.close()
+            assert basic_cancel.call_count == 2
+            basic_cancel.assert_any_call(consumer_tag='abc')
+            basic_cancel.assert_any_call(consumer_tag='def')
+
     def test_confirm_delivery_with_bad_callback_raises_value_error(self):
         self.assertRaises(ValueError, self.obj.confirm_delivery, 
'bad-callback')
 

Reply via email to