Commit Graph

26 Commits

Author SHA1 Message Date
Asif Saif Uddin a5a04e169b Update pycurl version 2023-06-07 17:32:16 +06:00
Asif Saif Uddin a67debb9f3
Update test-ci.txt (#1736)
* Update test-ci.txt

* Update requirements/test-ci.txt

* Update requirements/test-ci.txt

* Update requirements/test-ci.txt

* Update requirements/test-ci.txt

* Update requirements/test-ci.txt
2023-05-31 09:50:10 +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
Asif Saif Uddin 8d3edf77b5
drop codecov pypi version (#1696) 2023-04-17 14:03:22 +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
Asif Saif Uddin 1f19c5557a drop as we dont use travis 2021-11-21 20:34:57 +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
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 ba6850f649 Added pytest-travis-fold to clean up CI output. 2019-03-03 21:39:55 +02:00
Omer Katz 627964c804
Added optional support for zstd compression. (#985) 2019-01-13 09:44:44 +02:00
Omer Katz 93a05f7261
Added optional support for brotli compression (#983)
* Added optional support for brotli compression.

* Ignore import error for coverage purposes.
2019-01-09 19:05:02 +02:00
Clemens Wolff 32633554ac Add transports based on Azure PaaS (#891)
* Add transports based on Azure PaaS

This pull request adds two new transport implementations:

- `azurestoragequeues` is implemented on top of Azure Storage
  Queues [1]. This offers a simple but scalable and low-cost PaaS
  transport for Celery users in Azure. The transport is intended to be
  used in conjunction with the Azure Block Blob Storage backend [2].

- `azureservicebus` is implemented on top of Azure Service Bus [3] and
  offers PaaS support for more demanding Celery workloads in Azure. The
  transport is intended to be used in conjunction with the Azure
  CosmosDB backend [4].

This pull request was created together with @ankurokok, @dkisselev,
@evandropaula, @martinpeck and @michaelperel.

[1] https://azure.microsoft.com/en-us/services/storage/queues/
[2] https://github.com/celery/celery/pull/4685
[3] https://azure.microsoft.com/en-us/services/service-bus/
[4] https://github.com/celery/celery/pull/4720

* Exclude Azure transports from code coverage

There is test coverage for the transports but the tests require Azure
credentials to run (passed via environment variables) so codecov doesn't
exercise them.

* Remove env vars to configure transport

* Remove abbreviations
2018-08-30 23:34:52 +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
Amin Ghadersohi be79b3d4cd Re-Adding support for sqlalchemy as it is needed by Apache project Airflow (#687)
* Re-Adding support for sqlalchemy as it is needed by Apache project Airflow

* Re-Adding support for sqlalchemy as it is needed by Apache project Airflow
2017-05-17 14:17:47 +06:00
Mischa Spiegelmock 129a9e4ed0 Switching to boto3 only (#693)
* Switch Boto2 to Boto3 for SQS messaging

* Fixed region support

* Add SQS FIFO queue support

* Add sensible defaults for message attributes

* Asynchronous support, plus boto3 for region endpoint lookups

* Clean up imports

* Fix Python 2 support

* Fix receive_message tests

* Reformat docstring

* boto3 import changes for CI

* skip tests if boto3 not installed

* skip tests if boto3 not installed

* flake8

* noboto

* ditching boto2. got queue URL fetching, async HTTP request generation and signing working.

* request signing working kinda

* async parsing of SQS message response more or less working

* botocore sqs dep

* ripping out more old boto2 stuff

* removing tests that are no longer valid with boto3/SQS

* fix boto3 dep, min version and no botocore

* no boto2 for test

* cleaning up some SQS tests. fixing header parsing of response to msg

* fixing some sqs tests

* removing response-parsing tests that are no longer necessary as we're using the botocore response parsing machinery instead of implementing SAX parsing in kombu.

* fixing more SQS tests

* wants a region

* trying to fix py2 parsing of sqs message

* lint

* py2/py2 message header parsing stupidness

* forgot

* python 2 sux

* flake8

* Import boto3 from the right place

* Changes

* Update encode fuction

* Fix lint

* remove some unused things

* removing unused stuff

* ugh

* ugh

* ugh

* landscape ignoring

* shut up, landscape
2017-04-14 11:22:18 +06:00
Ask Solem 6d72e40e5b Rewrite tests to use py.test
NOTE: test_qpid was removed as it's breaking horribly.
It's currently trying to import symbols from kombu.transport.qpid
that don't exist.

assertRaises -> pytest.raises

assertTrue

assertTrue - multiline

assertFalse

assertFalse - multiline

assertIsNone

assertIsNone - multiline

assertEqual

assertEqual - multiline

assertNotEqual

assertNotEqual - multiline

assertGreater - multiline

assertIn

assertIn - multiline

assertNotIn

assertNotIn - multiline

assertIsInstance

assertIsInstance - multiline

assertIsNot

assertIsNot - multiline

assertIsNotNone

assertIs

assertIs - multiline

Manual changes

Now depends on case 1.3.1
2016-08-23 11:38:54 -07:00
Ask Solem f6a54fc19c [reqs] Reorganize ci requirements 2016-04-11 12:48:51 -07:00
Ask Solem c9d00b4bab [tox] Try to use celery tox config 2016-04-08 19:37:44 -07:00
Ask Solem 60edb10e5f Make sure tests run without boto and pycurl 2014-05-03 22:28:51 +01:00
Ask Solem 60a5c63cb6 Support for coveralls 2014-02-09 15:47:11 +00:00
Matt Wise 9cc58c877e Add boto to the requirements for TravisCI tests 2013-12-03 08:47:22 -08:00
Ask Solem f70013de8a Adds redis to CI test requirements 2013-09-12 18:07:51 +01:00
Ask Solem 5c92e93c9b Now depends on msgpack > 0.2.0 2012-11-12 17:04:40 +00:00
Ask Solem 8d050610df setup.cfg requires nose-cover3 2012-08-29 12:51:34 +01:00
Ask Solem 3b5cbc906e Cleans up test requirements 2012-08-29 12:43:00 +01:00