Commit Graph

3387 Commits

Author SHA1 Message Date
Illia Volochii 51deb4bcc1 Fix PyPy CI jobs 2021-11-25 10:31:39 +06:00
Asif Saif Uddin 9cde1e86dd
update funding info's 2021-11-24 14:41:04 +06:00
pre-commit-ci[bot] be44a04014 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1)
2021-11-23 08:51:44 +06:00
Asif Saif Uddin 1f19c5557a drop as we dont use travis 2021-11-21 20:34:57 +06:00
Asif Saif Uddin 6f5849c54e
not used anymore 2021-11-19 14:32:26 +06:00
Asif Saif Uddin d20a702ec0 create security policy doc 2021-11-19 14:31:24 +06:00
Asif Saif Uddin 24a66bdf29 create codeql actions 2021-11-19 14:31:01 +06:00
Asif Saif Uddin b183f484de Bump version: 5.2.1 → 5.2.2 2021-11-16 20:23:04 +06:00
Asif Saif Uddin 42bbfbb221 update introduction docs 2021-11-16 20:20:41 +06:00
Asif Saif Uddin d13ff9dcc5 changelog for v5.2.2 2021-11-16 20:15:39 +06:00
Asif Saif Uddin 0e8f2b221a pin redis under 4.0.0 for now 2021-11-16 12:05:24 +06:00
pre-commit-ci[bot] c7e04a85dd [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/isort: 5.10.0 → 5.10.1](https://github.com/pycqa/isort/compare/5.10.0...5.10.1)
2021-11-16 12:04:53 +06:00
pre-commit-ci[bot] db306b7983 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/isort: 5.9.3 → 5.10.0](https://github.com/pycqa/isort/compare/5.9.3...5.10.0)
2021-11-09 13:29:03 +06:00
Asif Saif Uddin 5cd58a96e6 Bump version: 5.2.0 → 5.2.1 2021-11-08 06:26:02 +06:00
Asif Saif Uddin bd4a5471f6 release note v5.2.1 2021-11-08 06:22:32 +06:00
Asif Saif Uddin dc0ad27e1a
added myself to authorlist 2021-11-08 06:17:26 +06:00
Asif Saif Uddin 4fd8e5043b
uodate forumlink 2021-11-08 06:12:33 +06:00
Asif Saif Uddin f3b04558fa try latest sqs dependencies 2021-11-08 06:08:33 +06:00
Asif Saif Uddin 05820a9a2f Update librabbitmq.txt 2021-11-08 06:05:09 +06:00
Asif Saif Uddin ecd8f2f639 python !=3.12.1 2021-11-08 06:03:01 +06:00
Asif Saif Uddin 8a2d3f7df2 add python 3.10 to classifier 2021-11-06 17:51:27 +06:00
Matus Valo 94b2331cfc Bump redis version to >= 3.4.1 2021-11-06 13:28:16 +06:00
Matus Valo 34500e1e2c Added integration test of failed authentication to redis 2021-11-06 13:26:44 +06:00
Matus Valo 8391403186
Add PR number to Changelog.rst 2021-11-03 10:21:52 +01:00
Naomi Elstein 552302891a
Quick fix: current version is 5.2.0, not 5.2.01 2021-11-02 18:36:02 +02:00
Naomi Elstein b70e45da53
Bump version: 5.2.0rc1 → 5.2.0 2021-11-02 18:24:33 +02:00
Naomi Elstein 32d6008a90
5.2.0 release notes (#1417)
* Add changelog for version 5.2.0 release

* Fix anchors for versions 5.2.0rc1, 5.1.0
2021-11-02 18:16:24 +02:00
pre-commit-ci[bot] 2d3a85c184 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/yesqa: v1.2.3 → v1.3.0](https://github.com/asottile/yesqa/compare/v1.2.3...v1.3.0)
2021-10-25 22:41:15 +06:00
Matus Valo 73b10a9346 Return empty list instead of InconsistencyError when exchange table is empty
Missing redis key containg set of queues bound to queue is caused
by removal all queues from the exchange. Hence, we should not raise an
exception but just return empty list of queues instead. This commit
fixes e.g. case publishing message against empty exchange:

import kombu
conn = kombu.Connection('redis://')
exchange = kombu.Exchange('name', type='direct')
exchange.declare(channel=conn.default_channel)

producer = conn.Producer()
producer.publish(
     {'hello': 'world'},
     exchange=exchange,
     routing_key='queue1'
)

But it also fixes the case when last queue is unbound from exchange and
after publishing to this exchange:

import kombu
conn = kombu.Connection('redis://')
exchange = kombu.Exchange('name', type='direct')
queue1 = kombu.Queue('queue1', exchange=exchange, routing_key='queue1')
exchange.declare(channel=conn.default_channel)
queue1 = queue1.bind(channel=conn.default_channel)
queue1.declare()

producer = conn.Producer()
producer.publish(
     {'hello': 'world'},
     exchange=exchange,
     routing_key='queue1'
)

queue1.delete()

producer.publish(
     {'hello': 'world'},
     exchange=exchange,
     routing_key='queue1'
)
2021-10-25 07:28:10 +06:00
Matus Valo 5fefeb8b95
Dont failfast when pypy3 tests fail (#1408) 2021-10-24 20:38:48 +02:00
Asif Saif Uddin 73a5a6817d
try to fix CI (#1407)
* try to fix CI

* try without py310
2021-10-23 13:03:11 +06:00
Asif Saif Uddin 0eaba33056
add python 3.10 to CI & fix other issues (#1402)
* add python 3.10 to CI & fix other issues

* try pypy3.7
2021-10-23 12:44:27 +06:00
Asif Saif Uddin 2d655ccaa6 removre bdist 2021-10-23 12:35:03 +06:00
pre-commit-ci[bot] 6be95ed51f [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1)
2021-10-12 00:21:03 +06:00
Matus Valo 0253cfb7b2
Fix test_pidbox unittests to support non-linux platforms (#1398) 2021-10-05 22:37:59 +02:00
pre-commit-ci[bot] 88ca371bcf [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.28.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v2.28.0...v2.29.0)
2021-10-05 18:08:58 +06:00
Matus Valo 4e8f217526
fix flake8 in kombu/asynchronous/aws/connection.py (#1397)
* fix flake8 in kombu/asynchronous/aws/connection.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-10-05 18:08:07 +06:00
Matus Valo 28c8984e7d Added unittests for #1394 2021-10-05 14:02:47 +02:00
Matus Valo 96ca00f05f
Prevent caching of oid in pidbox (#1394)
oid is not cached anymore due race conditions of oid in celery. Caching
oid is causing following exception:

OperationalError("
Cannot route message for exchange 'reply.celery.pidbox': Table empty or key no longer exists.
Probably the key ('_kombu.binding.reply.celery.pidbox') has been removed from the Redis database.
",)

This exception seems to be occuring when multiple celery workers
contains same oid.
2021-10-05 14:09:30 +03:00
Asif Saif Uddin 5ef5e22638
py3.7+ on setup (#1392) 2021-09-27 21:38:44 +03:00
pre-commit-ci[bot] ee99595232
[pre-commit.ci] pre-commit autoupdate (#1393)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-09-27 21:35:17 +03:00
kaiix 580b5219cc Fix: check redis response type 2021-09-16 20:50:28 +06:00
Matus Valo 07bab02bc3
Remove dependency to case (#1389)
* Remove dependency to case

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix flake8 errors

* Remove unused code

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-09-15 21:00:08 +06:00
pre-commit-ci[bot] 7181c8841c [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0)
2021-09-14 09:24:20 +06:00
Matus Valo 79ad6c397b Fix missing dependency to redis in docs requirements 2021-09-12 11:09:06 +06:00
Matus Valo ef6ec99154 Use ANY from unittest instead of case.mock 2021-09-12 01:03:09 +02:00
Asif Saif Uddin e4fe3280ac
drop python 3.6 from CI (#1382)
* drop python 3.6 from CI

* Drop 3.6 from CI matrix.

Co-authored-by: Omer Katz <omer.drow@gmail.com>
2021-09-09 19:02:35 +03:00
Asif Saif Uddin 88a6b39db1
test new pytest version (#1383) 2021-09-08 09:40:51 +06:00
Asif Saif Uddin 54261a7a10 Merge branch 'master' of https://github.com/celery/kombu 2021-09-07 12:12:09 +06:00
Asif Saif Uddin 7cede09c17 Bump version: 5.1.0 → 5.2.0rc1 2021-09-07 12:11:22 +06:00