Skip to content

Commit

Permalink
[REMOVE] Support for Python 3.8 and Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeufer committed Jun 16, 2024
1 parent c5cb462 commit 2f7cf43
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/automated-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
# Set Python and Django version to test for the stable release of AllianceAuth
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
Expand Down Expand Up @@ -82,14 +80,11 @@ jobs:
# && github.ref == 'refs/heads/master'
# )
# )
# && (
# matrix.python-version == '3.10'
# && matrix.database == 'mariadb:10.11'
# )
# && matrix.python-version == '3.12'
# }}
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
# token: ${{ secrets.CODECOV_TOKEN }}
# files: coverage.xml # optional
## flags: unittests # optional
## name: codecov-umbrella # optional
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ repos:
name: PyUpgrade
description: Upgrade syntax to newer versions of Python.
args:
- --py38-plus # Minimum required Python version for AA. Update as needed.
- --py310-plus # Minimum required Python version for AA. Update as needed.

- repo: https://github.com/pycqa/flake8
rev: 7.0.0
Expand Down Expand Up @@ -253,7 +253,7 @@ repos:
name: Black
description: Format Python code.
args:
- --target-version=py38 # Minimum required Python version for AA. Update as needed.
- --target-version=py310 # Minimum required Python version for AA. Update as needed.

- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
Expand All @@ -264,7 +264,7 @@ repos:
additional_dependencies:
- black==24.4.2 # https://github.com/psf/black/releases/latest
args:
- --target-version=py38 # Minimum required Python version for AA. Update as needed.
- --target-version=py310 # Minimum required Python version for AA. Update as needed.

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## \[In Development\] - Unreleased

## \[0.0.9\] - 2024-06-16

### Removed

- Support for Python 3.8 and Python 3.9

## \[0.0.8\] - 2024-03-16

> \[!NOTE\]
Expand Down
2 changes: 1 addition & 1 deletion example/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Initialize the app"""

__version__ = "0.0.8"
__version__ = "0.0.9"
__title__ = "Example"
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license = { file = "LICENSE" }
authors = [
{ name = "Peter Pfeufer", email = "[email protected]" },
]
requires-python = ">=3.8"
requires-python = ">=3.10"
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
Expand All @@ -26,8 +26,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires =
tox>=4.2
env_list =
py{312, 311, 310, 39, 38}
py{312, 311, 310}

[testenv]
deps =
Expand Down

0 comments on commit 2f7cf43

Please sign in to comment.