mirror of
https://github.com/LIV2/amitools.git
synced 2025-12-05 22:22:45 +00:00
removed Python 3.7 and added 3.12
This commit is contained in:
parent
cfef841a05
commit
8b2e846dd3
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ will be very helpful.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Python >= ```3.7```
|
||||
- Python >= ```3.8```
|
||||
- [pip3][1]
|
||||
|
||||
### Optional Packages
|
||||
|
||||
@ -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 "$@"
|
||||
|
||||
|
||||
@ -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 = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user