mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 22:59:53 +02:00
🎉 Checkout pip 20.2's new 2020-resolver feature
This commit is contained in:
parent
d3b6974316
commit
5806674fa0
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ RUN pip3 install --no-cache-dir --upgrade pip && \
|
|||
tar xvz -C ocrd_olena --strip-components=1 -f ocrd_olena.tar.gz && \
|
||||
cd ocrd_olena && \
|
||||
sed -i 's/^install: deps$/install:/' Makefile && \
|
||||
pip3 install --no-cache-dir ocrd && \
|
||||
pip3 install --no-cache-dir --use-feature=2020-resolver ocrd && \
|
||||
make install PREFIX=/usr/local && \
|
||||
cd .. && rm -rf ocrd_olena ocrd_olena.tar.gz
|
||||
|
||||
|
@ -73,7 +73,7 @@ COPY data/textline_detection /var/lib/textline_detection
|
|||
# Using pipdeptree here to get more info than from pip3 check
|
||||
COPY requirements.txt /tmp/
|
||||
RUN pip3 install --no-cache-dir --upgrade pip && \
|
||||
pip3 install --no-cache-dir -r /tmp/requirements.txt && \
|
||||
pip3 install --no-cache-dir --use-feature=2020-resolver -r /tmp/requirements.txt && \
|
||||
pip3 install --no-cache-dir pipdeptree && \
|
||||
pipdeptree -w fail
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue