Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[py] bump to 3.12 #191

Merged
merged 1 commit into from
Apr 9, 2024
Merged
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 pxd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ VENVDIR=${BUILD_ROOT:-$(realpath $(dirname $0))/build}/$(basename $(pwd))-$(echo

if [ ! -d $VENVDIR ]; then
python3 -m venv $VENVDIR
$VENVDIR/bin/pip install pysdl2 pysdl2-dll mypy black Cython==3.0.0a11
$VENVDIR/bin/pip install pysdl2 pysdl2-dll Cython setuptools
fi
source $VENVDIR/bin/activate

Expand Down
2 changes: 1 addition & 1 deletion py/build_mypyc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cd $(dirname $0)
BUILDDIR=${BUILD_ROOT:-$(realpath $(dirname $0))/build}/$(basename $(pwd))-$(echo $(basename $0) | sed 's/build_*\(.*\).sh/\1/')-$(uname)-$(uname -m)-venv
if [ ! -d $BUILDDIR ] ; then
python3 -m venv $BUILDDIR
$BUILDDIR/bin/pip install pysdl2 pysdl2-dll 'mypy>=1.0.0'
$BUILDDIR/bin/pip install pysdl2 pysdl2-dll 'mypy[mypyc]' setuptools
fi
source $BUILDDIR/bin/activate

Expand Down
24 changes: 0 additions & 24 deletions py/setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion utils/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ COPY --from=shish2k/rosettaboy-devkit-php:8.3.4 --chown=${USER_ID}:${GROUP_ID} /
ENV PATH="/home/dev/.php/bin:$PATH"

# Install Python tools
COPY --from=shish2k/rosettaboy-devkit-python:3.11.5 --chown=${USER_ID}:${GROUP_ID} /home/dev/.pyenv /home/dev/.pyenv
COPY --from=shish2k/rosettaboy-devkit-python:3.12.2 --chown=${USER_ID}:${GROUP_ID} /home/dev/.pyenv /home/dev/.pyenv
ENV PYENV_ROOT="/home/dev/.pyenv"
ENV PATH="/home/dev/.pyenv/shims:/home/dev/.pyenv/bin:$PATH"

Expand Down
Loading