pipenv: pipenv 2022.9.20 broken

When I run: pipenv install --system --skip-lock it doesn’t install anything.

My Pipfile is:

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[[source]]
url = "https://aws:${CODEARTIFACT_AUTH_TOKEN}@data-engineering-XXXXXXXXXX.d.codeartifact.us-west-2.amazonaws.com/pypi/data_engineering/simple/"
verify_ssl = true
name = "data_engineering"

[packages]
"boxsdk[jwt]" = "==3.4.0"
my_utils = {version="==0.0.70", index="data_engineering"}

[dev-packages]

[requires]
python_version = "3"

If I use pipenv 2022.9.8 (the previous version), everything works fine.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 18 (9 by maintainers)

Most upvoted comments

I had a similar issue running: pipenv install --dev --skip-lock I can confirm that installing the patched version you mentioned fixed it for me.

This seems to be a regression in the --skip-lock flag.

Hopefully, you have access to docker. That should be a good way to allow you to reproduce since you will start with exactly the same starting point as me. Here is the Pipfile:

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
requests = "*"

[dev-packages]

[requires]
python_version = "3"

Here is the Dockerfile:

FROM public.ecr.aws/bitnami/python:3.7
WORKDIR /app
COPY Pipfile .
RUN pip install pipenv
RUN pipenv install --system --skip-lock
ENTRYPOINT ["pip", "list"]

If you run the docker container, it spits out the list of dependencies. You will see it does NOT list requests as a dependency since pipenv didn’t actually do anything:

placer(main) > docker run --rm pipenv:2
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Package            Version
------------------ ---------
certifi            2022.9.14
distlib            0.3.6
filelock           3.8.0
importlib-metadata 4.12.0
pip                21.3.1
pipenv             2022.9.20
platformdirs       2.5.2
setuptools         63.4.3
typing_extensions  4.3.0
virtualenv         20.16.5
virtualenv-clone   0.5.7
zipp               3.8.1