Commit Graph

3681 Commits

Author SHA1 Message Date
Asif Saif Uddin 95f5194a8a
Update pkgutils.txt (#1692) 2023-04-12 13:13:25 +06:00
Asif Saif Uddin eeb13091de
Update azureservicebus.txt (#1693)
cpython only again
2023-04-12 13:12:48 +06:00
Ismael Jiménez Sánchez ff031f73f2
fix: handle keyerror in azureservicebus transport when message is not found in qos and perform basic_ack (#1691)
* fix: handle keyerror when message is not found in qos and perform basic_ack

* fix: added tests for basic_ack

* fix: limit line length
2023-04-11 22:33:26 +06:00
Maxwell Muoto 9659f11ae1
Deprecate pytz and use zoneinfo (#1680)
* Main

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

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

* Fix

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

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

* Fix

* Trigger Build

* Fix

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

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

* Fix

* Fix

* noqas

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

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

* Fix

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

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

* remove unused noqa

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

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

* re-add import

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

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

* Fix

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

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

* Fixes

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

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

* use pytest-freezer (#1683)

* Main

* Trigger Build

* Fixes

* remove

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

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

* lint

* Lint

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
2023-04-09 14:08:23 +06:00
Asif Saif Uddin 2de7f9f038
Update Changelog.rst 5.3.0b2 typo 2023-04-04 21:25:09 +06:00
Asif Saif Uddin 0c9d23cc48
Update sqs.txt typo error 2023-04-04 12:53:32 +06:00
Asif Saif Uddin e52975b1ef
Update pkgutils.txt (#1686) 2023-04-03 15:44:47 +06:00
Asif Saif Uddin 2e7cf80f21
Update brotli.txt (#1685) 2023-04-03 15:38:20 +06:00
Asif Saif Uddin c7e262d82c
Update sqs.txt (#1684) 2023-04-03 15:35:57 +06:00
Asif Saif Uddin 323e32f099
test azureservicebus pure ython beta (#1682) 2023-04-03 14:06:21 +06:00
Asif Saif Uddin 1cd524f98d
use pytest-freezer (#1683) 2023-04-01 14:13:06 +06:00
Asif Saif Uddin 5636900bea Bump version: 5.3.0b2 → 5.3.0b3 2023-03-20 17:01:33 +06:00
Asif Saif Uddin b75822dfa7 added changelog entry for v5.3.0b3 2023-03-20 16:57:11 +06:00
Asif Saif Uddin 91f6b27446
Update azureservicebus.txt cpython only (#1674)
* Update azureservicebus.txt cpython only

* Update azureservicebus.txt
2023-03-20 13:51:53 +06:00
Asif Saif Uddin b310e4f8eb azure-servicebus>=7.8.3 2023-03-20 10:51:17 +06:00
Asif Saif Uddin 376e9293bf azure-storage-queue>=12.6.0 2023-03-19 15:12:59 +06:00
Asif Saif Uddin 77be6e485e Update sqlalchemy.txt 2023-03-19 13:53:07 +06:00
pre-commit-ci[bot] 841b63c30e [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/autoflake: v2.0.1 → v2.0.2](https://github.com/PyCQA/autoflake/compare/v2.0.1...v2.0.2)
2023-03-14 14:00:58 +06:00
Asif Saif Uddin d66c5ced20
Update codeql part to v2 (#1665) 2023-03-13 11:22:16 +06:00
Asif Saif Uddin 208eccefd4
updated python versiions in CI (#1663)
* updated python versiions in CI

* updated python versiions in CI with

* updated tox

* updated ci

* Update .github/workflows/ci.yaml

* Update .github/workflows/ci.yaml

* Update .github/workflows/ci.yaml
2023-03-13 10:57:16 +06:00
Jason R. Coombs c310364cc0 Adapt the mock to correctly mock the behaviors as implemented on Python 3.10. Ref #1663. 2023-03-12 22:33:37 +06:00
Serhii Tereshchenko 35f24f1f01
docs: Add notes for kombu.utils.json.register_type (#1660)
Refs #1590
2023-03-02 16:11:03 +02:00
Serhii Tereshchenko 6fe50f5985
refactor: Refactor utils/json (#1659)
* refactor: Refactor utils/json

* Update kombu/utils/json.py

* Update kombu/utils/json.py

* chore: Use older syntax (no walrus)

* chore: Update doscstrings

* chore: Fix pydocstyle complaints

* chore: Restore previous docstring
2023-03-02 16:18:21 +06:00
Serhii Tereshchenko b4c033d556 Remove unused `_setupfuns` from serialization.py
Looks like `_setupfuns` is unused and should be removed.

If they're used somehow, please explain how, so i can add comment here to avoid future confusion.
2023-03-01 20:54:33 +06:00
Asif Saif Uddin 21d7df29c7 lets check it's compat 2023-02-19 18:07:51 +06:00
pre-commit-ci[bot] e15b6fbd3b [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/autoflake: v2.0.0 → v2.0.1](https://github.com/PyCQA/autoflake/compare/v2.0.0...v2.0.1)
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](https://github.com/pycqa/isort/compare/5.11.4...5.12.0)
2023-02-07 16:11:50 +06:00
Aurelien Gateau 08a997439d Mark methods accepting Connection instances as such
In MaybeChannelBound, the `__call__()`, `bind()` and `maybe_bind()` methods
takes a channel argument. The type annotation say this argument must be a
Channel, but it goes through `maybe_channel()`, so it can also be a
Connection. Update the annotation to accept both Channel and Connection.
2023-02-02 20:14:19 +06:00
Asif Saif Uddin 16b8641c32
sqlalchemy>=1.4.1,<2.1 (#1642)
* sqlalchemy==1.4.46

* Update requirements/extras/sqlalchemy.txt

* bump
2023-02-01 21:47:05 +06:00
Craig Mulligan f907105b72
support sqla v2.0 (#1651)
* support sqla v2.0

* Update kombu/transport/sqlalchemy/models.py

* update (#1652)

---------

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
2023-02-01 21:32:45 +06:00
Asif Saif Uddin c62bdee24e
update (#1652) 2023-02-01 18:10:16 +06:00
Jason Barnett d3ca0d562e azure service bus: add type annotations and use cached property 2023-01-05 00:34:46 +06:00
Jason Barnett 54cd277bc3 add type annotations to kombu/transport/azurestoragequeues 2023-01-03 13:54:25 +06:00
Jason Barnett bdd0672a58
add --keep-runtime-typing argument to pyupgrade (#1639)
Per https://github.com/celery/kombu/pull/1632 @thedrow asked to add this argument so `Optional` is still used.
2023-01-02 20:42:23 +02:00
pre-commit-ci[bot] 3722f6fa18
[pre-commit.ci] pre-commit autoupdate (#1635)
updates:
- [github.com/pycqa/isort: v5.11.3 → 5.11.4](https://github.com/pycqa/isort/compare/v5.11.3...5.11.4)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-01-02 19:33:52 +02:00
Omer Katz db8e5cc36e Switch references to master to main 2022-12-29 17:39:21 +06:00
Jason Barnett 6593a2d7ea
add autoflake to .pre-commit-config.yaml to automatically remove unused imports (#1637)
* add autoflake to .pre-commit-config.yaml to automatically remove unused imports

* [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>
2022-12-28 00:15:28 +06:00
Jason Barnett 4fac6bc84c
add managed identity support to azure storage queue (#1631)
* add managed identity support to azure storage queue

* flake8 fixes
2022-12-27 00:51:47 +06:00
Asif Saif Uddin 7787696737
redis==4.3.4 temporarilly in an attempt to avoid bc (#1634)
* redis==4.3.4 temporarilly in an attempt to avoid bc

* redis>=4.2.2,<4.4.0
2022-12-27 00:36:31 +06:00
pre-commit-ci[bot] a3de6f66c1 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/isort: 5.10.1 → v5.11.3](https://github.com/pycqa/isort/compare/5.10.1...v5.11.3)
2022-12-20 00:09:23 +06:00
Tomer Nosrati 44025bfa52
Allowing `Connection.ensure()` to retry on specific exceptions given by policy (#1629)
* Added unit test: test_ensure_retry_errors_is_not_looping_infinitely()

* Added unit test: test_ensure_retry_errors_is_limited_by_max_retries()

* Added retry_errors arg to Connection.ensure() to allow applying retry policy for specific errors additionally
2022-12-18 12:34:57 +02:00
pre-commit-ci[bot] 9ee6fdea7d [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.3.1)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
2022-12-14 18:22:41 +06:00
Asif Saif Uddin 913d01ffa5
sqlalchemy==1.4.45 (#1626)
* pin sqlalchemy==1.4.44

* sqlalchemy==2.0.0b4

* sqlalchemy==1.4.45
2022-12-14 14:11:35 +06:00
Tomer Nosrati 0c4f9500d8 Added .python-version and .vscode to gitignore 2022-12-14 12:48:00 +06:00
pre-commit-ci[bot] 2bdeba1d76 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.1.0 → v3.2.0](https://github.com/asottile/pyupgrade/compare/v3.1.0...v3.2.0)
2022-11-05 10:53:25 +06:00
Frazer McLean c297e421e0 Use SPDX license expression in project metadata 2022-10-29 13:27:35 +06:00
Asif Saif Uddin 6e0d26d510 Bump version: 5.3.0b1 → 5.3.0b2 2022-10-19 20:01:00 +06:00
Asif Saif Uddin 8b55c71beb added changelog entry for v5.3.0b2 2022-10-19 19:54:51 +06:00
pre-commit-ci[bot] 6953404d0a [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.0.0 → v3.1.0](https://github.com/asottile/pyupgrade/compare/v3.0.0...v3.1.0)
2022-10-19 14:23:46 +06:00
David Bossanyi 22b559684f
Allow azurestoragequeues transport to be used with Azurite emulator in docker-compose (#1611)
* Parse credential as a dict when using Azurite emulator

This more flexible credential allows the use of Azurite for integration testing in local docker-compose configurations.

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

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

* Fix some lint errors

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-16 20:43:15 +06:00
pre-commit-ci[bot] c7615fc537 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.37.1 → v3.0.0](https://github.com/asottile/pyupgrade/compare/v2.37.1...v3.0.0)
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.4](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.4)
- [github.com/asottile/yesqa: v1.3.0 → v1.4.0](https://github.com/asottile/yesqa/compare/v1.3.0...v1.4.0)
2022-10-13 19:56:51 +06:00