Remove --use-feature=2020-resolver in pip commands

They are now the default and cause a warning:

WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
This commit is contained in:
Bruno Alla 2021-02-23 20:34:41 +00:00
parent 25000e1015
commit ff98d8f517
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
COPY ./requirements /requirements COPY ./requirements /requirements
# create python dependency wheels # create python dependency wheels
RUN pip wheel --no-cache-dir --no-deps --use-feature=2020-resolver --wheel-dir /usr/src/app/wheels \ RUN pip wheel --no-cache-dir --no-deps --wheel-dir /usr/src/app/wheels \
-r /requirements/local.txt \ -r /requirements/local.txt \
&& rm -rf /requirements && rm -rf /requirements

View File

@ -30,7 +30,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
COPY ./requirements /requirements COPY ./requirements /requirements
# create python dependency wheels # create python dependency wheels
RUN pip wheel --no-cache-dir --no-deps --use-feature=2020-resolver --wheel-dir /usr/src/app/wheels \ RUN pip wheel --no-cache-dir --no-deps --wheel-dir /usr/src/app/wheels \
-r /requirements/production.txt \ -r /requirements/production.txt \
&& rm -rf /requirements && rm -rf /requirements