Fix: Se actualizan dependencias para python3.12 y primeros pasos con pruebas
This commit is contained in:
22
Dockerfile
22
Dockerfile
@@ -7,18 +7,18 @@ RUN apt install software-properties-common -y \
|
||||
&& add-apt-repository ppa:deadsnakes/ppa
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
python3.7 python3.7-distutils python3.7-dev \
|
||||
python3.8 python3.8-distutils python3.8-dev \
|
||||
python3.9 python3.9-distutils python3.9-dev \
|
||||
python3.10 python3.10-distutils python3.10-dev \
|
||||
python3.11 python3.10-distutils python3.10-dev \
|
||||
python3.12 python3.10-distutils python3.10-dev \
|
||||
wget \
|
||||
ca-certificates
|
||||
|
||||
RUN wget https://bootstrap.pypa.io/get-pip.py \
|
||||
&& python3.7 get-pip.py pip==22.2.2 \
|
||||
&& python3.8 get-pip.py pip==22.2.2 \
|
||||
&& python3.9 get-pip.py pip==22.2.2 \
|
||||
&& python3.10 get-pip.py pip==22.2.2 \
|
||||
&& python3.9 get-pip.py pip==23.2.1 --break-system-packages \
|
||||
&& python3.10 get-pip.py pip==23.2.1 --break-system-packages \
|
||||
&& python3.11 get-pip.py pip==23.2.1 --break-system-packages \
|
||||
&& python3.12 get-pip.py pip==23.2.1 --break-system-packages \
|
||||
&& rm get-pip.py
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
@@ -27,14 +27,14 @@ RUN apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
zip
|
||||
|
||||
RUN python3.7 --version
|
||||
RUN python3.8 --version
|
||||
RUN python3.9 --version
|
||||
RUN python3.10 --version
|
||||
RUN python3.11 --version
|
||||
RUN python3.12 --version
|
||||
|
||||
RUN pip3.7 install setuptools setuptools-rust
|
||||
RUN pip3.8 install setuptools setuptools-rust
|
||||
RUN pip3.9 install setuptools setuptools-rust
|
||||
RUN pip3.10 install setuptools setuptools-rust
|
||||
RUN pip3.11 install setuptools setuptools-rust --break-system-packages
|
||||
RUN pip3.12 install setuptools setuptools-rust --break-system-packages
|
||||
|
||||
RUN pip3 install tox pytest
|
||||
RUN pip3 install tox pytest --break-system-packages
|
||||
|
||||
Reference in New Issue
Block a user