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 |
- Fixes pypa#2499 - Fixes pypa#2529 - Fixes pypa#2589 - Fixes pypa#2666 - Fixes pypa#2767 - Fixes pypa#2785 - Fixes pypa#2795 - Fixes pypa#2801 - Fixes pypa#2802 - Fixes pypa#2824 - Fixes pypa#2862 - Fixes pypa#2867 - Fixes pypa#2879 - Fixes pypa#2880 - Fixes pypa#2894 - Fixes pypa#2902 - Fixes pypa#2924 Signed-off-by: Dan Ryan <dan@danryan.co>
Issue description
I'm trying install
boto3
pinned to version<1.8
to work around an issue withmoto
(spulec/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: