Commit Graph

3545 Commits

Author SHA1 Message Date
Asif Saif Uddin 4a6e1647b5
test amqp v5.0.9 (#1462)
* test amqp v5.0.8

* bump to 5.0.9 in an attempt to fix the regression

* try restrict setuptool in CI

* try pining setuptools (#1466)

* try pining setuptools

* try more lower version

* try 59.7.0

* try pin to setuptools==58.2.0

* try restrict setuptool in CI

* setuptools>=59.1.1,<59.7.0
2021-12-22 09:48:08 +06:00
Asif Saif Uddin 6ddf940940
try pining setuptools (#1466)
* try pining setuptools

* try more lower version

* try 59.7.0

* try pin to setuptools==58.2.0

* try restrict setuptool in CI

* setuptools>=59.1.1,<59.7.0
2021-12-22 09:25:33 +06:00
Asif Saif Uddin c4a8c2a69f try restrict setuptool in CI 2021-12-22 09:08:31 +06:00
Asif Saif Uddin b71b4215c9 test pyaqp v5.0.7 2021-12-13 17:27:11 +06:00
Matus Valo 58975b2a95
Ensure that restore is atomic in redis transport (#1444)
* Ensure that restore is atomic in redis transport

* Fix wrong variable

* Added integration tests

* Update unittests

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

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

* Fix integration tests

* Fix flake8

* Fix queue name in int. tests

* Cosmetic clean up of integration tests

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-10 23:53:40 +01:00
n0061q 081e9e6cff
SQS transport: detect FIFO queue properly by checking queue URL (#1450)
* SQS: detect FIFO queue properly

* SQS: validate predefined queues

Co-authored-by: Yaroslav Litus <Yaroslav.Litus@F-Secure.com>
2021-12-03 09:46:41 +01:00
Asif Saif Uddin a2d7cfd8ae
tidelift action 2021-11-27 13:15:09 +06:00
Illia Volochii 40570a2860 Allow redis >= 4.0.2 2021-11-25 11:18:10 +06:00
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