Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support python version >= 3.8 (#7) #8

Merged
merged 3 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,21 @@ on:

jobs:
test:
env:
PYTHON_VERSION: "3.12"
strategy:
matrix:
py_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: ${{ matrix.py_version }}
- name: Install virtual environment
run: pip3 install poetry
- name: Ensure Python version
run: poetry env use ${{ env.PYTHON_VERSION }}
run: poetry env use ${{ matrix.py_version }}
- name: Install dependencies
run: poetry install --without workflow --no-root
- name: Execute Tests and create test coverage report
Expand Down
27 changes: 27 additions & 0 deletions config/license/allowlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@
"actualLicense": "MIT",
"violationAllowance": ""
},
{
"moduleLicense": "Apache-2.0",
"moduleVersion": "6.4.0",
"moduleName": "importlib-resources",
"licenseUrl": "https://github.com/python/importlib_resources/blob/v6.4.0/LICENSE",
"moduleCopyright": "",
"actualLicense": "Apache-2.0",
"violationAllowance": ""
},
{
"moduleLicense": "MIT",
"moduleVersion": "1.3.10",
"moduleName": "pkgutil-resolve-name",
"licenseUrl": "https://github.com/graingert/pkgutil-resolve-name/blob/default/LICENSE",
"moduleCopyright": "Copyright (c) 2020 Thomas Grainger",
"actualLicense": "MIT",
"violationAllowance": ""
},
{
"moduleLicense": "MIT",
"moduleVersion": "4.16.0",
Expand All @@ -26,6 +44,15 @@
"moduleCopyright": "Copyright (c) 2023 Tobias Gustafsson",
"actualLicense": "MIT",
"violationAllowance": ""
},
{
"moduleLicense": "MIT",
"moduleVersion": "3.18.1",
"moduleName": "zipp",
"licenseUrl": "https://github.com/jaraco/zipp/blob/v3.18.1/LICENSE",
"moduleCopyright": "",
"actualLicense": "MIT",
"violationAllowance": ""
}
]
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors = [ "tracetronic GmbH",]
readme = "README.md"

[tool.poetry.dependencies]
python = "~3.12"
python = ">=3.8,<4.0"
jsonschema = "==4.16.0"

[tool.poetry.group.workflow.dependencies]
Expand Down
Loading