-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2018.11.14 regression: pipenv lock -r > ...
creates corrupted requirements file
#3239
Comments
Hey @Zebradil, We did a quick check and this issue looks very darn similar to
This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄 If not, the maintainers will get to this issue shortly. Cheers, |
Tried the same with the previous version (2018.10.13) — works as expected.
Look at first two lines. However, I'm not sure why in the error message I see |
- added a new metadata section to more closely emulate Kubernetes manifests - renamed kv_backend to kv_engine - enabled static analysis and security scans in CI - bumped the version to 0.2.0 - pinned pipenv in Dockerfile to avoid regression in new release, see: pypa/pipenv#3239
When you run Some context: I use the following pattern for bundling Python dependencies as part of an archive builder script for AWS Lambda:
As a workaround, I was able to restore the old behavior with |
hrm, this is a good observation. We need to fix this |
(I believe only the frozen final frame of the spinner goes to stdout) |
I have been attempting to track this down but am actually struggling to find the frame which gets written to stdout |
Got it! sarugaku/vistir#41 Successfully installed certifi-2018.10.15 pipenv-2018.11.15.dev0 virtualenv-16.1.0 virtualenv-clone-0.4.0
Removing intermediate container 032e11add394
---> c8b1be7e75a5
Step 6/6 : RUN pipenv lock -r > requirements.txt; pip install -U -r requirements.txt
---> Running in 42668600ea5d
Creating a virtualenv for this project…
Pipfile: /opt/app/Pipfile
Running...
Using /usr/local/bin/python (3.6.7) to create virtualenv…
Running... virtual environment...
⠴ Creating virtual environment...Already using interpreter /usr/local/bin/python
Using base prefix '/usr/local'
New python executable in /root/.local/share/virtualenvs/app-ueEJiAOq/bin/python
Installing setuptools, pip, wheel...
done.
Removing intermediate container 42668600ea5d
---> 312bc682aa72
Successfully built 312bc682aa72
Successfully tagged pipenv-test:latest |
- Fixes #3239 Signed-off-by: Dan Ryan <[email protected]>
@Zebradil - i am having the same issue. Can you share what you did? |
As a workaround you can just downgrade pipenv version:
To check all available versions use
|
Issue description
I'm trying to re-build an image from the following Dockerfile:
and getting error on the last step.
Expected result
pip install packages from the requirements.txt successfully.
Actual result
Steps to replicate
Dockerfile
with the contents from the abovedocker build -t pipenv-test .
docker run python:3.6-alpine ash -c 'pip install pipenv; pipenv --support'
produces:$ pipenv --support
Pipenv version:
'2018.11.14'
Pipenv location:
'/usr/local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Python installations found:
3.6.7
:/usr/local/bin/python
3.6.7
:/usr/local/bin/python3.6m
PEP 508 Information:
System environment variables:
HOSTNAME
PYTHON_PIP_VERSION
SHLVL
HOME
GPG_KEY
PATH
LANG
PYTHON_VERSION
PWD
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:C.UTF-8
PWD
:/
The text was updated successfully, but these errors were encountered: