Skip to content

Commit

Permalink
Added Python v3.12 support, dropped v3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
max-pfeiffer committed Oct 6, 2023
1 parent 8282b9b commit 9bc81a7
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .env-example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
USE_LOCAL_CACHE_STORAGE_BACKEND=1
PYTHON_VERSION=3.9.18
PYTHON_VERSION=3.12.0
OS_VARIANT=slim-bookworm
POETRY_VERSION=1.6.1
14 changes: 7 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install Poetry
uses: snok/install-poetry@v1
with:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.9.18", "3.10.13", "3.11.5"]
python_version: ["3.10.13", "3.11.6", "3.12.0"]
os_variant: ["bookworm", "slim-bookworm"]
poetry_version: ["1.4.2", "1.5.1", "1.6.1"]
steps:
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install Poetry
uses: snok/install-poetry@v1
with:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.9.18", "3.10.13", "3.11.5"]
python_version: ["3.10.13", "3.11.6", "3.12.0"]
os_variant: ["bookworm", "slim-bookworm"]
poetry_version: ["1.4.2", "1.5.1", "1.6.1"]
steps:
Expand All @@ -97,7 +97,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install Poetry
uses: snok/install-poetry@v1
with:
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.9.18", "3.10.13", "3.11.5"]
python_version: ["3.10.13", "3.11.6", "3.12.0"]
os_variant: ["bookworm", "slim-bookworm"]
poetry_version: ["1.4.2", "1.5.1", "1.6.1"]
steps:
Expand All @@ -149,7 +149,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install Poetry
uses: snok/install-poetry@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.idea
.vscode
.pytest_cache
.python-version
__pycache__
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ This multiarch image supports AMD64 and ARM64 architectures.
* v1.6.1

**Python versions:**
* v3.9
* v3.10
* v3.11
* v3.12

**Operating system:**
* [Debian Bookworm v12.1](https://www.debian.org/releases/bookworm/)
Expand Down
29 changes: 3 additions & 26 deletions poetry.lock

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

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "python-poetry"
version = "1.2.0"
version = "1.7.0"
description = "A Python Docker image with Poetry installed and ready to use."
authors = ["Max Pfeiffer <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "3.9.*"
python = "3.11.*"
click = "8.1.7"
python-on-whales = "0.65.0"

Expand All @@ -33,7 +33,7 @@ testpaths = [
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file
[tool.black]
line-length = 80
target-version = ["py39"]
target-version = ["py311"]

[tool.pylint.main]
errors-only = true
Expand Down

0 comments on commit 9bc81a7

Please sign in to comment.