diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 1d18f0e..b19d6ee 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/scripts/Containerfile b/scripts/Containerfile index ff01e6f..3f6df8a 100644 --- a/scripts/Containerfile +++ b/scripts/Containerfile @@ -8,6 +8,8 @@ RUN apk add --no-cache build-base git libffi-dev openssl-dev bzip2-dev zlib-dev ENV PYENV_ROOT=/pyenv RUN curl https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash RUN /pyenv/bin/pyenv install 3.10 +RUN /pyenv/bin/pyenv install 3.11 +RUN /pyenv/bin/pyenv install 3.12 RUN bash -xc 'rm -rf /pyenv/{.git,plugins} /pyenv/versions/*/lib/*/{test,config,config-*linux-gnu}' && \ find /pyenv -type d -name __pycache__ -exec rm -rf {} + && \ find /pyenv -type f -name '*.py[co]' -delete @@ -34,4 +36,4 @@ RUN sed -i '1 a exec &>/dev/null' /etc/s6-overlay/s6-rc.d/init-adduser/run # https://www.linuxserver.io/blog/2019-09-14-customizing-our-containers # To customize the container and start other components -COPY container.setup.sh /custom-cont-init.d/setup.sh \ No newline at end of file +COPY container.setup.sh /custom-cont-init.d/setup.sh diff --git a/setup.py b/setup.py index 9010755..98af52d 100755 --- a/setup.py +++ b/setup.py @@ -40,6 +40,8 @@ setup( "Operating System :: OS Independent", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: System :: Networking", ], entry_points={ diff --git a/tox.ini b/tox.ini index b2ead0f..1c95a35 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,8 @@ envlist = basepython = py39: python3.9 py310: python3.10 + py311: python3.11 + py312: python3.12 commands = pip install -e . # actual flake8 test