diff options
-rw-r--r-- | Dockerfile | 7 | ||||
-rw-r--r-- | requirements/eval-deps.pip | 14 | ||||
-rw-r--r-- | tests/test_nsjail.py | 2 |
3 files changed, 13 insertions, 10 deletions
@@ -29,19 +29,20 @@ RUN apt-get -y update \ tk-dev \ && rm -rf /var/lib/apt/lists/* -RUN git clone -b v2.6.0 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT +RUN git clone -b v2.6.5 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT COPY --link scripts/build_python.sh / # ------------------------------------------------------------------------------ FROM builder-py-base AS builder-py-3_13 -RUN /build_python.sh 3.13.2 +RUN /build_python.sh 3.13.5 # ------------------------------------------------------------------------------ FROM builder-py-base AS builder-py-3_13t +# This can't be bumped to latest until https://github.com/python/cpython/issues/135734 is resolved. RUN /build_python.sh 3.13.2t # ------------------------------------------------------------------------------ FROM builder-py-base AS builder-py-3_14 -RUN /build_python.sh 3.14.0b2 +RUN /build_python.sh 3.14.0rc1 # ------------------------------------------------------------------------------ FROM python:3.13-slim-bookworm AS base diff --git a/requirements/eval-deps.pip b/requirements/eval-deps.pip index 40a1f6b..381ce0c 100644 --- a/requirements/eval-deps.pip +++ b/requirements/eval-deps.pip @@ -3,10 +3,10 @@ arrow~=1.3 attrs~=25.3 beautifulsoup4~=4.13 -# These packages don't support 3.13, 3.13t, nor 3.14-dev, so are commented out for now. +# Doesn't support 3.13, 3.13t, nor 3.14-dev, so commented out for now. # einspect~=0.5 -# fishhook~=0.3 +fishhook~=0.3; python_version == "3.13" forbiddenfruit~=0.1 fuzzywuzzy~=0.18 kaleido~=0.2 @@ -14,14 +14,14 @@ lark~=1.2 matplotlib~=3.10; python_version == "3.13" more-itertools~=10.7 networkx~=3.5 -numpy~=2.2; python_version == "3.13" -pandas~=2.2; python_version == "3.13" +numpy~=2.3 +pandas~=2.3; python_version == "3.13" pendulum~=3.1 -pyarrow~=20.0; python_version == "3.13" +pyarrow~=21.0; python_version == "3.13" python-dateutil~=2.9 pyyaml~=6.0 -scipy~=1.15; python_version == "3.13" +scipy~=1.16 sympy~=1.14 -typing-extensions~=4.13 +typing-extensions~=4.14 tzdata~=2025.2 yarl~=1.20 diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py index 6764f1e..01be592 100644 --- a/tests/test_nsjail.py +++ b/tests/test_nsjail.py @@ -458,6 +458,8 @@ class NsJailTests(unittest.TestCase): shm = SharedMemory(create=True, size={shm_size}) shm.buf[:{buffer_size}] = bytearray([1] * {buffer_size}) + shm.close() + shm.unlink() """ ).strip() |