Skip to content

Commit e70b63f

Browse files
authored
Merge pull request #1495 from cernymi/cernymi/python_for_tests
Run pipeline lint with all supported python versions
2 parents db5086d + 2df047c commit e70b63f

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
python-version: ["3.13"]
31+
python-version: ["3.11", "3.12", "3.13"]
3232

3333
steps:
3434

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ This Ansible collection consists of a set of modules to define the intended netw
99

1010
- You must be running one of the two most recent releases of NetBox
1111
- A NetBox write-enabled API token when using modules or a read-only token for the `nb_lookup` and `nb_inventory` plugins.
12-
- Python 3.10+
12+
- Python 3.11+
1313
- Python modules:
1414
- pytz
1515
- pynetbox
16-
- Ansible 2.15+
16+
- Ansible 2.18+
1717

1818
## Installation
1919

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
minor_changes:
3+
- test suite expanded to run on Python 3.11, 3.12, and 3.13.

poetry.lock

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Mikhail Yohman <mikhail.yohman@gmail.com>"]
66
license = "GPLv3"
77

88
[tool.poetry.dependencies]
9-
python = "^3.13"
9+
python = ">=3.11,<3.14"
1010
ansible-core = "^2.18"
1111
black = "*"
1212
codecov = "*"
@@ -30,7 +30,10 @@ packaging = "*"
3030
importlib-resources = "*"
3131
antsibull-docs = "*"
3232

33-
[tool.poetry.dev-dependencies]
33+
[poetry.group.dev.dependencies]
34+
35+
[tool.ruff]
36+
target-version = "py311"
3437

3538
[build-system]
3639
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)