Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ['3.11', '3.12']
python_version: ['3.12']
ubuntu_version: ['22.04', '24.04']
tox_env: [ "django42", "django52"]
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v6
with:
python-version: 3.11
python-version: 3.12

- name: Install pip
run: pip install pip
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG ubuntu_version="24.04"
FROM ubuntu:${ubuntu_version}
SHELL ["/bin/bash", "-c"]

ARG python_version="3.11"
ARG python_version="3.12"

# Install Codejail Packages
ENV TZ=Etc/UTC
Expand All @@ -16,9 +16,7 @@ RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && apt-get upgrade -y
# ---------------------------------------------------------------------------
# - The "distutils" module was removed in Python 3.12 (PEP 632).
# - To ensure virtualenv creation still works, we now prefer python3-venv instead.
# - Older Python versions (e.g., 3.11) still support distutils, so we keep the
# fallback to install python3-distutils if needed.
# - To ensure virtualenv creation still works, we use python3-venv instead.
# ---------------------------------------------------------------------------
RUN apt-get install -y vim python${python_version} python${python_version}-dev python${python_version}-venv || \
apt-get install -y vim python${python_version} python${python_version}-dev python3-distutils
Expand Down
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ This library currently is tested to work with the following versions

Python:

* 3.11
* 3.12

Ubuntu:
Expand Down
2 changes: 1 addition & 1 deletion codejail/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""init"""

__version__ = '4.1.0'
__version__ = '4.1.1'
6 changes: 3 additions & 3 deletions requirements/development.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
asgiref==3.11.1 # via -r requirements/testing.txt, django
astroid==4.0.4 # via -r requirements/testing.txt, pylint
dill==0.4.1 # via -r requirements/testing.txt, pylint
django==5.2.11 # via -c requirements/common_constraints.txt, -r requirements/testing.txt
django==5.2.12 # via -c requirements/common_constraints.txt, -r requirements/testing.txt
iniconfig==2.3.0 # via -r requirements/testing.txt, pytest
isort==8.0.1 # via -r requirements/testing.txt, pylint
mccabe==0.7.0 # via -r requirements/testing.txt, pylint
packaging==26.0 # via -r requirements/testing.txt, pytest
platformdirs==4.9.2 # via -r requirements/testing.txt, pylint
platformdirs==4.9.4 # via -r requirements/testing.txt, pylint
pluggy==1.6.0 # via -r requirements/testing.txt, pytest
pycodestyle==2.14.0 # via -r requirements/testing.txt
pygments==2.19.2 # via -r requirements/testing.txt, pytest
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip_tools.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
Expand Down
2 changes: 1 addition & 1 deletion requirements/sandbox.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
Expand Down
4 changes: 2 additions & 2 deletions requirements/testing.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
Expand All @@ -11,7 +11,7 @@ iniconfig==2.3.0 # via pytest
isort==8.0.1 # via -r requirements/testing.in, pylint
mccabe==0.7.0 # via pylint
packaging==26.0 # via pytest
platformdirs==4.9.2 # via pylint
platformdirs==4.9.4 # via pylint
pluggy==1.6.0 # via pytest
pycodestyle==2.14.0 # via -r requirements/testing.in
pygments==2.19.2 # via pytest
Expand Down
9 changes: 5 additions & 4 deletions requirements/tox.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
cachetools==7.0.1 # via tox
cachetools==7.0.3 # via tox
colorama==0.4.6 # via tox
distlib==0.4.0 # via virtualenv
filelock==3.25.0 # via python-discovery, tox, virtualenv
packaging==26.0 # via pyproject-api, tox
platformdirs==4.9.2 # via python-discovery, tox, virtualenv
platformdirs==4.9.4 # via python-discovery, tox, virtualenv
pluggy==1.6.0 # via tox
pyproject-api==1.10.0 # via tox
python-discovery==1.1.0 # via virtualenv
tox==4.47.0 # via -r requirements/tox.in
tomli-w==1.2.0 # via tox
tox==4.48.1 # via -r requirements/tox.in
virtualenv==21.1.0 # via tox
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def get_version(*file_paths):
"Intended Audience :: Developers",
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)