removed Python 3.7 and added 3.12

This commit is contained in:
Christian Vogelgsang 2024-08-25 20:45:44 +02:00
parent cfef841a05
commit 8b2e846dd3
6 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3

View File

@ -1,4 +1,4 @@
FROM debian:11
FROM debian:12
RUN apt-get update && apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
@ -15,13 +15,13 @@ ENV PYENV_ROOT $HOME/.pyenv
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
# setup python
RUN for a in 3.7.16 3.8.16 3.9.16 3.10.9 3.11.1 ; do pyenv install $a ; done
RUN pyenv global 3.11.1 && pip install tox
RUN for a in 3.8.16 3.9.16 3.10.9 3.11.4 3.12.5 ; do pyenv install $a ; done
RUN pyenv global 3.11.4 && pip install tox
# run-tox script
RUN echo '#!/bin/bash' > $HOME/run-tox ;\
echo 'eval "$(pyenv init -)"' >> $HOME/run-tox ;\
echo 'pyenv shell 3.11.1 3.10.9 3.9.16 3.8.16 3.7.16' >> $HOME/run-tox ;\
echo 'pyenv shell 3.12.5 3.11.4 3.10.9 3.9.16 3.8.16' >> $HOME/run-tox ;\
echo 'exec tox --workdir $HOME -vv "$@"' >> $HOME/run-tox ;\
chmod 755 $HOME/run-tox

View File

@ -19,7 +19,7 @@ will be very helpful.
## Prerequisites
- Python >= ```3.7```
- Python >= ```3.8```
- [pip3][1]
### Optional Packages

View File

@ -2,6 +2,6 @@
export PYENV_ROOT=$HOME/.pyenv
export PATH=$PYENV_ROOT/bin:$PATH
eval "$(pyenv init -)"
pyenv shell 3.11.1 3.10.9 3.9.16 3.8.16 3.7.16
pyenv shell 3.12.5 3.11.4 3.10.9 3.9.16 3.8.16
exec tox "$@"

View File

@ -8,7 +8,7 @@ authors = [
{name = "Christian Vogelgsang", email = "chris@vogelgsang.org"},
]
description = "A package to support development with classic Amiga m68k systems"
requires-python = ">=3.7"
requires-python = ">=3.8"
keywords = ["AmigaOS", "vamos"]
license = {text = "GPL-v2"}
classifiers = [

View File

@ -1,14 +1,14 @@
[tox]
envlist = py{37,38,39,310,311}
envlist = py{38,39,310,311,312}
skipsdist = {env:TOXBUILD:false}
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
deps= -rrequirements-test.txt