Skip to content

Commit 6db88b6

Browse files
authored
Merge branch 'main' into main
2 parents dfdba33 + cad0bfd commit 6db88b6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1678
-700
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 5.5.0rc3
2+
current_version = 5.5.4
33
commit = True
44
tag = True
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<releaselevel>[a-z]+)?

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ omit =
99
*/python?.?/*
1010
*/site-packages/*
1111
*/pypy/*
12-
*kombu/async/http/urllib3_client.py
12+
*kombu/async/http/curl.py
1313
*kombu/five.py
1414
*kombu/transport/mongodb.py
1515
*kombu/transport/filesystem.py

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
python-version: ["3.13"]
2121
steps:
2222
- name: Install system packages
23-
run: sudo apt-get update && sudo apt-get install libssl-dev
23+
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev
2424
- name: Check out code from GitHub
2525
uses: actions/checkout@v4
2626
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/python-package.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
37-
os: ["blacksmith-4vcpu-ubuntu-2204"]
37+
os: ["blacksmith-4vcpu-ubuntu-2404"]
3838

3939
steps:
4040
- name: Install apt packages
4141
if: startsWith(matrix.os, 'blacksmith-4vcpu-ubuntu')
42-
run: sudo apt-get update && sudo apt-get install libssl-dev
42+
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev
4343
- uses: actions/checkout@v4
4444
- name: Set up Python ${{ matrix.python-version }}
4545
uses: useblacksmith/setup-python@v6
@@ -59,6 +59,12 @@ jobs:
5959
tox --verbose --verbose -e
6060
"${{ matrix.python-version }}-unit" -vv
6161
62+
- name: Upload test results to Codecov
63+
if: ${{ !cancelled() }} # Run even if tests fail
64+
uses: codecov/test-results-action@v1
65+
with:
66+
token: ${{ secrets.CODECOV_TOKEN }}
67+
6268
- uses: codecov/codecov-action@v5
6369
with:
6470
fail_ci_if_error: false # optional (default = false)
@@ -70,7 +76,7 @@ jobs:
7076
- Unit
7177
if: needs.Unit.result == 'success'
7278

73-
runs-on: blacksmith-4vcpu-ubuntu-2204
79+
runs-on: blacksmith-4vcpu-ubuntu-2404
7480
strategy:
7581
fail-fast: false
7682
matrix:
@@ -98,7 +104,7 @@ jobs:
98104

99105
steps:
100106
- name: Install apt packages
101-
run: sudo apt-get update && sudo apt-get install libssl-dev
107+
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev
102108

103109
- uses: actions/checkout@v4
104110
- name: Set up Python ${{ matrix.python-version }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ env
3939
.coverage.*
4040
control/
4141
.env
42+
.hypothesis/*
43+
junit.xml

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Adam Gaca <[email protected]>
77
Adam Nelson <[email protected]>
88
Adam Wentz
99
Alan Justino <[email protected]>
10+
Alex Jones
1011
Alex Koshelev <[email protected]>
1112
Alexandre Bourget <[email protected]>
1213
Anastasis Andronidis <[email protected]>
@@ -60,6 +61,7 @@ Gregory Haskins <[email protected]>
6061
Hank John <[email protected]>
6162
haridsv
6263
Hong Minhee <[email protected]>
64+
Hunter Fernandes <[email protected]>
6365
6466
Ian Struble <[email protected]>
6567
Ionel Maries Cristian <[email protected]>

Changelog.rst

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,166 @@
44
Change history
55
================
66

7+
.. _version-5.5.4:
8+
9+
5.5.4
10+
=====
11+
:release-date: 01 June, 2025
12+
:release-by: Tomer Nosrati
13+
14+
What's Changed
15+
~~~~~~~~~~~~~~
16+
17+
- chore: add Codecov test analytics (#2290)
18+
- Added DeepWiki to README (#2295)
19+
- redis.connection.ConnectionPool API change: get_connection does not accept arguments (#2294)
20+
- Update mongodb.txt to match celery version (#2297)
21+
- Update ubuntu version as per blacksmiths update (#2301)
22+
- Resolve logger warnings (#2302)
23+
- Fixed lint error from `kombu/transport/native_delayed_delivery.py` (#2308)
24+
- Prepare for release: v5.5.4 (#2309)
25+
26+
.. _version-5.5.2:
27+
28+
.. _version-5.5.3:
29+
30+
5.5.3
31+
=====
32+
:release-date: 16 Apr, 2025
33+
:release-by: Tomer Nosrati
34+
35+
What's Changed
36+
~~~~~~~~~~~~~~
37+
38+
- Fix error of double normalization options from URI in mongodb transport (#2282)
39+
- Move use of typing_extensions into TYPE_CHECKING block (#2283)
40+
- Do not pin package tzdata anymore (#2274)
41+
- Typo in pools's documentation (#2285)
42+
- Prepare for release: v5.5.3 (#2288)
43+
44+
.. _version-5.5.2:
45+
46+
5.5.2
47+
=====
48+
:release-date: 31 Mar, 2025
49+
:release-by: Tomer Nosrati
50+
51+
What's Changed
52+
~~~~~~~~~~~~~~
53+
54+
- Bump tzdata from 2025.1 to 2025.2 (#2268)
55+
- Downgrad kafka version to make the CI green again (#2271)
56+
- Attempt to fix retry loop in `maybe_declare()` when broken connection (#2275)
57+
- Prepare for release: v5.5.2 (#2278)
58+
59+
.. _version-5.5.1:
60+
61+
5.5.1
62+
=====
63+
:release-date: 24 Mar, 2025
64+
:release-by: Tomer Nosrati
65+
66+
What's Changed
67+
~~~~~~~~~~~~~~
68+
69+
- Update trove classifier with missing python 3.13 (#2262)
70+
- Fix native_delayed_delivery for queue with explicit bindings (#2263)
71+
- SQS: Fix Query Protocol Content-Type header (#2266)
72+
- SQS: More Protocol Tests (#2267)
73+
- Prepare for release: v5.5.1 (#2270)
74+
75+
.. _version-5.5.0:
76+
77+
5.5.0
78+
=====
79+
:release-date: 13 Mar, 2025
80+
:release-by: Tomer Nosrati
81+
82+
Key Highlights
83+
~~~~~~~~~~~~~~
84+
85+
Native Delayed Delivery
86+
-----------------------
87+
88+
Official support to `RabbitMQ Delayed Delivery <https://docs.particular.net/transports/rabbitmq/delayed-delivery>`_,
89+
which is required to enable ETA tasks with quorum queues in Celery.
90+
91+
urllib3 instead of curl
92+
-----------------------
93+
94+
We can finally say goodbye to the :pypi:`pycurl` dependency and use :pypi:`urllib3` instead.
95+
96+
Transport: Google Pub/Sub
97+
-------------------------
98+
99+
New support for Google Pub/Sub as a transport broker.
100+
101+
What's Changed
102+
~~~~~~~~~~~~~~
103+
104+
- Pin tzdata to latest version 2024.2 (#2121)
105+
- Refactored CI (#2122)
106+
- Added unit tests to "tox -e parallel" environment (#2123)
107+
- Improve pre-commit checks and fix all new lint errors (#2124)
108+
- Removed codecov flags (#2126)
109+
- Pin pre-commit to latest version 3.8.0 (#2125)
110+
- Limit redis-py <5.1.0 (#2132)
111+
- Removed "on push" from the linter GitHub Actions workflow (#2133)
112+
- Bump pymongo from 4.9.1 to 4.10.0 (#2130)
113+
- Update pymongo to 4.10.1 (#2136)
114+
- fix(pytest): skip file-lock test on Windows (#2138)
115+
- Apply errback and callback when retry occurs (#2129)
116+
- Pin pre-commit to latest version 4.0.0 (Python 3.9+) (#2140)
117+
- Pin pre-commit to latest version 4.0.1 (#2144)
118+
- Add native delayed delivery API to kombu (#2128)
119+
- Add support for Google Pub/Sub as transport broker (#2147)
120+
- Update the transport options according to the retry policy (#2148)
121+
- Feature: urllib3 instead of curl (#2134)
122+
- Update mypy to 1.12.0 (#2149)
123+
- Prepare for (pre) release: v5.5.0rc1 (#2150)
124+
- Added missing changelog highlight for Google Pub/Sub (#2151)
125+
- Bump grpcio from 1.66.2 to 1.67.0 (#2158)
126+
- Fix: restrict google-cloud-pubsub version (#2160)
127+
- Update mypy to 1.12.1 (#2164)
128+
- Added a unit test that proves timeout is used when retry policy is specified (#2166)
129+
- Fix regression from #2148 (#2165)
130+
- Update google-cloud-pubsub requirement from <=2.20.3,>=2.18.4 to >=2.18.4,<=2.25.2 (#2168)
131+
- Revert "Update google-cloud-pubsub requirement from <=2.20.3,>=2.18.4 to >=2.18.4,<=2.25.2" (#2169)
132+
- Update mypy to 1.13.0 (#2172)
133+
- Fix: restrict google protobuf version (#2175)
134+
- Add support for Python 3.13 (#2052)
135+
- Apply retry policy to maybe_declare() (#2174)
136+
- Pin redis to >=4.5.2,!=4.5.5,!=5.0.2,<=5.2.0 (#2178)
137+
- Added confirm_timeout argument to publish() (#2167)
138+
- Prepare for (pre) release: v5.5.0rc2 (#2181)
139+
- Bump pytest-cov from 5.0.0 to 6.0.0 (#2183)
140+
- Add documentation for debug logs environment variables (#2186)
141+
- Add documentation for py-amqp transport options (#2187)
142+
- Bump codecov/codecov-action from 4 to 5 (#2189)
143+
- Update pytest to 8.3.4 (#2196)
144+
- Update redis requirement from !=4.5.5,!=5.0.2,<=5.2.0,>=4.5.2 to >=4.5.2,!=4.5.5,!=5.0.2,<=5.2.1 (#2203)
145+
- Close connections in case of an exception (#2201)
146+
- Bump pytest-freezer from 0.4.8 to 0.4.9 (#2205)
147+
- Bump mypy from 1.13.0 to 1.14.0 (#2211)
148+
- fix(sqs): don't crash on multiple predefined queues with aws sts session (#2224)
149+
- Bump mypy from 1.14.0 to 1.14.1 (#2215)
150+
- Bump tzdata from 2024.2 to 2025.1 (#2230)
151+
- fix: interpret the ssl_check_hostname as a boolean (#2229)
152+
- Revert "Resolving TypeError, during version unpacking " (#2225)
153+
- Bump flake8 from 7.1.1 to 7.1.2 (#2244)
154+
- Prepare for (pre) release: v5.5.0rc3 (#2247)
155+
- Bump pytest from 8.3.4 to 8.3.5 (#2253)
156+
- Update delayed_infra example for better clarity (#2252)
157+
- SQS: Support Async JSON SQS Protocol & Message Attributes (#2226)
158+
- Prepare for release: v5.5.0 (#2255)
159+
160+
Changes since 5.5.0rc3
161+
----------------------
162+
163+
- Bump pytest from 8.3.4 to 8.3.5 (#2253)
164+
- Update delayed_infra example for better clarity (#2252)
165+
- SQS: Support Async JSON SQS Protocol & Message Attributes (#2226)
166+
7167
.. _version-5.5.0rc3:
8168

9169
5.5.0rc3

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
|build-status| |coverage| |license| |wheel| |pyversion| |pyimp| |downloads|
66

7-
:Version: 5.5.0rc3
7+
:Version: 5.5.4
88
:Documentation: https://kombu.readthedocs.io/
99
:Download: https://pypi.org/project/kombu/
1010
:Source: https://github.com/celery/kombu/
11+
:DeepWiki: |deepwiki|
1112
:Keywords: messaging, amqp, rabbitmq, redis, mongodb, python, queue
1213

1314
About
@@ -350,9 +351,16 @@ file in the top distribution directory for the full license text.
350351
.. |pyimp| image:: https://img.shields.io/pypi/implementation/kombu.svg
351352
:alt: Support Python implementations.
352353
:target: https://pypi.org/project/kombu/
354+
353355
.. |downloads| image:: https://pepy.tech/badge/kombu
354356
:target: https://pepy.tech/project/kombu
355357

358+
.. |deepwiki| image:: https://devin.ai/assets/deepwiki-badge.png
359+
:alt: Ask http://DeepWiki.com
360+
:target: https://deepwiki.com/celery/kombu
361+
:width: 125px
362+
363+
356364
kombu as part of the Tidelift Subscription
357365
=======
358366

SECURITY.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
## Supported Versions
44

5-
65
| Version | Supported |
76
| ------- | ------------------ |
8-
| 5.2.x | :white_check_mark: |
9-
| 5.0.x | :x: |
10-
| 5.1.x | :white_check_mark: |
7+
| 5.5.x | :white_check_mark: |
8+
| 5.4.x | :x: |
9+
| 5.3.x | :x: |
10+
| 5.2.x | :x: |
11+
| 5.1.x | :x: |
1112
| < 5.0 | :x: |
1213

1314
## Reporting a Vulnerability
1415

15-
Please report vulnerability issues directly to [email protected]
16-
17-
16+
Please reach out to [email protected] or [email protected] for reporting security concerns via email.

docs/includes/introduction.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:Version: 5.5.0rc3
1+
:Version: 5.5.4
22
:Web: https://kombu.readthedocs.io/
33
:Download: https://pypi.org/project/kombu/
44
:Source: https://github.com/celery/kombu/

0 commit comments

Comments
 (0)