Skip to content

Commit

Permalink
Add python 3.13, drop 3.8 (EOL)
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Nov 12, 2024
1 parent 83ea4a2 commit 8866402
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 47 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ DB_ENGINE=django.db.backends.postgresql

# Linux (uid 1000 gid 1000)

PYTHON_TAG=3.12-dev-0.23.0
PYTHON_TAG=3.13-dev-0.23.0
#PYTHON_TAG=3.12-dev-0.23.0
#PYTHON_TAG=3.11-dev-0.23.0
#PYTHON_TAG=3.10-dev-0.23.0
#PYTHON_TAG=3.9-dev-0.23.0
#PYTHON_TAG=3.8-dev-0.23.0

# macOS (uid 501 gid 20)

#PYTHON_TAG=3.13-dev-macos-0.23.0
#PYTHON_TAG=3.12-dev-macos-0.23.0
#PYTHON_TAG=3.11-dev-macos-0.23.0
#PYTHON_TAG=3.10-dev-macos-0.23.0
#PYTHON_TAG=3.9-dev-macos-0.23.0
#PYTHON_TAG=3.8-dev-macos-0.23.0

### --- NGINX ----

Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,43 @@ name: Run tests
on:
push:
branches:
- master
- master

tags:
- '*'
- '*'

pull_request:

jobs:
test:
strategy:
matrix:
version: [ '3.12', '3.11','3.10','3.9','3.8' ]
version: [ '3.13', '3.12', '3.11','3.10','3.9' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: test
env:
PYTHON_VER: ${{ matrix.version }}
run: make test
- uses: actions/checkout@v2
- name: test
env:
PYTHON_VER: ${{ matrix.version }}
run: make test
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: test
steps:
- uses: actions/checkout@v2
- name: prepare artifact
run: cp docker.mk Makefile && tar -czf docker4python.tar.gz compose.yml Makefile .env traefik.yml
- name: get tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- uses: xresloader/upload-to-github-release@v1
id: upload_artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: docker4python.tar.gz
overwrite: true
tags: true
draft: false
tag_name: ${{ steps.vars.outputs.tag }}
- uses: actions/checkout@v2
- name: prepare artifact
run: cp docker.mk Makefile && tar -czf docker4python.tar.gz compose.yml Makefile .env traefik.yml
- name: get tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- uses: xresloader/upload-to-github-release@v1
id: upload_artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: docker4python.tar.gz
overwrite: true
tags: true
draft: false
tag_name: ${{ steps.vars.outputs.tag }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include docker.mk

.PHONY: test

PYTHON_VER ?= "3.12"
PYTHON_VER ?= "3.13"

test:
cd ./tests && PYTHON_VER=$(PYTHON_VER) ./run.sh
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ Docker4Python is a set of docker images optimized for Python applications (suita

The Python stack consist of the following containers:

| Container | Versions | Image | ARM64 support | Enabled by default |
|-----------------|----------------------------|-----------------------|---------------|--------------------|
| [Nginx] | 1.27, 1.26 | [wodby/nginx] |||
| [Python] | 3.12, 3.11, 3.10, 3.9, 3.8 | [wodby/python] |||
| [PostgreSQL] | 16, 15, 14, 13, 12 | [wodby/postgres] |||
| [Valkey] | 8, 7 | [wodby/valkey] |||
| [MariaDB] | 11.4, 10.6, 10.5, 10.4 | [wodby/mariadb] || |
| [Node.js] | 22, 20, 18 | [wodby/node] || |
| [Varnish] | 6.0 | [wodby/varnish] || |
| [Solr] | 8 | [wodby/solr] | | |
| [Elasticsearch] | 7 | [wodby/elasticsearch] | | |
| [Kibana] | 7 | [wodby/kibana] | | |
| [Memcached] | 1 | [wodby/memcached] | | |
| [Rsyslog] | latest | [wodby/rsyslog] | | |
| Gotenberg | latest | [gotenberg/gotenberg] |||
| Mailpit | latest | [axllent/mailpit] |||
| [OpenSMTPD] | 7 | [wodby/opensmtpd] || |
| Adminer | 4.6 | [wodby/adminer] || |
| Traefik | latest | [_/traefik] |||
| Container | Versions | Image | ARM64 support | Enabled by default |
|-----------------|-----------------------------|-----------------------|---------------|--------------------|
| [Nginx] | 1.27, 1.26 | [wodby/nginx] |||
| [Python] | 3.13, 3.12, 3.11, 3.10, 3.9 | [wodby/python] |||
| [PostgreSQL] | 16, 15, 14, 13, 12 | [wodby/postgres] |||
| [Valkey] | 8, 7 | [wodby/valkey] |||
| [MariaDB] | 11.4, 10.6, 10.5, 10.4 | [wodby/mariadb] || |
| [Node.js] | 22, 20, 18 | [wodby/node] || |
| [Varnish] | 6.0 | [wodby/varnish] || |
| [Solr] | 8 | [wodby/solr] | | |
| [Elasticsearch] | 7 | [wodby/elasticsearch] | | |
| [Kibana] | 7 | [wodby/kibana] | | |
| [Memcached] | 1 | [wodby/memcached] | | |
| [Rsyslog] | latest | [wodby/rsyslog] | | |
| Gotenberg | latest | [gotenberg/gotenberg] |||
| Mailpit | latest | [axllent/mailpit] |||
| [OpenSMTPD] | 7 | [wodby/opensmtpd] || |
| Adminer | 4.6 | [wodby/adminer] || |
| Traefik | latest | [_/traefik] |||

## Documentation

Expand Down

0 comments on commit 8866402

Please sign in to comment.