taraqueue 0.6.1__tar.gz → 0.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.github/actions/setup-uv-env/action.yml +3 -3
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.github/workflows/publish.yml +2 -2
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.github/workflows/test.yml +7 -7
- {taraqueue-0.6.1 → taraqueue-0.6.3}/CHANGES.rst +15 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/CONTRIBUTING.rst +1 -1
- {taraqueue-0.6.1 → taraqueue-0.6.3}/PKG-INFO +4 -5
- {taraqueue-0.6.1 → taraqueue-0.6.3}/README.rst +1 -1
- {taraqueue-0.6.1 → taraqueue-0.6.3}/compose.yml +1 -1
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/taraqueue.testing.rst +0 -8
- {taraqueue-0.6.1 → taraqueue-0.6.3}/pyproject.toml +1 -2
- {taraqueue-0.6.1 → taraqueue-0.6.3}/taraqueue/testing/services.py +3 -25
- taraqueue-0.6.3/uv.lock +2791 -0
- taraqueue-0.6.1/taraqueue/testing/compose.py +0 -88
- taraqueue-0.6.1/tests/test_compose.py +0 -40
- taraqueue-0.6.1/uv.lock +0 -2329
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.editorconfig +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.gitattributes +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.github/CODEOWNERS +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.github/renovate.json +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.github/workflows/renovate.yaml +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.gitignore +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.vscode/extensions.json +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.vscode/launch.json +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/.vscode/settings.json +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/LICENSE.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/Makefile +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/STYLE_GUIDE.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/changes.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/conf.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/contributing.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/index.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/license.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/modules.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/style_guide.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/docs/taraqueue.rst +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/taraqueue/__init__.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/taraqueue/memory.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/taraqueue/redis.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/taraqueue/registry.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/taraqueue/sqs.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/taraqueue/testing/__init__.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/taraqueue/testing/queue.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/tests/test_queue.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/tests/test_redis.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/tests/test_registry.py +0 -0
- {taraqueue-0.6.1 → taraqueue-0.6.3}/tests/test_sqs.py +0 -0
|
@@ -5,7 +5,7 @@ inputs:
|
|
|
5
5
|
python-version:
|
|
6
6
|
required: false
|
|
7
7
|
description: "Python version to use"
|
|
8
|
-
default: "3.
|
|
8
|
+
default: "3.15"
|
|
9
9
|
uv-version:
|
|
10
10
|
required: false
|
|
11
11
|
description: "uv version to use (empty = use required-version or latest)"
|
|
@@ -27,12 +27,12 @@ runs:
|
|
|
27
27
|
using: "composite"
|
|
28
28
|
steps:
|
|
29
29
|
- name: Set up python
|
|
30
|
-
uses: actions/setup-python@
|
|
30
|
+
uses: actions/setup-python@v7
|
|
31
31
|
with:
|
|
32
32
|
python-version: ${{ inputs.python-version }}
|
|
33
33
|
|
|
34
34
|
- name: Install uv
|
|
35
|
-
uses: astral-sh/setup-uv@
|
|
35
|
+
uses: astral-sh/setup-uv@v10.4.0
|
|
36
36
|
with:
|
|
37
37
|
version: ${{ inputs.uv-version }}
|
|
38
38
|
python-version: ${{ inputs.python-version }}
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
15
|
- name: Check out
|
|
16
|
-
uses: actions/checkout@
|
|
16
|
+
uses: actions/checkout@v7
|
|
17
17
|
with:
|
|
18
18
|
fetch-depth: 0
|
|
19
19
|
fetch-tags: true
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
runs-on: ubuntu-latest
|
|
37
37
|
steps:
|
|
38
38
|
- name: Check out
|
|
39
|
-
uses: actions/checkout@
|
|
39
|
+
uses: actions/checkout@v7
|
|
40
40
|
|
|
41
41
|
- name: Set up the environment
|
|
42
42
|
uses: ./.github/actions/setup-uv-env
|
|
@@ -11,12 +11,12 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
13
|
- name: Check out
|
|
14
|
-
uses: actions/checkout@
|
|
14
|
+
uses: actions/checkout@v7
|
|
15
15
|
|
|
16
16
|
- name: Set up the environment
|
|
17
17
|
uses: ./.github/actions/setup-uv-env
|
|
18
18
|
with:
|
|
19
|
-
python-version: "3.
|
|
19
|
+
python-version: "3.15"
|
|
20
20
|
extras: check
|
|
21
21
|
|
|
22
22
|
- name: Run check target
|
|
@@ -27,10 +27,10 @@ jobs:
|
|
|
27
27
|
strategy:
|
|
28
28
|
fail-fast: false
|
|
29
29
|
matrix:
|
|
30
|
-
python-version: ['3.12', '3.13', '3.14']
|
|
30
|
+
python-version: ['3.12', '3.13', '3.14', '3.15']
|
|
31
31
|
steps:
|
|
32
32
|
- name: Check out
|
|
33
|
-
uses: actions/checkout@
|
|
33
|
+
uses: actions/checkout@v7
|
|
34
34
|
|
|
35
35
|
- name: Set up the environment
|
|
36
36
|
uses: ./.github/actions/setup-uv-env
|
|
@@ -55,12 +55,12 @@ jobs:
|
|
|
55
55
|
|
|
56
56
|
steps:
|
|
57
57
|
- name: Check out
|
|
58
|
-
uses: actions/checkout@
|
|
58
|
+
uses: actions/checkout@v7
|
|
59
59
|
|
|
60
60
|
- name: Set up the environment
|
|
61
61
|
uses: ./.github/actions/setup-uv-env
|
|
62
62
|
with:
|
|
63
|
-
python-version: "3.
|
|
63
|
+
python-version: "3.15"
|
|
64
64
|
extras: test
|
|
65
65
|
|
|
66
66
|
- name: Download coverage data
|
|
@@ -83,7 +83,7 @@ jobs:
|
|
|
83
83
|
runs-on: ubuntu-latest
|
|
84
84
|
steps:
|
|
85
85
|
- name: Check out
|
|
86
|
-
uses: actions/checkout@
|
|
86
|
+
uses: actions/checkout@v7
|
|
87
87
|
|
|
88
88
|
- name: Set up the environment
|
|
89
89
|
uses: ./.github/actions/setup-uv-env
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
Version 0.6.3
|
|
2
|
+
-------------
|
|
3
|
+
|
|
4
|
+
- Add support for Python 3.15.
|
|
5
|
+
- Replace testing.compose with pytest-xdocker.
|
|
6
|
+
- Bump pytest-xdocker to 0.4.0, which starts services with compose up.
|
|
7
|
+
- Remove the taraqueue_compose_files fixture.
|
|
8
|
+
|
|
9
|
+
Version 0.6.2
|
|
10
|
+
-------------
|
|
11
|
+
|
|
12
|
+
Released 2026-05-22
|
|
13
|
+
|
|
14
|
+
- Revert to docker compose run instead of up.
|
|
15
|
+
|
|
1
16
|
Version 0.6.1
|
|
2
17
|
-------------
|
|
3
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: taraqueue
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: Python queue abstraction layer
|
|
5
5
|
Project-URL: Repository, https://github.com/taradix/taraqueue
|
|
6
6
|
Author-email: Marc Tardif <marc@taram.ca>
|
|
@@ -20,11 +20,10 @@ Requires-Dist: aiobotocore>=2.21.0; extra == 'sqs'
|
|
|
20
20
|
Provides-Extra: test
|
|
21
21
|
Requires-Dist: aiobotocore>=2.21.0; extra == 'test'
|
|
22
22
|
Requires-Dist: coverage<8.0.0,>=7.2.3; extra == 'test'
|
|
23
|
-
Requires-Dist: more-itertools<11.2.0,>=11.1.0; extra == 'test'
|
|
24
23
|
Requires-Dist: moto[server,sns,sqs]>=5.1.0; extra == 'test'
|
|
25
24
|
Requires-Dist: pytest-asyncio<2.0.0,>=1.0.0; extra == 'test'
|
|
26
25
|
Requires-Dist: pytest-unique<1.0.0,>=0.1.8; extra == 'test'
|
|
27
|
-
Requires-Dist: pytest-xdocker<1.0.0,>=0.
|
|
26
|
+
Requires-Dist: pytest-xdocker<1.0.0,>=0.4.0; extra == 'test'
|
|
28
27
|
Requires-Dist: pytest<10.0.0,>=9.0.0; extra == 'test'
|
|
29
28
|
Requires-Dist: redis>=7.4.0; extra == 'test'
|
|
30
29
|
Description-Content-Type: text/x-rst
|
|
@@ -49,7 +48,7 @@ Requirements
|
|
|
49
48
|
|
|
50
49
|
You will need the following prerequisites to use taraqueue:
|
|
51
50
|
|
|
52
|
-
- Python 3.12, 3.13, 3.14
|
|
51
|
+
- Python 3.12, 3.13, 3.14, 3.15
|
|
53
52
|
|
|
54
53
|
Installation
|
|
55
54
|
------------
|
|
@@ -4,14 +4,6 @@ taraqueue.testing package
|
|
|
4
4
|
Submodules
|
|
5
5
|
----------
|
|
6
6
|
|
|
7
|
-
taraqueue.testing.compose module
|
|
8
|
-
--------------------------------
|
|
9
|
-
|
|
10
|
-
.. automodule:: taraqueue.testing.compose
|
|
11
|
-
:members:
|
|
12
|
-
:show-inheritance:
|
|
13
|
-
:undoc-members:
|
|
14
|
-
|
|
15
7
|
taraqueue.testing.queue module
|
|
16
8
|
------------------------------
|
|
17
9
|
|
|
@@ -28,12 +28,11 @@ test = [
|
|
|
28
28
|
"aiobotocore>=2.21.0",
|
|
29
29
|
"coverage>=7.2.3,<8.0.0",
|
|
30
30
|
"moto[sns,sqs,server]>=5.1.0",
|
|
31
|
-
"more-itertools>=11.1.0,<11.2.0",
|
|
32
31
|
"redis>=7.4.0",
|
|
33
32
|
"pytest>=9.0.0,<10.0.0",
|
|
34
33
|
"pytest-asyncio>=1.0.0,<2.0.0",
|
|
35
34
|
"pytest-unique>=0.1.8,<1.0.0",
|
|
36
|
-
"pytest-xdocker>=0.
|
|
35
|
+
"pytest-xdocker>=0.4.0,<1.0.0",
|
|
37
36
|
]
|
|
38
37
|
|
|
39
38
|
check = [
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"""Service fixtures."""
|
|
2
2
|
|
|
3
|
-
from pathlib import Path
|
|
4
|
-
|
|
5
3
|
import pytest
|
|
6
|
-
|
|
7
|
-
from taraqueue.testing.compose import ComposeServer
|
|
4
|
+
from pytest_xdocker.compose import ComposeServer, find_compose_files
|
|
8
5
|
|
|
9
6
|
|
|
10
7
|
@pytest.fixture(scope="session")
|
|
@@ -31,31 +28,12 @@ def taraqueue_env_file(taraqueue_env_vars, request):
|
|
|
31
28
|
|
|
32
29
|
|
|
33
30
|
@pytest.fixture(scope="session")
|
|
34
|
-
def
|
|
35
|
-
"""Use the compose files from the project - not this library."""
|
|
36
|
-
directory = Path(request.config.rootdir)
|
|
37
|
-
filenames = ["docker-compose.yml", "compose.yaml", "compose.yml"]
|
|
38
|
-
while True:
|
|
39
|
-
for filename in filenames:
|
|
40
|
-
path = directory / filename
|
|
41
|
-
if path.exists():
|
|
42
|
-
all_files = directory.glob(f"{path.stem}.*")
|
|
43
|
-
ordered_files = sorted(all_files, key=lambda p: len(p.name))
|
|
44
|
-
return list(ordered_files)
|
|
45
|
-
|
|
46
|
-
if directory == directory.parent:
|
|
47
|
-
raise FileNotFoundError("Docker compose file not found")
|
|
48
|
-
|
|
49
|
-
directory = directory.parent
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
@pytest.fixture(scope="session")
|
|
53
|
-
def redis_service(process, taraqueue_env_file, taraqueue_compose_files):
|
|
31
|
+
def redis_service(process, taraqueue_env_file, request):
|
|
54
32
|
"""Redis service fixture."""
|
|
55
33
|
server = ComposeServer(
|
|
56
34
|
pattern="Ready to accept connections tcp",
|
|
57
35
|
env_file=taraqueue_env_file,
|
|
58
|
-
compose_files=
|
|
36
|
+
compose_files=find_compose_files(request.config.rootdir),
|
|
59
37
|
process=process,
|
|
60
38
|
)
|
|
61
39
|
with server.run("redis") as service:
|