Skip to content

Commit 506fc21

Browse files
Update the image's PyPy to 3.12 (PyPy 8.0.1) (#419)
* Update the image's PyPy to 3.12 (PyPy 8.0.1) Use the latest alpine-pypy release, built for Alpine 3.24 to match the base image. It ships as a .tar.gz rather than .tar.bz2. * Bump version to 2.11.4 and add a changelog entry
1 parent b172ca0 commit 506fc21

5 files changed

Lines changed: 18 additions & 10 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 2.11.4
4+
5+
### Changed: update the Docker image's PyPy to 3.12
6+
7+
- The amd64 Docker image now ships PyPy `8.0.1` (Python 3.12), up from PyPy
8+
`7.3.20` (Python 3.11). The reachability engine uses it to speed up Python
9+
analysis.
10+
311
## 2.11.3
412

513
### Fixed: finish rejecting the compromised eMudhra intermediate CAs

‎Dockerfile‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ RUN if [ "$DOTNET_VERSION" = "6" ]; then \
8989

9090
# Install PyPy (Alpine-compatible build for x86_64 only)
9191
# PyPy is an alternative Python interpreter that makes the Python reachability analysis faster.
92-
# This is a custom build of PyPy3.11 for Alpine on x86-64.
92+
# This is a custom build of PyPy3.12 for Alpine on x86-64.
9393
ARG TARGETARCH # Passed by Docker buildx
9494
RUN if [ "$TARGETARCH" = "amd64" ]; then \
95-
PYPY_URL="https://github.com/BarrensZeppelin/alpine-pypy/releases/download/alp3.23.1-pypy3.11-7.3.20/pypy3.11-v7.3.20-linux64-alpine3.21.tar.bz2" && \
96-
PYPY_SHA256="60847fea6ffe96f10a3cd4b703686e944bb4fbcc01b7200c044088dd228425e1" && \
97-
curl -L -o /tmp/pypy.tar.bz2 "$PYPY_URL" && \
98-
echo "$PYPY_SHA256 /tmp/pypy.tar.bz2" | sha256sum -c - && \
95+
PYPY_URL="https://github.com/BarrensZeppelin/alpine-pypy/releases/download/alp3.24.2-pypy3.12-8.0.1/pypy3.12-v8.0.1-linux64-alpine3.24.tar.gz" && \
96+
PYPY_SHA256="b6d5dd429c6394f1710a52e3e20d5c9198547caff9528547c457d3f2ed37db09" && \
97+
curl -L -o /tmp/pypy.tar.gz "$PYPY_URL" && \
98+
echo "$PYPY_SHA256 /tmp/pypy.tar.gz" | sha256sum -c - && \
9999
mkdir -p /opt/pypy && \
100-
tar -xj --strip-components=1 -C /opt/pypy -f /tmp/pypy.tar.bz2 && \
101-
rm /tmp/pypy.tar.bz2 && \
100+
tar -xz --strip-components=1 -C /opt/pypy -f /tmp/pypy.tar.gz && \
101+
rm /tmp/pypy.tar.gz && \
102102
ln -s /opt/pypy/bin/pypy3 /bin/pypy3 && \
103103
pypy3 --version; \
104104
fi

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.11.3"
9+
version = "2.11.4"
1010
requires-python = ">= 3.11"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [

‎socketsecurity/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.11.3'
2+
__version__ = '2.11.4'
33
USER_AGENT = f'SocketPythonCLI/{__version__}'

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)