Skip to content

Commit c29eb01

Browse files
Merge pull request #238 from python-discord/bump-to-latest
Upgrade Python versions & eval-deps
2 parents af33642 + 006b79f commit c29eb01

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,20 @@ RUN apt-get -y update \
2929
tk-dev \
3030
&& rm -rf /var/lib/apt/lists/*
3131

32-
RUN git clone -b v2.6.0 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT
32+
RUN git clone -b v2.6.5 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT
3333

3434
COPY --link scripts/build_python.sh /
3535

3636
# ------------------------------------------------------------------------------
3737
FROM builder-py-base AS builder-py-3_13
38-
RUN /build_python.sh 3.13.2
38+
RUN /build_python.sh 3.13.5
3939
# ------------------------------------------------------------------------------
4040
FROM builder-py-base AS builder-py-3_13t
41+
# This can't be bumped to latest until https://github.com/python/cpython/issues/135734 is resolved.
4142
RUN /build_python.sh 3.13.2t
4243
# ------------------------------------------------------------------------------
4344
FROM builder-py-base AS builder-py-3_14
44-
RUN /build_python.sh 3.14.0b2
45+
RUN /build_python.sh 3.14.0rc1
4546
# ------------------------------------------------------------------------------
4647
FROM python:3.13-slim-bookworm AS base
4748

requirements/eval-deps.pip

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ arrow~=1.3
33
attrs~=25.3
44
beautifulsoup4~=4.13
55

6-
# These packages don't support 3.13, 3.13t, nor 3.14-dev, so are commented out for now.
6+
# Doesn't support 3.13, 3.13t, nor 3.14-dev, so commented out for now.
77
# einspect~=0.5
8-
# fishhook~=0.3
98

9+
fishhook~=0.3; python_version == "3.13"
1010
forbiddenfruit~=0.1
1111
fuzzywuzzy~=0.18
1212
kaleido~=0.2
1313
lark~=1.2
1414
matplotlib~=3.10; python_version == "3.13"
1515
more-itertools~=10.7
1616
networkx~=3.5
17-
numpy~=2.2; python_version == "3.13"
18-
pandas~=2.2; python_version == "3.13"
17+
numpy~=2.3
18+
pandas~=2.3; python_version == "3.13"
1919
pendulum~=3.1
20-
pyarrow~=20.0; python_version == "3.13"
20+
pyarrow~=21.0; python_version == "3.13"
2121
python-dateutil~=2.9
2222
pyyaml~=6.0
23-
scipy~=1.15; python_version == "3.13"
23+
scipy~=1.16
2424
sympy~=1.14
25-
typing-extensions~=4.13
25+
typing-extensions~=4.14
2626
tzdata~=2025.2
2727
yarl~=1.20

tests/test_nsjail.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ def test_multiprocessing_shared_memory(self):
458458
459459
shm = SharedMemory(create=True, size={shm_size})
460460
shm.buf[:{buffer_size}] = bytearray([1] * {buffer_size})
461+
shm.close()
462+
shm.unlink()
461463
"""
462464
).strip()
463465

0 commit comments

Comments
 (0)