summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* clean setuptool imports to remove distutils import shimHEADmainAsif Saif Uddin2023-05-161-5/+1
|
* chore(requirements): improve requirements management (#1710)Stevie Gayet2023-05-163-17/+7
| | | | | | | | | * chore(py2): get rid of Python 2 specific requirements * chore(ci-windows): unify linux and windows requirements --------- Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
* Delete test-ci-py2.txtAsif Saif Uddin2023-05-161-2/+0
|
* Delete extra directoryAsif Saif Uddin2023-05-152-48/+0
|
* Update pkgutils.txtAsif Saif Uddin2023-05-151-1/+1
|
* chore(python): remove Python 3.7 support (#1708)Stevie Gayet2023-05-155-23/+12
| | | | | | | | | | * chore(python): remove Python 3.7 support * Update setup.py --------- Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com> Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
* Update pkgutils.txt (#1722)Asif Saif Uddin2023-05-151-1/+1
|
* chore(ci): fix lint job (#1718)Stevie Gayet2023-05-1534-65/+227
| | | | | | | | | | | | | | | | | | | | | | | | | * chore(ci): align python version between matrix and tox config * chore(pydocstyle): upgrade pydocstyle to 6.3.0 * chore(pydocstyle): exclude rules * fix(mypy): fix `[truthy-function]` error * fix(pydocstyle): fix D205 rule * fix(pydocstyle): fix D212 rule * fix(pydocstyle): fix D407 rule * fix(pydocstyle): fix D412 rule * fix(pydocstyle): fix D406 rule * fix(pydocstyle): fix D411 rule --------- Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
* chore(build): clean `setup.py` (#1711)Stevie Gayet2023-05-141-15/+0
| | | | | | | | | * chore(build): remove deprecated `zip_safe` parameter * chore(build): remove `cmdclass` parameter --------- Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
* chore(ci): improve CI (#1707)Stevie Gayet2023-05-141-11/+9
| | | | | | | | | * chore(ci): use pypy3.9 to get rid of useless step * chore(ci): pin setup-python to v4 --------- Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
* Update tox.ini to pin kafka imageAsif Saif Uddin2023-05-141-1/+1
|
* Update ci.yamlAsif Saif Uddin2023-05-141-6/+6
|
* update to latest ver of sbKashif Khan2023-05-131-1/+1
|
* Update sqlalchemy>=1.4.48 (#1703)Asif Saif Uddin2023-05-131-1/+1
|
* Update redis.txt to 4.3.6 to fix severe issue (#1676)Asif Saif Uddin2023-04-191-1/+1
| | | | | | | * Update redis.txt to 4.3.6 to fix severe issue * Update requirements/extras/redis.txt * Update requirements/extras/redis.txt
* Update test.txt (#1698)Asif Saif Uddin2023-04-191-1/+1
|
* SQS: avoid excessive GetQueueURL calls by using cached queue url (#1621)Tom Sparrow2023-04-193-40/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix #1618: avoid re-fetching queue URL when we already have it `_get_from_sqs` was unnecessarily calling `get_queue_url` every time even though the only place which calls `_get_from_sqs` (that is `_get_async`) actually already knows the queue URL. This change avoids hundreds of `GetQueueUrl` AWS API calls per hour when using this SQS backend with celery. Also `connection` is set by the one-and-only caller (and `queue` is actually the queue name string now anyway so couldn't ever have `.connection`) so remove the None default and unused fallback code. * Clarify that `_new_queue` returns the queue URL It seems that prior to 129a9e4ed05b it returned a queue object but this is no longer the case so update comments variable names accordingly to make it clearer. Also remove the incorrect fallback which cannot be correct any more given the return value has to be the queue URL which must be a string. * Unit test coverage for SQS async codepath This key code path (which as far as I can see is the main route when using celery with SQS) was missing test coverage. This test adds coverage for: `_get_bulk_async` -> `_get_async` -> `_get_from_sqs`
* fix mongodb transport obsolete calls (#1694)Francis Charette-Migneault2023-04-182-19/+64
| | | | | * fix mongodb transport obsolete calls + add test mock specs to check valid methods * fix linting
* [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2023-04-181-1/+1
| | | | | updates: - [github.com/PyCQA/autoflake: v2.0.2 → v2.1.0](https://github.com/PyCQA/autoflake/compare/v2.0.2...v2.1.0)
* drop codecov pypi version (#1696)Asif Saif Uddin2023-04-171-2/+1
|
* Add Semgrep CI (#1695)Tomer Nosrati2023-04-141-0/+23
| | | Co-authored-by: semgrep.dev on behalf of @Nusnus <support@r2c.dev>
* Update pkgutils.txt (#1692)Asif Saif Uddin2023-04-121-1/+1
|
* Update azureservicebus.txt (#1693)Asif Saif Uddin2023-04-121-1/+1
| | | cpython only again
* fix: handle keyerror in azureservicebus transport when message is not found ↵Ismael Jiménez Sánchez2023-04-112-14/+101
| | | | | | | | | 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
* Deprecate pytz and use zoneinfo (#1680)Maxwell Muoto2023-04-093-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update Changelog.rst 5.3.0b2 typoAsif Saif Uddin2023-04-041-1/+1
|
* Update sqs.txt typo errorAsif Saif Uddin2023-04-041-1/+1
|
* Update pkgutils.txt (#1686)Asif Saif Uddin2023-04-031-3/+3
|
* Update brotli.txt (#1685)Asif Saif Uddin2023-04-031-1/+1
|
* Update sqs.txt (#1684)Asif Saif Uddin2023-04-031-3/+3
|
* test azureservicebus pure ython beta (#1682)Asif Saif Uddin2023-04-031-1/+1
|
* use pytest-freezer (#1683)Asif Saif Uddin2023-04-011-1/+1
|
* Bump version: 5.3.0b2 → 5.3.0b3v5.3.0b3Asif Saif Uddin2023-03-204-4/+4
|
* added changelog entry for v5.3.0b3Asif Saif Uddin2023-03-201-0/+18
|
* Update azureservicebus.txt cpython only (#1674)Asif Saif Uddin2023-03-201-1/+1
| | | | | * Update azureservicebus.txt cpython only * Update azureservicebus.txt
* azure-servicebus>=7.8.3Asif Saif Uddin2023-03-201-1/+1
|
* azure-storage-queue>=12.6.0Asif Saif Uddin2023-03-191-1/+1
|
* Update sqlalchemy.txtAsif Saif Uddin2023-03-191-1/+1
|
* [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2023-03-141-1/+1
| | | | | updates: - [github.com/PyCQA/autoflake: v2.0.1 → v2.0.2](https://github.com/PyCQA/autoflake/compare/v2.0.1...v2.0.2)
* Update codeql part to v2 (#1665)Asif Saif Uddin2023-03-131-1/+1
|
* updated python versiions in CI (#1663)Asif Saif Uddin2023-03-132-24/+24
| | | | | | | | | | | | | | | * 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
* Adapt the mock to correctly mock the behaviors as implemented on Python ↵Jason R. Coombs2023-03-121-2/+6
| | | | 3.10. Ref #1663.
* docs: Add notes for kombu.utils.json.register_type (#1660)Serhii Tereshchenko2023-03-021-0/+17
| | | Refs #1590
* refactor: Refactor utils/json (#1659)Serhii Tereshchenko2023-03-022-94/+107
| | | | | | | | | | | | | | | * 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
* Remove unused `_setupfuns` from serialization.pySerhii Tereshchenko2023-03-011-12/+0
| | | | | 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.
* lets check it's compatAsif Saif Uddin2023-02-191-1/+1
|
* [pre-commit.ci] pre-commit autoupdatepre-commit-ci[bot]2023-02-071-2/+2
| | | | | | 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)
* Mark methods accepting Connection instances as suchAurelien Gateau2023-02-021-3/+4
| | | | | | | 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.
* sqlalchemy>=1.4.1,<2.1 (#1642)Asif Saif Uddin2023-02-011-1/+1
| | | | | | | * sqlalchemy==1.4.46 * Update requirements/extras/sqlalchemy.txt * bump
* support sqla v2.0 (#1651)Craig Mulligan2023-02-012-4/+4
| | | | | | | | | | | * support sqla v2.0 * Update kombu/transport/sqlalchemy/models.py * update (#1652) --------- Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>