Skip to content

Commit 2eb9740

Browse files
committed
Remove twine workaround for Python 3.13
1 parent 143248b commit 2eb9740

21 files changed

+21
-42
lines changed

repo_helper/files/testing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,7 @@ def testenv_build(self) -> None:
466466
self._ini["testenv:build"]["deps"] = indent_join([
467467
"build[virtualenv]>=0.3.1",
468468
"check-wheel-contents>=0.1.0",
469-
'twine>=3.2.0; python_version < "3.13"',
470-
'twine@git+https://github.com/pypa/twine; python_version >= "3.13"',
469+
"twine>=3.2.0",
471470
'cryptography<40; implementation_name == "pypy" and python_version <= "3.7"',
472471
*self["tox_build_requirements"],
473472
])

tests/test_files/test_testing_/test_make_tox_matrix.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ changedir = {toxinidir}
6060
deps =
6161
build[virtualenv]>=0.3.1
6262
check-wheel-contents>=0.1.0
63-
twine>=3.2.0; python_version < "3.13"
64-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
63+
twine>=3.2.0
6564
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
6665
commands =
6766
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_enable_devmode_devmode_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_enable_devmode_no_devmode_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ changedir = {toxinidir}
5555
deps =
5656
build[virtualenv]>=0.3.1
5757
check-wheel-contents>=0.1.0
58-
twine>=3.2.0; python_version < "3.13"
59-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
58+
twine>=3.2.0
6059
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
6160
commands =
6261
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_enable_docs_docs_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_enable_docs_no_docs_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ changedir = {toxinidir}
6060
deps =
6161
build[virtualenv]>=0.3.1
6262
check-wheel-contents>=0.1.0
63-
twine>=3.2.0; python_version < "3.13"
64-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
63+
twine>=3.2.0
6564
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
6665
commands =
6766
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_enable_tests_no_tests_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ changedir = {toxinidir}
6464
deps =
6565
build[virtualenv]>=0.3.1
6666
check-wheel-contents>=0.1.0
67-
twine>=3.2.0; python_version < "3.13"
68-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
67+
twine>=3.2.0
6968
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7069
commands =
7170
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_enable_tests_tests_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_mypy_deps_mypy_deps0_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_mypy_deps_mypy_deps1_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_mypy_version_0_782_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_mypy_version_0_790_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_py_modules_py_modules0_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_py_modules_py_modules1_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_python_deploy_version_3_6_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_python_deploy_version_3_7_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_python_deploy_version_3_8_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_stubs_package_no_stubs_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_stubs_package_stubs_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_tox_testenv_extras__.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ changedir = {toxinidir}
6868
deps =
6969
build[virtualenv]>=0.3.1
7070
check-wheel-contents>=0.1.0
71-
twine>=3.2.0; python_version < "3.13"
72-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
71+
twine>=3.2.0
7372
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7473
commands =
7574
python -m build --sdist --wheel "{toxinidir}"

tests/test_files/test_testing_/test_tox_tox_testenv_extras_extra_a_.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ changedir = {toxinidir}
7070
deps =
7171
build[virtualenv]>=0.3.1
7272
check-wheel-contents>=0.1.0
73-
twine>=3.2.0; python_version < "3.13"
74-
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
73+
twine>=3.2.0
7574
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7675
commands =
7776
python -m build --sdist --wheel "{toxinidir}"

0 commit comments

Comments
 (0)