Skip to content

Commit 69d5953

Browse files
chore: remove support for python 3.8, add 3.12
1 parent 276c76d commit 69d5953

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python_version: ['3.11']
15+
python_version: ['3.11', '3.12']
1616
ubuntu_version: ['22.04', '24.04']
1717
tox_env: [ "django42", "django52"]
1818
include:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV TZ=Etc/UTC
1010
ENV DEBIAN_FRONTEND=noninteractive
1111
RUN apt-get update && apt-get install -y software-properties-common
1212
RUN add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && apt-get upgrade -y
13-
RUN apt-get install -y vim python${python_version} python${python_version}-dev python${python_version}-distutils
13+
RUN apt-get install -y vim python${python_version} python${python_version}-dev
1414
RUN apt-get install -y sudo git make curl build-essential
1515
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python${python_version}
1616
RUN pip install virtualenv

codejail/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""init"""
22

3-
__version__ = '3.5.2'
3+
__version__ = '4.0.0'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_version(*file_paths):
5151
"Intended Audience :: Developers",
5252
'Programming Language :: Python',
5353
'Programming Language :: Python :: 3',
54-
'Programming Language :: Python :: 3.8',
5554
'Programming Language :: Python :: 3.11',
55+
'Programming Language :: Python :: 3.12',
5656
],
5757
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ubuntu ALL=(sandbox) SETENV:NOPASSWD:/home/sandbox/codejail_sandbox-python3.12/bin/python
2+
ubuntu ALL=(sandbox) SETENV:NOPASSWD:/usr/bin/find
3+
ubuntu ALL=(ALL) NOPASSWD:/usr/bin/pkill
4+
5+
Defaults!/home/sandbox/codejail_sandbox-python3.12/bin/python !requiretty
6+
Defaults!/usr/bin/find !requiretty
7+
Defaults!/usr/bin/pkill !requiretty

0 commit comments

Comments
 (0)