Skip to content

Commit

Permalink
Remove Python 3.7 and run tests on current versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad committed Sep 19, 2024
1 parent 38f8036 commit d223d40
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 59 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
key: poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}


- name: Install Dependencies
run: poetry install

Expand All @@ -44,6 +43,8 @@ jobs:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- uses: actions/checkout@v2
- name: Start dev env
Expand Down Expand Up @@ -90,7 +91,7 @@ jobs:

- name: Build
run: poetry build

- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
Expand Down
57 changes: 2 additions & 55 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "Apache-2.0"
"load_credentials" = "nornir_utils.plugins.inventory.transform_functions:load_credentials"

[tool.poetry.dependencies]
python = ">=3.7,<4.0"
python = ">=3.8,<4.0"
nornir = { version = "~3", allow-prereleases = true }
colorama = "^0.4.3"

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ filterwarnings =

[mypy]
# The mypy configurations: http://bit.ly/2zEl9WI
python_version = 3.7
python_version = 3.8
check_untyped_defs = True
disallow_any_generics = True
disallow_untyped_calls = True
Expand Down

0 comments on commit d223d40

Please sign in to comment.