Skip to content

Commit

Permalink
Python 3.13 (#3)
Browse files Browse the repository at this point in the history
* 3.13

* 3.13
  • Loading branch information
iakat authored Oct 8, 2024
1 parent 50ee0bb commit f0e8e40
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
FROM python:3.12-slim
FROM docker.io/python:3.13-slim AS builder
WORKDIR /app
COPY requirements.txt .
RUN export BUILD_DEPS="gcc cmake make" && \
RUN export BUILD_DEPS="libopenblas-dev liblapack-dev libmpfr-dev libmpc-dev libgfortran5 gfortran pkg-config gcc g++ build-essential cmake make" && \
apt-get update && \
apt-get -y install $BUILD_DEPS && \
pip install --no-cache-dir -r requirements.txt && \
apt-get purge -y --auto-remove $BUILD_DEPS && \
rm -rf /var/lib/apt/lists/*
COPY . .
RUN apt-get update && apt-get -y install gcc && \
pip install setuptools && \
python3 setup.py build_ext --inplace && \
apt-get purge -y --auto-remove gcc && \
rm -rf /var/lib/apt/lists/*
Expand Down
19 changes: 11 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile
# pip-compile --pre
#
cython==3.0.9
cython==3.0.11
# via -r requirements.in
numpy==1.26.4
numpy==2.1.2
# via
# -r requirements.in
# pykalman
# scipy
pykalman==0.9.5
pykalman==0.9.7
# via -r requirements.in
python-graph-core==1.8.2
# via -r requirements.in
scipy==1.12.0
# via -r requirements.in
ujson==5.9.0
scipy==1.14.1
# via
# -r requirements.in
# pykalman
ujson==5.10.0
# via -r requirements.in
uvloop==0.19.0
uvloop==0.21.0b1
# via -r requirements.in

0 comments on commit f0e8e40

Please sign in to comment.