Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
os: ["blacksmith-4vcpu-ubuntu-2404"]


Expand All @@ -55,7 +55,7 @@ jobs:
- name: >
Run tox for
"${{ matrix.python-version }}-unit"
timeout-minutes: 5
timeout-minutes: 10
run: >
tox --verbose --verbose -e
"${{ matrix.python-version }}-unit" -vv
Expand All @@ -81,7 +81,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
toxenv: [
'py-amqp',
'py-redis',
Expand Down
2 changes: 1 addition & 1 deletion t/unit/transport/test_azureservicebus.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def test_custom_entity_name():
assert channel.entity_name('test-celery') == 'test-celery'
assert channel.entity_name('test.celery') == 'test-celery'

# all other punctuation's replaced by underscores
# all other punctuation is replaced by underscores
assert channel.entity_name('test_celery') == 'test_celery'
assert channel.entity_name('test:celery') == 'test_celery'
assert channel.entity_name('test+celery') == 'test_celery'
Expand Down
25 changes: 14 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[tox]
envlist =
{pypy3.10,3.9,3.10,3.11,3.12,3.13}-unit
{pypy3.10,3.9,3.10,3.11,3.12,3.13}-linux-integration-py-amqp
{pypy3.10,3.9,3.10,3.11,3.12,3.13}-linux-integration-redis
{pypy3.10,3.9,3.10,3.11,3.12,3.13}-linux-integration-mongodb
{pypy3.10,3.9,3.10,3.11,3.12,3.13}-linux-integration-kafka
{pypy3.10,3.9,3.10,3.11,3.12,3.13,3.14}-unit
{pypy3.10,3.9,3.10,3.11,3.12,3.13,3.14}-linux-integration-py-amqp
{pypy3.10,3.9,3.10,3.11,3.12,3.13,3.14}-linux-integration-redis
{pypy3.10,3.9,3.10,3.11,3.12,3.13,3.14}-linux-integration-mongodb
{pypy3.10,3.9,3.10,3.11,3.12,3.13,3.14}-linux-integration-kafka
flake8
apicheck
pydocstyle
mypy
skio_missing_interpreters = True

requires =
tox-docker<=4.1
Expand All @@ -21,6 +22,7 @@ python =
3.11: py311
3.12: py312
3.13: py313
3.14: py314,py314t
pypy3: pypy3

[testenv]
Expand All @@ -32,10 +34,10 @@ passenv =
DISTUTILS_USE_SDK
deps=
-r{toxinidir}/requirements/dev.txt
apicheck,pypy3.10,3.9,3.10,3.11,3.12,3.13: -r{toxinidir}/requirements/default.txt
apicheck,pypy3.10,3.9,3.10,3.11,3.12,3.13: -r{toxinidir}/requirements/test.txt
apicheck,pypy3.10,3.9,3.10,3.11,3.12,3.13: -r{toxinidir}/requirements/test-ci.txt
apicheck,3.9-linux,3.10-linux,3.11-linux,3.12-linux,3.13-linux: -r{toxinidir}/requirements/extras/confluentkafka.txt
apicheck,pypy3.10,3.9,3.10,3.11,3.12,3.13,3.14: -r{toxinidir}/requirements/default.txt
apicheck,pypy3.10,3.9,3.10,3.11,3.12,3.13,3.14: -r{toxinidir}/requirements/test.txt
apicheck,pypy3.10,3.9,3.10,3.11,3.12,3.13,3.14: -r{toxinidir}/requirements/test-ci.txt
apicheck,3.9-linux,3.10-linux,3.11-linux,3.12-linux,3.13-linux,3.14-linux: -r{toxinidir}/requirements/extras/confluentkafka.txt
apicheck,linkcheck: -r{toxinidir}/requirements/docs.txt
flake8,pydocstyle,mypy: -r{toxinidir}/requirements/pkgutils.txt
integration: -r{toxinidir}/requirements/test-integration.txt
Expand All @@ -54,6 +56,7 @@ basepython =
3.11: python3.11
3.12: python3.12
3.13: python3.13
3.14: python3.14
apicheck,pydocstyle,flake8,linkcheck,cov,mypy: python3.13

install_command = python -m pip --disable-pip-version-check install {opts} {packages}
Expand Down Expand Up @@ -124,11 +127,11 @@ environment =
ALLOW_PLAINTEXT_LISTENER=yes

[testenv:apicheck]
commands = pip install -U -r{toxinidir}/requirements/dev.txt
commands = pip install --upgrade -r{toxinidir}/requirements/dev.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pip install -U can be quite opaque to readers because pip install currently has six --u* options, including --user.

pip install --upgrade makes the intention clearer in code that others will read.

% python3 -m pip install --help | grep "\-\-u"

  --user                      Install to the Python user install directory for
  -U, --upgrade               Upgrade all specified packages to the newest
  --upgrade-strategy <upgrade_strategy>
  --use-pep517                Use PEP 517 for building source distributions
  --use-feature <feature>     Enable new functionality, that may be backward
  --use-deprecated <feature>  Enable deprecated functionality, that will be

sphinx-build -j2 -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck

[testenv:linkcheck]
commands = pip install -U -r{toxinidir}/requirements/dev.txt
commands = pip install --upgrade -r{toxinidir}/requirements/dev.txt
sphinx-build -j2 -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck

[testenv:flake8]
Expand Down
Loading