Skip to content

Commit

Permalink
Include python 3.7 (#182)
Browse files Browse the repository at this point in the history
* Include python 3.7

* rm devpi_process

* pre-commit not required for tests
  • Loading branch information
cidrblock authored May 15, 2023
1 parent b09dac6 commit d125115
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .config/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
ansible-core
coverage
devpi_process
pre-commit
pytest
pytest_mock
pytest-xdist
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
id: generate_matrix
uses: coactions/dynamic-matrix@v1
with:
min_python: "3.8"
min_python: "3.7"
max_python: "3.11"
default_python: "3.11" # used by jobs in other_names
other_names: |
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords = ["ansible", "collections", "tox"]
license = { text = "MIT" }
maintainers = [{ "name" = "Ansible by Red Hat", "email" = "info@ansible.com" }]
authors = [{ "name" = "Bradley A. Thornton", "email" = "bthornto@redhat.com" }]
requires-python = ">=3.8"
requires-python = ">=3.7"
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
Expand All @@ -26,6 +26,7 @@ classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down Expand Up @@ -92,7 +93,7 @@ select = ["ALL"]
# PLR0915 = too many statments, fixme
# RET504 = prefer less complex return statements
ignore = ["ARG", "FBT", "TID", "C901", "PLR0915", "RET504"]
target-version = "py38"
target-version = "py37"

[tool.ruff.isort]
lines-after-imports = 2 # Ensures consistency for cases when there's variable vs function/class definitions after imports
Expand Down
2 changes: 1 addition & 1 deletion src/tox_ansible/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"echo",
]
ENV_LIST = """
{integration, sanity, unit}-py3.8-{2.9, 2.12, 2.13}
{integration, sanity, unit}-py3.{7,8}-{2.9, 2.12, 2.13}
{integration, sanity, unit}-py3.9-{2.12, 2.13, 2.14, 2.15, milestone, devel}
{integration, sanity, unit}-py3.10-{2.12, 2.13, 2.14, 2.15, milestone, devel}
{integration, sanity, unit}-py3.11-{2.14, 2.15, milestone, devel}
Expand Down

0 comments on commit d125115

Please sign in to comment.