Skip to content

Commit

Permalink
Merge pull request #660 from pypa/cli-req-py38
Browse files Browse the repository at this point in the history
Require Python >=3.8 for flit CLI
  • Loading branch information
takluyver authored Sep 28, 2023
2 parents 2e33b49 + 546ab42 commit 524342d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"docutils",
"tomli-w",
]
requires-python = ">=3.6"
requires-python = ">=3.8"
readme = "README.rst"
license = {file = "LICENSE"}
classifiers = ["Intended Audience :: Developers",
Expand Down
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ setenv =
commands =
python -m pytest --cov=flit --cov=flit_core/flit_core

# Python 3.6: only test flit_core
[testenv:py36]
commands =
python -m pytest --cov=flit_core/flit_core --pyargs flit_core

# Python 3.7: only test flit_core
[testenv:py37]
commands =
python -m pytest --cov=flit_core/flit_core --pyargs flit_core

[testenv:bootstrap]
skip_install = true
# Make the install step a no-op, so nothing gets installed in the env
Expand Down

0 comments on commit 524342d

Please sign in to comment.