-
-
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
Could not find a version that satisfies the requirement ruamel-yaml==0.15.72 #2977
Comments
This issue is a duplicate of #2956. |
I believe the latest version (released yesterday) does not have this issue anymore. |
@uranusjr Issue is still present $ pipenv --supportPipenv version: Pipenv location: Python location: Python installations found:
PEP 508 Information:
System environment variables:
Pipenv–specific environment variables:
Debug–specific environment variables:
Contents of [[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
ruamel-yaml = "*"
[dev-packages]
[requires]
python_version = "3.7"
Contents of {
"_meta": {
"hash": {
"sha256": "f2fcef2ea28fc899d2fe2313437270070d265128280a9d45c94df40e90d7f175"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.7"
},
"sources": [
{
"name": "pypi",
"url": "https://pypi.org/simple",
"verify_ssl": true
}
]
},
"default": {
"ruamel-yaml": {
"hashes": [
"sha256:10a8912a32f51eed40e32aa76e2700bb7bfc92f321a0e98409e3b1132bac4519",
"sha256:1224d1f6abefda0de53ded39e51fc5e0bc0bb496f9e2f6566d3abe2f03cf54c8",
"sha256:1d51f69dd8dd6fc58b8b3ca7aef87580b940ad0764ac1ea86f8b64feb555d5db",
"sha256:3bc6377f623e48959bbc4eca07db614c9c0e374b9eea79feff93258aebafc38d",
"sha256:3df98993f7e20864e60cba10606e14ad109175bb78c1129b06d38a0492beac36",
"sha256:4796caffcbb81929d8be643df46c74f1825fff4dc0f7e132ea10f727ef89a0cd",
"sha256:57d1a4c2d158f53040a9d8a611e79a1235be3418a1f8370145493adbab0ebbeb",
"sha256:6655d70b2e2f6b40220ea4c6caac5bed15cb477bbaf7c6687029f3c82a45bca0",
"sha256:7eff959cf0a792cb5650b5f50cc8bb5c53b3ab136695268c66ccd3cd332ba2b9",
"sha256:867e2d0f7d5b4b3dbd9810fa601a9cb663ca8eec45c1f4b3bf56281894c47119",
"sha256:9e5179afa032cd64216f9c508b5428cbe3cc42bb6b7dbb33e7cbf64c38eb2f2d",
"sha256:a2fbb7e2e09390758f704dd04a17643108a3494292c49e9f4a10f248316ec2ae",
"sha256:a3fde21c981928fde30c5ddded90d313487522c3e7b2011b20b4a17d82e14926",
"sha256:ab0353559bd1a47e67e287090daa04bed7c19ec887bf311010fe69ddb40fd8eb",
"sha256:ab7ef6d1ca0dc914fd66eacc8a5cfbf47f5530fe106c81f645b55cff2e1da984",
"sha256:ab993f82687407dd8f478fb1c1213735524b10f1aa296391261838ee41331ed0",
"sha256:bd76a9aee355306bfc173865e891885a63888ee15b0e358a66d697bb5c9e208a",
"sha256:c1483c3de2010b5eb7dfbf6a2484e59d96c5c3a96f67b6ef4dd801471a21195b",
"sha256:dbf52838c2fd987417cf820aed3a7dea0ba19dfe47c978361afb00cc1366264b",
"sha256:edce27e000efe88d280e05984175a38835b32929be5c893a8dab6d5af4090995",
"sha256:f037812ac7360201eef2aa6d977836b2a31419c65ce706c5e0bfb176a99efa04"
],
"index": "pypi",
"version": "==0.15.72"
}
},
"develop": {}
}
|
You are installing from a Pipfile generated using the previous version which had the issue. For the record, you should generally avoid The whole bug to begin with was that names of packages were getting ‘normalized’ when being added to the files, in this case |
If your Pipfile.lock was generated by the previous version, you need to regenerate it. Pipenv cannot automatically correct package names (due to a related bug in pip). |
@techalchemy @uranusjr Already tried that. Deleted everything and run Here is Pipfile and Pipfile.lock after that
and Dockerfile
Still fails after all this, after I added |
Oh, so you specified |
In bash you need to wrap it in quotes iirc if you are going to do it from the command line. Or you know. Fix the Pipfile one. Either way |
@uranusjr I did not specify it. I run |
I can confirm this issue is still present and causes another issue in PyCharm as described in: |
To further add, this also breaks uninstalling:
Leaving the following behind
|
FYI, I was able to get package1 = "==1.2.3"
"ruamel.yaml" = "==0.16.10"
package3 = "==6.4.5" |
Issue description
When building with docker installation fails
Expected result
Successful build
Actual result
Steps to replicate
Dockerfile
docker build -t drf_yasg .
$ pipenv --support
Pipenv version:
'2018.10.9'
Pipenv location:
'/usr/local/Cellar/pipenv/2018.10.9/libexec/lib/python3.7/site-packages/pipenv'
Python location:
'/usr/local/Cellar/pipenv/2018.10.9/libexec/bin/python3.7'
Python installations found:
3.7.0
:/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/bin/python3.7
3.6.5
:/Users/batiskaf/.pyenv/versions/3.6.5/bin/python3.6
3.6.5
:/Users/batiskaf/.pyenv/versions/3.6.5/bin/python3.6m
3.5.5
:/Users/batiskaf/.pyenv/versions/3.5.5/bin/python3.5
3.5.5
:/Users/batiskaf/.pyenv/versions/3.5.5/bin/python3.5m
2.7.10
:/usr/bin/python
2.7.10
:/usr/bin/pythonw
2.7.10
:/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
PEP 508 Information:
System environment variables:
PATH
MANPATH
TERM_PROGRAM
PYENV_ROOT
TERM
SHELL
TMPDIR
PIPENV_VENV_IN_PROJECT
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
TERM_SESSION_ID
LC_ALL
USER
SSH_AUTH_SOCK
TMUX
_
PWD
EDITOR
LANG
TMUX_PANE
XPC_FLAGS
XPC_SERVICE_NAME
HISTCONTROL
SHLVL
HOME
VIEWER
XDG_CONFIG_HOME
HOMEBREW_PREFIX
LOGNAME
LC_CTYPE
FZF_DEFAULT_COMMAND
DISPLAY
__CF_USER_TEXT_ENCODING
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
PIPENV_VENV_IN_PROJECT
:1
Debug–specific environment variables:
PATH
:/usr/local/Cellar/pipenv/2018.10.9/libexec/tools:/usr/local/opt/python/libexec/bin:/usr/local/opt/coreutils/libexec/gnubin:/Users/batiskaf/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/opt/python/libexec/bin:/usr/local/opt/coreutils/libexec/gnubin:/Users/batiskaf/.pyenv/bin:/usr/local/sbin:/usr/local/sbin
SHELL
:/usr/local/bin/bash
EDITOR
:/usr/local/bin/nvim
LANG
:en_US.UTF-8
PWD
:/Users/batiskaf/Development/Python/install_drf_yasg
Contents of
Pipfile
('/Users/batiskaf/Development/Python/install_drf_yasg/Pipfile'):Contents of
Pipfile.lock
('/Users/batiskaf/Development/Python/install_drf_yasg/Pipfile.lock'):The text was updated successfully, but these errors were encountered: