Commit Graph

117 Commits

Author SHA1 Message Date
Roman Inflianskas c48be8800d
Add support for Python 3.13 (#2052)
Fixes https://github.com/celery/kombu/issues/2051.
2024-10-23 22:47:49 +03:00
Haim Daniel 2f58823312
Add support for Google Pub/Sub as transport broker (#2147)
* Add support for Google Pub/Sub as transport broker

 * Add tests
 * Add docs

* flake8

* flake8

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

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

* Fix future import

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

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

* Add missing test requirements

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

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

* Add monitoring dependency

* Fix test for python3.8

* Mock better google's monitoring api

* Flake8

* Add refdoc

* Add extra url to workaround pypy grpcio

* Add extra index url in tox for grpcio/pypy support

* Revert "Add extra url to workaround pypy grpcio"

This reverts commit dfde4d523c.

* pin grpcio version to match extra_index wheel

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

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

* Reduce poll calls if qos denies msg rx

---------

Co-authored-by: Haim Daniel <haimdaniel@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tomer Nosrati <tomer.nosrati@gmail.com>
2024-10-13 16:49:55 +03:00
Tomer Nosrati e845d5bf3a
Added unit tests to "tox -e parallel" environment (#2123) 2024-09-25 21:19:46 +03:00
Tomer Nosrati 3448887f78
Refactored CI (#2122)
* Refactored CI

* Added test-integration.txt for integration tests

* Removed .tox from "make clean"

* Fixed pypy

* Cleanup

* Added "--reruns 2" to integration tests
2024-09-25 21:10:28 +03:00
Tomer Nosrati eae75855e0
Limit requests<2.32.0 due to docker-py issue 3256 (#2011)
* Limit requests<2.32.0 due to docker-py issue 3256

* Limit rabbitmq docker image to 3.12

* Revert "Limit rabbitmq docker image to 3.12"

This reverts commit 9b9d6a05c2.

* Limit tox-docker<=4.1 and requests<2.32.0 in tox.ini
2024-05-29 21:21:05 +03:00
Asif Saif Uddin 85abaa635a
Bump kafka deps versions & fix integration test failures (#1818)
* Bump kafka deps versions

* adjust import

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

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

* added missing tox python 3.12 env for kafka

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-06 18:13:27 +06:00
Asif Saif Uddin 6c8e7e6b28
added Python 3.12 in the CI (#1812)
* added Python 3.12 in the CI

* try to make kafka work on py3.12

* skip kafka for the time being as it seems not woring with py3.12 yet

* using assert_called_once()
2023-10-18 15:50:39 +06:00
Stevie Gayet 2ebb698932
chore(requirements): improve requirements management (#1710)
* 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>
2023-05-16 19:34:34 +06:00
Stevie Gayet 5e30a6941f
chore(python): remove Python 3.7 support (#1708)
* 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>
2023-05-15 09:23:25 +06:00
Stevie Gayet c03335e167
chore(ci): fix lint job (#1718)
* 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>
2023-05-15 08:11:34 +06:00
Asif Saif Uddin defd50f7f2 Update tox.ini to pin kafka image 2023-05-14 13:22:55 +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
Asif Saif Uddin 341da74342
[gh-actions] 2022-04-27 14:02:38 +06:00
CountRedClaw 33e8e5a781
Kafka support (#1506)
* Add kafka support

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

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

* Fix checks

* Fix checks

* Update kombu/transport/confluentkafka.py

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>

* Add customization ability

* Add docs

* Fix pypi integration tests

* Fix pydocstyle

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

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

* Cleanup

* Disable PyPy tests

* Fix tests

* Add docs

Co-authored-by: ilbo0518 <ilia.borsuk@netcracker.com>
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>
2022-04-21 23:40:41 +06:00
Jakub Pieńkowski 661d92222e
Support pymongo 4.x (#1536)
* Support pymongo 4.x

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

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

* Fix problems detected by CI

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-18 18:10:38 +06:00
Marcelo Trylesinski ea11a0b787
Add `mypy` to the pipeline (#1512)
* Add `mypy` to the pipeline

* [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-04-09 12:05:57 +06:00
Illia Volochii 51deb4bcc1 Fix PyPy CI jobs 2021-11-25 10:31:39 +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 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
Michał Bielawski 4f77faab77 Add support for Python 3.9 2021-07-31 10:27:29 +06:00
Matus Valo 39ccacf0dc
Add Github Actions CI (#1309)
* Implement CI is github actions

* Skip failing pypy3 unittests

* Added integration tests
2021-03-07 18:53:25 +06:00
Asif Saif Uddin c19693902c attempt to update to tox docker 2.0 2021-02-01 23:21:59 +06:00
Omer Katz f557e253b2 Update tox. 2020-09-06 18:21:31 +03:00
Omer Katz 3495d64810 Merge branch 'master' into remove-python2-support 2020-07-30 18:24:05 +03:00
Omer Katz 6134d80270 Drop testing for Python < 3.6. 2020-07-30 16:43:51 +03:00
Christian Clauss b4581289fa
tox.ini: Lint on Python, not on legacy Python (#1217)
* tox.ini: Lint on Python, not on legacy Python

* Travis CI: Lint on Python, not on legacy Python

* Update .travis.yml

* Update .travis.yml

Co-authored-by: Omer Katz <omer.drow@gmail.com>

* flakeplus only works on legacy Python

Co-authored-by: Omer Katz <omer.drow@gmail.com>
2020-07-28 16:00:43 +03:00
Matus Valo 75667082e0 Initial redis integration tests implementation 2020-05-03 09:39:28 +06:00
Matus Valo 1b89912a83 Enable integration tests for all versions of python in travis 2020-04-30 10:43:50 +06:00
Matus Valo 3155e9407f Added integration testing infrastructure for RabbitMQ 2020-04-30 10:43:50 +06:00
Shai Berger 16531285d5
Issue 701 (#1141)
* Make Redis-Mutex test fail as it should (#701)

See https://github.com/celery/kombu/issues/701

* Fix issue #701 - decode lock_id returned from Redis

Thanks @zaro
2020-02-02 21:10:56 +06:00
Omer Katz 62f4e2ce07 Added Python 3.8 support. 2019-10-22 23:28:29 +03:00
Bruno Alla ee4e7bd29b Fix broken build steps (#1062)
* Fix broken build steps

- Fix pydocstyle linting error
- Move apicheck to Python 3 to be able to install Sphinx 2.0+
  The rest will be moved when Python 2 is dropped

* Move pydocstyle linting steps to Python 3.6
2019-06-16 22:45:52 +06:00
Asif Saif Uddin 9f66a26c3f
drop py34 2019-05-22 14:53:59 +06:00
Omer Katz e83f1c5371 Fix windows build (#1044)
* Fix requirements for CI.

* Try to skip PyCurl on Windows CI when testing 3.7.

* Fix apicheck job.
2019-05-16 00:37:18 +06:00
Omer Katz d8d523510b Make tox pick the correct compiler for Windows. 2019-04-03 11:52:30 +03:00
Omer Katz 3e60e6503a Avoid pip version check. 2019-03-03 22:33:51 +02:00
Omer Katz 9dd7e7ae1f Bump PyPy to 6.0. Add PyPy3 to the build process. (#986) 2019-01-10 09:48:06 +06:00
Omer Katz 3ee3e2f48c revert. 2019-01-09 23:20:36 +02:00
Omer Katz 08771f7b05 Run flake8 with two jobs. 2019-01-09 22:56:12 +02:00
Omer Katz 05878d6790 Run sphinx checks with two jobs. 2019-01-09 16:47:52 +02:00
Asif Saif Uddin (Auvi) ddb0c8ffad
Jython (#915)
* drop jython from tox

* drop jython from setup.py
2018-09-05 18:42:04 +06:00
Omer Katz b59bf1b679
Added Python 3.7 to the build matrix (#908)
* Run tests with Python 3.7.

* Add missing dependencies.

* Show skip reasons.

* Add more dependencies to CI tests.

* Fix requirements.
2018-08-16 07:53:25 -05:00
Omer Katz c1351f59df
Use pytest-sugar for output. 2018-05-20 11:02:41 +03:00
Thomas Achtemichuk 75695205f6 Rename `async` keyword to `asynchronous` (#839)
* Rename `async` keyword to `asynchronous`

* Fixes #742
* Resolves "DeprecationWarning: 'async' and 'await' will become reserved
  keywords in Python 3.7"

* Address PR feedback

* Update appveyor config

* Rename docs and tests
2018-03-19 19:28:43 +02:00
Omer Katz dba85e2d95
Always report coverage (#837)
* Always report coverage.

* Remove useless coverage env run.

* Remove useless cov testenv.
2018-03-05 23:47:28 +02:00
Jon Dufresne ba82a72c21 Add Python 3.6 to CI testing (#716)
Enabled pip cache for Travis CI
2017-04-17 10:24:52 +06:00
Dima Kurguzov bf820b20b0 Fix byte string for kazoo.Queue in Python 3 (#713)
* Fix byte string for kazoo.Queue in Python 3

* Add test for message conversion to bytes in ZooKeeper channel
2017-04-12 11:24:04 +06:00
Ask Solem 0513fd8bef CI: Removes pypy3 target 2016-11-21 14:48:44 -08:00
Ask Solem b6893da353 Moves pydocstyle config to setup.cfg 2016-10-11 13:33:10 -07:00
Ask Solem 0cc7a517fa Fixes flakes 2016-10-11 12:48:50 -07:00