diff --git a/.gitignore b/.gitignore index d94278b..c681ec6 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ hs_err_pid* .project .settings/ +.tox/ diff --git a/.python-version b/.python-version index a5c4c76..2c20ac9 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.9.0 +3.13.3 diff --git a/Dockerfile b/Dockerfile index 1fe259d..6646407 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3 +FROM python:3.13 LABEL maintainer="Jeffrey Phillips Freeman jeffrey.freeman@cleverthis.com" @@ -12,7 +12,7 @@ RUN apt update -y && \ apt-get dist-upgrade -y && \ apt-get install -y --no-install-recommends \ libssl-dev \ - libreadline-gplv2-dev \ + libreadline-dev \ libncursesw5-dev \ libssl-dev \ libsqlite3-dev \ @@ -24,18 +24,22 @@ RUN apt update -y && \ apt-get clean && \ rm -r /var/lib/apt/lists/* -#RUN pyenv install 2.7.18 && \ -# pyenv install 3.3.7 && \ -# pyenv install 3.4.10 && \ -# pyenv install 3.5.10 && \ -# pyenv install 3.9.0 && \ -# pyenv install pypy-5.7.1 +RUN pyenv install 3.13.3 && \ + pyenv install 3.12.10 && \ + pyenv install 3.11.12 && \ + pyenv install 3.10.17 && \ + pyenv install 3.9.21 && \ + pyenv install 3.8.20 && \ + pyenv install pypy-7.3.19 && \ + pyenv global 3.13.3 && \ + pyenv global 3.12.10 && \ + pyenv global 3.11.12 && \ + pyenv global 3.10.17 && \ + pyenv global 3.9.21 && \ + pyenv global 3.8.20 && \ + pyenv global pypy-7.3.19 -RUN pyenv install 3.9.0 && \ - pyenv install 2.7.18 && \ - pyenv global 2.7.18 && \ - pyenv global 3.9.0 -RUN /.pyenv/versions/3.9.0/bin/python3.9 -m pip install --upgrade pip +RUN /.pyenv/versions/3.13.3/bin/python3.13 -m pip install --upgrade pip RUN pip install tox RUN mkdir -p /usr/src/boilerplate && \ diff --git a/tox.ini b/tox.ini index 5fb5b6b..52efdfd 100644 --- a/tox.ini +++ b/tox.ini @@ -3,14 +3,14 @@ envlist = clean, build, check, - 3.9-cover, - 3.9-nocov, + 3.13-cover, + 3.13-nocov, report, docs [testenv] basepython = - {clean,check,report,extension-coveralls,coveralls,codecov,docs,spell,build}: python3.9 + {clean,check,report,extension-coveralls,coveralls,codecov,docs,spell,build}: python3.13 setenv = PYTHONPATH={toxinidir}/tests PYTHONUNBUFFERED=yes @@ -112,11 +112,11 @@ usedevelop = false deps = coverage -[testenv:3.9-nocov] -basepython = {env:TOXPYTHON:python3.9} +[testenv:3.13-nocov] +basepython = {env:TOXPYTHON:python3.13} -[testenv:3.9-cover] -basepython = {env:TOXPYTHON:python3.9} +[testenv:3.13-cover] +basepython = {env:TOXPYTHON:python3.13} setenv = {[testenv]setenv} WITH_COVERAGE=yes