Commit Graph

84 Commits

Author SHA1 Message Date
Asif Saif Uddin fecb0bd845 Added new python versions in classifier 2023-11-06 18:33:33 +06:00
Asif Saif Uddin 098555ed40
clean setuptool imports to remove distutils import shim 2023-05-16 20:17:43 +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 8426032ae2
chore(build): clean `setup.py` (#1711)
* chore(build): remove deprecated `zip_safe` parameter

* chore(build): remove `cmdclass` parameter

---------

Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
2023-05-14 21:12:24 +06:00
Frazer McLean c297e421e0 Use SPDX license expression in project metadata 2022-10-29 13:27:35 +06:00
Meysam Azad ddf78fca44 chore: add confluentkafka to extras 📌 2022-07-18 11:58:38 +06:00
Andrii Oriekhov bfd5926913 add GitHub URL for PyPi 2022-04-17 13:08:32 +06:00
Marcelo Trylesinski 7516daf7a7 Bump pyupgrade version and add __future__.annotations import 2022-04-15 14:16:57 +06:00
Paul Brown b8b0cbb611 prevent KeyError: 'purelib' by removing INSTALLED_SCHEME hack from setup.py 2022-01-12 08:44:15 +06:00
Asif Saif Uddin 8a2d3f7df2 add python 3.10 to classifier 2021-11-06 17:51:27 +06: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
Michał Bielawski 4f77faab77 Add support for Python 3.9 2021-07-31 10:27:29 +06:00
Thomas Grainger 241b5dcff8
enable pre-commit (#1355)
* enable pre-commit

* use extend-ignore for flake8

* manual flake8 fixes

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

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

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

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

* Update kombu/__init__.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-20 19:07:49 +06:00
Omer Katz 0146ed16b2 Adjust setup.py. 2020-07-30 16:44:04 +03:00
Omer Katz 7a6e7cc45b pyupgrade 2020-07-13 16:58:06 +03:00
Asif Saif Uddin (Auvi) b858bfb97b remove un supported classifier 2020-06-03 09:57:58 +06:00
Christian Clauss bfca209752 Use README.rst content as the PyPI long_description
Use the ideas in https://python-packaging.readthedocs.io/en/latest/metadata.html to replace the __long_description__ at https://pypi.org/project/kombu with something cooler than `The author of this package has not provided a project description`.
2020-03-03 20:14:16 +06:00
Asif Saif Uddin a32d414425
py 3.8 on classifier 2019-10-29 09:25:23 +06:00
Asif Saif Uddin 3e9bb44984 style n lint 2019-06-06 11:23:10 +06:00
Asif Saif Uddin 0f891967b3 version 4.6.1 2019-06-06 10:15:12 +06:00
Asif Saif Uddin 09adcc0caa
drop python 3.4 2019-05-30 17:12:32 +06: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
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
Asif Saifuddin Auvi baf488bdaf
Added python 3.7 to classifier 2018-06-28 18:44:01 +06:00
Jon Dufresne cb516bbf74 Update all pypi.python.org URLs to pypi.org (#885)
For details on the new PyPI, see the blog post:

https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-06-10 16:40:04 +06:00
Sławomir Ehlert 25cafc4f5f Remove data_files from setup.py (#882)
Fixes #881

Also add some blank lines for pep-8 compatibility
2018-05-30 16:18:13 +03:00
Jon Dufresne c9ea79f0f9 Pass python_requires argument to setuptools (#847)
Helps pip decide what version of the library to install.

https://packaging.python.org/tutorials/distributing-packages/#python-requires

> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-04-12 17:31:53 +06:00
Mads Jensen a600ab87d9 Prefer https over http and updated links to new locations. (#745) 2017-05-30 19:53:40 +06: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
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 4f4738cf63 Adds keywords and license to setup.py 2016-10-10 13:16:54 -07: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 2e712d4d43 Adds bumpversion 2016-07-01 14:13:38 -07:00
Ask Solem 5f817ff1f9 Removes ZeroMQ transport for lack of resources to support it. 2016-06-28 15:48:09 -07:00
Ask Solem 5f3ae92708 Removes Beanstalk transport for lack of resources to support it 2016-06-28 15:45:30 -07:00
Ask Solem d06248ebaa Removes CouchDB transport for lack of resources to maintain it. 2016-06-28 15:41:54 -07:00
Ask Solem 1cd4e07f9e Removes SQLAlchemy as a broker support 2016-06-27 19:26:44 -07:00
Wido den Hollander 551d92014d Add Consul K/V store Transport
Using the Key/Value store of Consul.io this commit adds a new
Transport.

It is a simple Transport which Messages as Keys in the K/V store
of Consul using the HTTP API.

The HTTP API is consumed using the python-consul client which exposes
the API in a Python way.
2016-06-15 17:41:32 -07:00
Ask Solem 8570f3cf53 setup cannot have unicode literals 2016-04-07 17:32:46 -07:00
Ask Solem b374177473 Use unicode_litereals everywhere and updates flakeplus target to --2.7 2016-04-06 13:14:05 -07:00
Ask Solem 6da537d57c [tests] Now depends on case 2016-04-05 15:53:44 -07:00
Ask Solem bf8cd411e9 Kombu 3.1 is now Kombu 4.0 2015-10-20 14:05:09 -07:00
Ask Solem 655db37422 flakes 2015-10-02 18:00:30 -07:00
Ask Solem 4ef2f10e15 Single item tuples no longer require whitespace 2015-07-13 12:22:16 -07:00
Brian Bouterse 95c729b3f2 Merge branch 'master' into qpid-transport
Conflicts:
	README.rst
	docs/userguide/connections.rst
2014-05-28 10:05:56 -04:00
Ask Solem 55197ee341 master now depends on Python 2.7 2014-05-19 22:27:36 +01:00
Brian Bouterse 990d4cf85c Merge branch 'master' into qpid-transport 2014-04-04 08:29:57 -04:00
Ask Solem 54198c62ed Adds Trove classifier for Python 3.4 2014-03-19 19:25:59 +00:00
Brian Bouterse cb772ade57 Configuring an 'extra' package named qpid 2014-03-18 16:17:54 -04:00