Skip to content

Commit

Permalink
drop support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
brainelectronics committed Oct 2, 2024
1 parent 46b474c commit 6ab91ec
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.9'
- name: Install build and deploy dependencies
run: |
python -m pip install -U poetry twine
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.9'
- name: Install deploy dependencies
run: |
python -m pip install -U poetry twine
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11']
# os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.9'
- name: Execute tests
run: |
python -m pip install -U poetry
Expand Down
9 changes: 6 additions & 3 deletions .snippets/14.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
## Build package with Python 3.8
## Build package with Python 3.9
<!--
type: bugfix
scope: all
affected: all
-->

- to be compatible as speficied in `pyproject.toml` classifier list
- add Python matrix to test workflow with Python versions `['3.8', '3.9', '3.10', '3.11']`
- add Python matrix to test workflow with Python versions `['3.9', '3.10', '3.11']`
- use `actions/checkout` with version `v4`
- use Python 3.8 compatible typing, replace `|` with `Union`
- use Python 3.9 compatible typing
- replace `|` with `Union`
- use `List` instead of `list` for typing
- use `Dict` instead of `dict` for typing
58 changes: 29 additions & 29 deletions poetry.lock

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

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ classifiers = [
"Topic :: Software Development :: Version Control",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -45,7 +44,7 @@ changelog-generator = 'snippets2changelog.cli:main'
changelog2version = "^0.10"
GitPython = "~3.1.43"
jinja2 = "^3.1.4"
python = "^3.8"
python = "^3.9"
pyyaml = "~6.0"

[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 6ab91ec

Please sign in to comment.