diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9689b3e9ee1064d5f7fe7579c5e448a129a35f48..7cbc910a05f7d29137e79421fd1902643a59ffb4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,4 @@ stages: - - test - build pages: @@ -14,65 +13,6 @@ pages: paths: - public -.test: - stage: test - before_script: - - pip install --break-system-packages --upgrade pytest setuptools pip coverage nose2 - - pip install ".[dev,test]" - script: - - pytest -n 8 -vv --cov=satella - - coverage xml - - coverage report - coverage: /TOTAL.*\s+(\d+\%)/ - services: - - name: rabbitmq:3.13-management - alias: rabbitmq - -test_python27: - extends: .test - image: python:2.7 - before_script: - - pip install --upgrade pytest setuptools pip coverage nose2 - - pip install -r requirements.txt - -test_python35: - extends: .test - image: python:3.5 - before_script: - - pip install --upgrade pytest setuptools pip coverage nose2 - - pip install -r requirements.txt - -test_python36: - extends: .test - before_script: - - pip install --upgrade pytest setuptools pip coverage nose2 - - pip install -r requirements.txt - image: python:3.6 - -test_python37: - extends: .test - image: python:3.7 - -test_python38: - extends: .test - image: python:3.8 - -test_python39: - extends: .test - image: python:3.9 - -test_python310: - extends: .test - image: python:3.10 - -test_python311: - extends: .test - image: python:3.11 - -test_python312: - extends: .test - image: python:3.12 - build_python: stage: build diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a1d0f52b1dfdcff396aee747df01e53f0940e5e..707b673d352e700805c4db9e9240387531085758 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,5 +4,6 @@ have been made so far, between releases. # v1.3.1 +* anonymous queues will now get CoolAMQP-made names * coolamqp.objects.Callable made threadsafe (fixes #22) * speed up (lots of if len(data) == 0 replaced with if not data) diff --git a/coolamqp/objects.py b/coolamqp/objects.py index 4a34681adfb4f594c3130bea52004f3fcc5c054a..69a1045f0679d1f51a625b81d087785e1e2d287e 100644 --- a/coolamqp/objects.py +++ b/coolamqp/objects.py @@ -222,9 +222,6 @@ class Queue(object): :param exchange: Exchange for this queue to bind to. None for no binding. :param exclusive: Is this queue exclusive? :param auto_delete: Is this queue auto_delete ? - - .. warning:: Anonymous queues are not supported, because due to how CoolAMQP works there's no guarantee that - they will be subscribed to over the channel that they are declared. """ __slots__ = ('name', 'durable', 'exchange', 'auto_delete', 'exclusive', 'anonymous', 'consumer_tag') diff --git a/setup.cfg b/setup.cfg index dac2abb00f86bd5fc829cf502a5aed08ac0aec20..e49e177029e6f385ffa953874a9a649a2bb30757 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,6 +11,8 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Operating System :: OS Independent