Skip to content

Commit

Permalink
Set Python version to 3.11+
Browse files Browse the repository at this point in the history
Most recent Linux distributions provide Python 3.11
or 3.12 as the default version. Versions 3.8 and
3.9 are reaching their end of life soon, so we
think it's better to drop these old versions
and start fresh.

Signed-off-by: Santiago Dueñas <[email protected]>
  • Loading branch information
sduenas committed Jul 23, 2024
1 parent ab4ea25 commit 211b9c7
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Python ${{ matrix.python-version }}
strategy:
matrix:
python-version: [3.8, 3.9]
python-version: [3.11, 3.12]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

strategy:
matrix:
python-version: [3.8, 3.9]
python-version: [3.11, 3.12]

runs-on: ubuntu-latest
name: Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ By default, items fetched by each job will be published using a Redis queue.

## Requirements

- Python >= 3.8
- Python >= 3.11
- Redis database
- MySQL database

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bullseye-slim
FROM debian:bookworm-slim

LABEL maintainer="Santiago Dueñas <[email protected]>"
LABEL org.opencontainers.image.title="GrimoireLab-core"
Expand Down
72 changes: 14 additions & 58 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 @@ -37,7 +37,7 @@ classifiers = [
grimoirelab = "grimoirelab.core.runner:grimoirelab"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.11"

django = "^4.2"
django-rq = "^2.10.1"
Expand Down

0 comments on commit 211b9c7

Please sign in to comment.