-
-
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
Can't install boto3<1.8 and credstash #2862
Comments
Yet another resolution issue. I know the core maintainers are working on replacing the resolution module. What about putting a section of 'Known issues' somewhere in README to avoid such kind of issues. |
I seem to be having similar issues with botocore this evening, all of a sudden. I anticipated doing further investigation tomorrow morning. Are there known workarounds? |
@frostming I highly doubt it would help at all, based on my past experience manging other projects :p If people open issues without investigating or reading others, it is extremely highly unlikely they would read the README. @petergaultney The workaround is likely to pin boto to a lower version in Pipfile. |
@uranusjr, if this is a known issue then a section in the README would be really useful. I looked through a number of similar issues before I raised this one so if there's more information then I would really have appreciated that. This is an attempted workaround, pinning to a lower version, and it doesn't work. |
Well I guess a PR about this wouldn’t hurt :) I just don’t want to spend time writing it. (I know that if I did, and someone posts an issue without reading, I will get extremely frustrated and start cursing at people. That is unhealthy to both myself and the project.) |
Thanks. Just a suggestion - a URL pointing to the appropriate sections of the documentation, printed along with the error output, could go a long way here. I've spent hours reading pipenv docs over the past couple months, but the truth is it's not always easy to find the relevant details. |
@uranusjr, I'd be happy to open a pull request for the README. My understanding of the issue is that |
Issue description
I'm trying install
boto3
pinned to version<1.8
to work around an issue withmoto
(getmoto/moto#1800) and I'm also usingcredstash
, which is pinned to==1..14
.pipenv
can't find a version ofbotocore
to satisfy the dependencies but I don't understand why that's the case.The version of
boto3
pulled in is1.7.84
and the version ofbotocore
is set to<1.11.0
(https://github.com/boto/boto3/blob/1.7.84/setup.py#L17)credstash
requiresboto3>=1.1.1
(https://github.com/fugue/credstash/blob/v1.14.0/setup.py#L18) which would be satisfied by1.7.84
.Expected result
Based on the requirement constraints I would expect a lock file to be generated.
Actual result
Steps to replicate
pipenv install --skip-lock 'boto3<1.8' 'credstash==1.14'
pipenv lock -v
$ pipenv --support
Pipenv version:
'2018.7.1'
Pipenv location:
'/usr/local/lib/python3.7/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Other Python installations in
PATH
:2.7
:/usr/bin/python2.7
2.7
:/usr/bin/python2.7
3.5
:/usr/bin/python3.5m
3.5
:/usr/bin/python3.5
3.7
:/usr/local/bin/python3.7m
3.7
:/usr/local/bin/python3.7
3.7
:/usr/local/bin/python3.7
3.7.0
:/usr/local/bin/python
3.7.0
:/usr/local/bin/python
2.7.13
:/usr/bin/python
2.7.13
:/usr/bin/python2
3.7.0
:/usr/local/bin/python3
3.7.0
:/usr/local/bin/python3
3.5.3
:/usr/bin/python3
PEP 508 Information:
System environment variables:
LANG
HOSTNAME
GPG_KEY
PWD
HOME
TERM
PYTHON_VERSION
SHLVL
PATH
PYTHON_PIP_VERSION
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
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
:/opt/py
Contents of
Pipfile
('/opt/py/Pipfile'):The text was updated successfully, but these errors were encountered: