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

Python 3.13 #8

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 2 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
4 changes: 2 additions & 2 deletions hatchery-bootstrap/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM --platform=linux/amd64 python:3.12.0rc1-bullseye
FROM --platform=linux/amd64 python:3.13.0a3-bullseye

RUN curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --output ~/miniconda.sh
RUN bash ~/miniconda.sh -b -p /opt/miniconda
RUN . /opt/miniconda/bin/activate && \
conda create -c numba/label/manylinux2014 -y -n buildenv llvmdev && \
conda activate buildenv
RUN python3.12 -m pip install --pre numpy
RUN python3.13 -m pip install --pre numpy
14 changes: 7 additions & 7 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.DEFAULT_GOAL=compile
.DEFAULT_GOAL=compile-pypi

update-pypi:
docker pull --platform linux/amd64 python:3.12.0rc1-bullseye
docker pull --platform linux/amd64 python:3.13.0a3-bullseye
update-aorg:
docker pull --platform linux/amd64 continuumio/miniconda3
build-pypi:
Expand All @@ -10,12 +10,12 @@ build-aorg:
docker build --no-cache -t hatchery-bootstrap-aorg hatchery-bootstrap-aorg
clone:
rm -rf llvmlite numba
./clone.sh py312.conf
./clone.sh py313.conf
compile-pypi:
docker run -it -v ${PWD}:/root/hostpwd/ hatchery-bootstrap /root/hostpwd/compile-pypi.sh /root/hostpwd/py312.local.conf
docker run -it -v ${PWD}:/root/hostpwd/ hatchery-bootstrap /root/hostpwd/compile-pypi.sh /root/hostpwd/py313.local.conf
compile-aorg:
docker run -it -v ${PWD}:/root/hostpwd/ hatchery-bootstrap-aorg /root/hostpwd/compile-aorg.sh /root/hostpwd/py312.local.conf
docker run -it -v ${PWD}:/root/hostpwd/ hatchery-bootstrap-aorg /root/hostpwd/compile-aorg.sh /root/hostpwd/py313.local.conf
compile_and_test-pypi:
docker run -it -v ${PWD}:/root/hostpwd/ hatchery-bootstrap /root/hostpwd/compile_and_test-pypi.sh /root/hostpwd/py312.local.conf
docker run -it -v ${PWD}:/root/hostpwd/ hatchery-bootstrap /root/hostpwd/compile_and_test-pypi.sh /root/hostpwd/py313.local.conf
compile_and_test-aorg:
docker run -it -v ${PWD}:/root/hostpwd/ hatchery-bootstrap-aorg /root/hostpwd/compile_and_test-aorg.sh /root/hostpwd/py312.local.conf
docker run -it -v ${PWD}:/root/hostpwd/ hatchery-bootstrap-aorg /root/hostpwd/compile_and_test-aorg.sh /root/hostpwd/py313.local.conf
5 changes: 5 additions & 0 deletions py313.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export MY_LLVMLITE_COMMIT="main"
export MY_LLVMLITE_URL="https://github.com/numba/llvmlite"
export MY_NUMBA_COMMIT="main"
export MY_NUMBA_URL="https://github.com/numba/numba"
export MY_PYTHON="main"
sklam marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 5 additions & 0 deletions py313.local.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export MY_LLVMLITE_COMMIT="main"
export MY_LLVMLITE_URL="https://github.com/numba/llvmlite"
export MY_NUMBA_COMMIT="main"
export MY_NUMBA_URL="https://github.com/numba/numba"
export MY_PYTHON="python3.13"