Skip to content

Commit

Permalink
Remove twine workaround for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Feb 20, 2024
1 parent 143248b commit 2eb9740
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 42 deletions.
3 changes: 1 addition & 2 deletions repo_helper/files/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,7 @@ def testenv_build(self) -> None:
self._ini["testenv:build"]["deps"] = indent_join([
"build[virtualenv]>=0.3.1",
"check-wheel-contents>=0.1.0",
'twine>=3.2.0; python_version < "3.13"',
'twine@git+https://github.com/pypa/twine; python_version >= "3.13"',
"twine>=3.2.0",
'cryptography<40; implementation_name == "pypy" and python_version <= "3.7"',
*self["tox_build_requirements"],
])
Expand Down
3 changes: 1 addition & 2 deletions tests/test_files/test_testing_/test_make_tox_matrix.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ changedir = {toxinidir}
deps =
build[virtualenv]>=0.3.1
check-wheel-contents>=0.1.0
twine>=3.2.0; python_version < "3.13"
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
twine>=3.2.0
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
commands =
python -m build --sdist --wheel "{toxinidir}"
Expand Down

0 comments on commit 2eb9740

Please sign in to comment.