Skip to content

Commit 51555bd

Browse files
committed
limit setuptools via pyproject.toml
1 parent 0256e9b commit 51555bd

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ COPY ./requirements_dev.txt /audoma/requirements_dev.txt
99
RUN apt-get update && \
1010
apt-get -y install sudo
1111
RUN sudo apt-get install -y python3-dev libpq-dev
12-
RUN pip install --upgrade pip 'setuptools<71'
12+
RUN pip install --upgrade pip
1313
RUN pip install -r /audoma/requirements_dev.txt
1414

1515
RUN git clone https://github.com/pyenv/pyenv /root/.pyenv
16-
RUN /root/.pyenv/bin/pyenv install 3.8.12 && /root/.pyenv/bin/pyenv install 3.9.7
17-
RUN /root/.pyenv/bin/pyenv local 3.8.12 3.9.7
16+
RUN /root/.pyenv/bin/pyenv install 3.7.13 && /root/.pyenv/bin/pyenv install 3.8.12 && /root/.pyenv/bin/pyenv install 3.9.7
17+
RUN /root/.pyenv/bin/pyenv local 3.7.13 3.8.12 3.9.7
1818

1919
ADD ./ /audoma
2020
RUN pip install .

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools<82.0.0", "wheel"]
3+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)