Skip to content

Commit

Permalink
removed Python 3.7 and added 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
cnvogelg committed Aug 25, 2024
1 parent cfef841 commit 8b2e846
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ will be very helpful.

## Prerequisites

- Python >= ```3.7```
- Python >= ```3.8```
- [pip3][1]

### Optional Packages
Expand Down
2 changes: 1 addition & 1 deletion local-tox
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 8b2e846

Please sign in to comment.