Skip to content
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

1.33.0: Python: jsii version conflict - Can not install using pipenv #7426

Closed
alastairmccormack opened this issue Apr 18, 2020 · 5 comments · Fixed by #7436
Closed

1.33.0: Python: jsii version conflict - Can not install using pipenv #7426

alastairmccormack opened this issue Apr 18, 2020 · 5 comments · Fixed by #7436
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. p0

Comments

@alastairmccormack
Copy link

Pip complains with:

ERROR: constructs 3.0.1 has requirement jsii~=1.1.0, but you'll have jsii 1.3.1 which is incompatible.

Pipenv fails completely.

Reproduction Steps

Pip

pip install aws-cdk.core==1.33.0

Pipenv

pipenv install aws-cdk.core==1.33.0

Error Log

Pip

pip install aws-cdk.core
Collecting aws-cdk.core
  Using cached aws_cdk.core-1.33.0-py3-none-any.whl (624 kB)
Collecting jsii~=1.3.0
  Using cached jsii-1.3.1-py3-none-any.whl (263 kB)
Collecting publication>=0.0.3
  Using cached publication-0.0.3-py2.py3-none-any.whl (7.7 kB)
Collecting aws-cdk.cx-api==1.33.0
  Using cached aws_cdk.cx_api-1.33.0-py3-none-any.whl (101 kB)
Collecting constructs<4.0.0,>=3.0.0
  Using cached constructs-3.0.1-py3-none-any.whl (75 kB)
Collecting aws-cdk.cloud-assembly-schema==1.33.0
  Using cached aws_cdk.cloud_assembly_schema-1.33.0-py3-none-any.whl (89 kB)
Collecting python-dateutil
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting cattrs~=1.0.0
  Using cached cattrs-1.0.0-py2.py3-none-any.whl (14 kB)
Collecting typing-extensions~=3.7.4
  Using cached typing_extensions-3.7.4.2-py3-none-any.whl (22 kB)
Collecting attrs~=19.3.0
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting six>=1.5
  Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
ERROR: constructs 3.0.1 has requirement jsii~=1.1.0, but you'll have jsii 1.3.1 which is incompatible.
Installing collected packages: six, python-dateutil, attrs, cattrs, typing-extensions, jsii, publication, aws-cdk.cloud-assembly-schema, aws-cdk.cx-api, constructs, aws-cdk.core
Successfully installed attrs-19.3.0 aws-cdk.cloud-assembly-schema-1.33.0 aws-cdk.core-1.33.0 aws-cdk.cx-api-1.33.0 cattrs-1.0.0 constructs-3.0.1 jsii-1.3.1 publication-0.0.3 python-dateutil-2.8.1 six-1.14.0 typing-extensions-3.7.4.2

Pipenv

pipenv install -d -v aws-cdk.core==1.33.0
Installing aws-cdk.core==1.33.0…
⠋ Installing...Installing 'aws-cdk.core'
$ ['/Users/mccorma/.local/share/virtualenvs/dreamdrm-web-63x4D6vm/bin/pip', 'install', '--pre', '--verbose', '--upgrade', '"aws-cdk.core==1.33.0"', '-i', 'https://pypi.org/simple']
Adding aws-cdk.core to Pipfile's [dev-packages]…
✔ Installation Succeeded
Pipfile.lock (8e6c4d) out of date, updating to (45fdf8)…
Locking [dev-packages] dependencies…
✘ Locking Failed!
Using pip: -i https://pypi.org/simple
Using pip: -i https://pypi.org/simple
Using pip: -i https://pypi.org/simple

                          ROUND 1
Current constraints:
  aws-cdk-core==1.33.0
  moto
  pytest

Finding the best candidates:
  found candidate aws-cdk-core==1.33.0 (constraint was ==1.33.0)
  found candidate moto==1.3.15.dev634 (constraint was <any>)
  found candidate pytest==5.4.1 (constraint was <any>)

Finding secondary dependencies:
  pytest==5.4.1             requires attrs>=17.4.0, importlib-metadata>=0.12; python_version < "3.8", more-itertools>=4.0.0, packaging, pluggy<1.0,>=0.12, py>=1.5.0, wcwidth
  moto==1.3.15.dev634       requires aws-xray-sdk!=0.96,>=0.93, boto3>=1.9.201, boto>=2.36.0, botocore>=1.12.201, cfn-lint>=0.4.0, cryptography>=2.3.0, docker>=2.5.1, idna<3,>=2.5, jinja2<3.0.0,>=2.10.1, jsondiff>=1.1.2, mock<=3.0.5, more-itertools==5.0.0, python-dateutil<3.0.0,>=2.1, python-jose<4.0.0, pytz, pyyaml>=5.1, requests>=2.5, responses>=0.9.0, setuptools==44.0.0, six>1.9, sshpubkeys<4.0,>=3.1.0, werkzeug, xmltodict, zipp==0.6.0
  aws-cdk-core==1.33.0      requires aws-cdk.cloud-assembly-schema==1.33.0, aws-cdk.cx-api==1.33.0, constructs<4.0.0,>=3.0.0, jsii~=1.3.0, publication>=0.0.3

New dependencies found in this round:
  adding ['attrs', '>=17.4.0', '[]']
  adding ['aws-cdk.cloud-assembly-schema', '==1.33.0', '[]']
  adding ['aws-cdk.cx-api', '==1.33.0', '[]']
  adding ['aws-xray-sdk', '!=0.96,>=0.93', '[]']
  adding ['boto', '>=2.36.0', '[]']
  adding ['boto3', '>=1.9.201', '[]']
  adding ['botocore', '>=1.12.201', '[]']
  adding ['cfn-lint', '>=0.4.0', '[]']
  adding ['constructs', '<4.0.0,>=3.0.0', '[]']
  adding ['cryptography', '>=2.3.0', '[]']
  adding ['docker', '>=2.5.1', '[]']
  adding ['idna', '<3,>=2.5', '[]']
  adding ['importlib-metadata', '>=0.12', '[]']
  adding ['jinja2', '<3.0.0,>=2.10.1', '[]']
  adding ['jsii', '~=1.3.0', '[]']
  adding ['jsondiff', '>=1.1.2', '[]']
  adding ['mock', '<=3.0.5', '[]']
  adding ['more-itertools', '==5.0.0,>=4.0.0', '[]']
  adding ['packaging', '', '[]']
  adding ['pluggy', '<1.0,>=0.12', '[]']
  adding ['publication', '>=0.0.3', '[]']
  adding ['py', '>=1.5.0', '[]']
  adding ['python-dateutil', '<3.0.0,>=2.1', '[]']
  adding ['python-jose', '<4.0.0', '[]']
  adding ['pytz', '', '[]']
  adding ['pyyaml', '>=5.1', '[]']
  adding ['requests', '>=2.5', '[]']
  adding ['responses', '>=0.9.0', '[]']
  adding ['six', '>1.9', '[]']
  adding ['sshpubkeys', '<4.0,>=3.1.0', '[]']
  adding ['wcwidth', '', '[]']
  adding ['werkzeug', '', '[]']
  adding ['xmltodict', '', '[]']
  adding ['zipp', '==0.6.0', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  attrs>=17.4.0
  aws-cdk-core==1.33.0
  aws-cdk.cloud-assembly-schema==1.33.0
  aws-cdk.cx-api==1.33.0
  aws-xray-sdk!=0.96,>=0.93
  boto>=2.36.0
  boto3>=1.9.201
  botocore>=1.12.201
  cfn-lint>=0.4.0
  constructs<4.0.0,>=3.0.0
  cryptography>=2.3.0
  docker>=2.5.1
  idna<3,>=2.5
  importlib-metadata>=0.12
  jinja2<3.0.0,>=2.10.1
  jsii~=1.3.0
  jsondiff>=1.1.2
  mock<=3.0.5
  more-itertools==5.0.0,>=4.0.0
  moto
  packaging
  pluggy<1.0,>=0.12
  publication>=0.0.3
  py>=1.5.0
  pytest
  python-dateutil<3.0.0,>=2.1
  python-jose<4.0.0
  pytz
  pyyaml>=5.1
  requests>=2.5
  responses>=0.9.0
  six>1.9
  sshpubkeys<4.0,>=3.1.0
  wcwidth
  werkzeug
  xmltodict
  zipp==0.6.0

Finding the best candidates:
  found candidate attrs==19.3.0 (constraint was >=17.4.0)
  found candidate aws-cdk-core==1.33.0 (constraint was ==1.33.0)
  found candidate aws-cdk.cloud-assembly-schema==1.33.0 (constraint was ==1.33.0)
  found candidate aws-cdk.cx-api==1.33.0 (constraint was ==1.33.0)
  found candidate aws-xray-sdk==2.5.0 (constraint was >=0.93,!=0.96)
  found candidate boto==2.49.0 (constraint was >=2.36.0)
  found candidate boto3==1.12.41 (constraint was >=1.9.201)
  found candidate botocore==1.15.41 (constraint was >=1.12.201)
  found candidate cfn-lint==0.29.5 (constraint was >=0.4.0)
  found candidate constructs==3.0.1 (constraint was >=3.0.0,<4.0.0)
  found candidate cryptography==2.9 (constraint was >=2.3.0)
  found candidate docker==4.2.0 (constraint was >=2.5.1)
  found candidate idna==2.9 (constraint was >=2.5,<3)
  found candidate importlib-metadata==1.6.0 (constraint was >=0.12)
  found candidate jinja2==2.11.2 (constraint was >=2.10.1,<3.0.0)
  found candidate jsii==1.3.1 (constraint was ~=1.3.0)
  found candidate jsondiff==1.2.0 (constraint was >=1.1.2)
  found candidate mock==3.0.5 (constraint was <=3.0.5)
  found candidate more-itertools==5.0.0 (constraint was >=4.0.0,==5.0.0)
  found candidate moto==1.3.15.dev634 (constraint was <any>)
  found candidate packaging==20.3 (constraint was <any>)
  found candidate pluggy==0.13.1 (constraint was >=0.12,<1.0)
  found candidate publication==0.0.3 (constraint was >=0.0.3)
  found candidate py==1.8.1 (constraint was >=1.5.0)
  found candidate pytest==5.4.1 (constraint was <any>)
  found candidate python-dateutil==2.8.1 (constraint was >=2.1,<3.0.0)
  found candidate python-jose==3.1.0 (constraint was <4.0.0)
  found candidate pytz==2019.3 (constraint was <any>)
  found candidate pyyaml==5.3.1 (constraint was >=5.1)
  found candidate requests==2.23.0 (constraint was >=2.5)
  found candidate responses==0.10.12 (constraint was >=0.9.0)
  found candidate six==1.14.0 (constraint was >1.9)
  found candidate sshpubkeys==3.1.0 (constraint was >=3.1.0,<4.0)
  found candidate wcwidth==0.1.9 (constraint was <any>)
  found candidate werkzeug==1.0.1 (constraint was <any>)
  found candidate xmltodict==0.12.0 (constraint was <any>)
  found candidate zipp==0.6.0 (constraint was ==0.6.0)

Finding secondary dependencies:
  publication==0.0.3        requires -
  cfn-lint==0.29.5          requires aws-sam-translator>=1.21.0, jsonpatch; python_version != "3.4", jsonschema~=3.0, networkx~=2.4; python_version >= "3.5", pyyaml; python_version != "3.4", six~=1.11
  responses==0.10.12        requires requests>=2.0, six
  importlib-metadata==1.6.0 requires zipp>=0.5
  constructs==3.0.1         requires jsii~=1.1.0, publication>=0.0.3
  python-dateutil==2.8.1    requires six>=1.5
  zipp==0.6.0               requires more-itertools
  pyyaml==5.3.1             requires -
  more-itertools==5.0.0     requires six<2.0.0,>=1.0.0
  pytest==5.4.1             requires attrs>=17.4.0, importlib-metadata>=0.12; python_version < "3.8", more-itertools>=4.0.0, packaging, pluggy<1.0,>=0.12, py>=1.5.0, wcwidth
  aws-cdk.cx-api==1.33.0    requires aws-cdk.cloud-assembly-schema==1.33.0, jsii~=1.3.0, publication>=0.0.3
  aws-cdk-core==1.33.0      requires aws-cdk.cloud-assembly-schema==1.33.0, aws-cdk.cx-api==1.33.0, constructs<4.0.0,>=3.0.0, jsii~=1.3.0, publication>=0.0.3
  cryptography==2.9         requires cffi!=1.11.3,>=1.8, six>=1.4.1
  packaging==20.3           requires pyparsing>=2.0.2, six
  python-jose==3.1.0        requires ecdsa<1.0, pyasn1, rsa, six<2.0
  requests==2.23.0          requires certifi>=2017.4.17, chardet<4,>=3.0.2, idna<3,>=2.5, urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  aws-cdk.cloud-assembly-schema==1.33.0 requires jsii~=1.3.0, publication>=0.0.3
  jsondiff==1.2.0           requires -
  xmltodict==0.12.0         requires -
  pluggy==0.13.1            requires importlib-metadata>=0.12; python_version < "3.8"
  six==1.14.0               requires -
  mock==3.0.5               requires six
  werkzeug==1.0.1           requires -
  boto3==1.12.41            requires botocore<1.16.0,>=1.15.41, jmespath<1.0.0,>=0.7.1, s3transfer<0.4.0,>=0.3.0
  jsii==1.3.1               requires attrs~=19.3.0, cattrs~=1.0.0, python-dateutil, typing-extensions~=3.7.4
  moto==1.3.15.dev634       requires aws-xray-sdk!=0.96,>=0.93, boto3>=1.9.201, boto>=2.36.0, botocore>=1.12.201, cfn-lint>=0.4.0, cryptography>=2.3.0, docker>=2.5.1, idna<3,>=2.5, jinja2<3.0.0,>=2.10.1, jsondiff>=1.1.2, mock<=3.0.5, more-itertools==5.0.0, python-dateutil<3.0.0,>=2.1, python-jose<4.0.0, pytz, pyyaml>=5.1, requests>=2.5, responses>=0.9.0, setuptools==44.0.0, six>1.9, sshpubkeys<4.0,>=3.1.0, werkzeug, xmltodict, zipp==0.6.0
  sshpubkeys==3.1.0         requires cryptography>=2.1.4, ecdsa>=0.13
  idna==2.9                 requires -
  jinja2==2.11.2            requires markupsafe>=0.23
  wcwidth==0.1.9            requires -
  py==1.8.1                 requires -
  attrs==19.3.0             requires -
  boto==2.49.0              requires -
  botocore==1.15.41         requires docutils<0.16,>=0.10, jmespath<1.0.0,>=0.7.1, python-dateutil<3.0.0,>=2.1, urllib3<1.26,>=1.20; python_version != "3.4"
  pytz==2019.3              requires -
  aws-xray-sdk==2.5.0       requires botocore>=1.11.3, future, jsonpickle, wrapt
  docker==4.2.0             requires requests!=2.18.0,>=2.14.2, six>=1.4.0, websocket-client>=0.32.0

New dependencies found in this round:
  adding ['attrs', '>=17.4.0,~=19.3.0', '[]']
  adding ['aws-sam-translator', '>=1.21.0', '[]']
  adding ['botocore', '<1.16.0,>=1.11.3,>=1.12.201,>=1.15.41', '[]']
  adding ['cattrs', '~=1.0.0', '[]']
  adding ['certifi', '>=2017.4.17', '[]']
  adding ['cffi', '!=1.11.3,>=1.8', '[]']
  adding ['chardet', '<4,>=3.0.2', '[]']
  adding ['cryptography', '>=2.1.4,>=2.3.0', '[]']
  adding ['docutils', '<0.16,>=0.10', '[]']
  adding ['ecdsa', '<1.0,>=0.13', '[]']
  adding ['future', '', '[]']
  adding ['jmespath', '<1.0.0,>=0.7.1', '[]']
  adding ['jsii', '~=1.1.0,~=1.3.0', '[]']
  adding ['jsonpatch', '', '[]']
  adding ['jsonpickle', '', '[]']
  adding ['jsonschema', '~=3.0', '[]']
  adding ['markupsafe', '>=0.23', '[]']
  adding ['networkx', '~=2.4', '[]']
  adding ['pyasn1', '', '[]']
  adding ['pyparsing', '>=2.0.2', '[]']
  adding ['requests', '!=2.18.0,>=2.0,>=2.14.2,>=2.5', '[]']
  adding ['rsa', '', '[]']
  adding ['s3transfer', '<0.4.0,>=0.3.0', '[]']
  adding ['six', '<2.0,<2.0.0,>1.9,>=1.0.0,>=1.4.0,>=1.4.1,>=1.5,~=1.11', '[]']
  adding ['typing-extensions', '~=3.7.4', '[]']
  adding ['urllib3', '!=1.25.0,!=1.25.1,<1.26,>=1.20,>=1.21.1', '[]']
  adding ['websocket-client', '>=0.32.0', '[]']
  adding ['wrapt', '', '[]']
  adding ['zipp', '==0.6.0,>=0.5', '[]']
Removed dependencies in this round:
  removing ['attrs', '>=17.4.0', '[]']
  removing ['botocore', '>=1.12.201', '[]']
  removing ['cryptography', '>=2.3.0', '[]']
  removing ['jsii', '~=1.3.0', '[]']
  removing ['requests', '>=2.5', '[]']
  removing ['six', '>1.9', '[]']
  removing ['zipp', '==0.6.0', '[]']
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 2: not stable

                          ROUND 3
Current constraints:
  attrs>=17.4.0,~=19.3.0
  aws-cdk-core==1.33.0
  aws-cdk.cloud-assembly-schema==1.33.0
  aws-cdk.cx-api==1.33.0
  aws-sam-translator>=1.21.0
  aws-xray-sdk!=0.96,>=0.93
  boto>=2.36.0
  boto3>=1.9.201
  botocore<1.16.0,>=1.11.3,>=1.12.201,>=1.15.41
  cattrs~=1.0.0
  certifi>=2017.4.17
  cffi!=1.11.3,>=1.8
  cfn-lint>=0.4.0
  chardet<4,>=3.0.2
  constructs<4.0.0,>=3.0.0
  cryptography>=2.1.4,>=2.3.0
  docker>=2.5.1
  docutils<0.16,>=0.10
  ecdsa<1.0,>=0.13
  future
  idna<3,>=2.5
  importlib-metadata>=0.12
  jinja2<3.0.0,>=2.10.1
  jmespath<1.0.0,>=0.7.1
  jsii~=1.1.0,~=1.3.0
  jsondiff>=1.1.2
  jsonpatch
  jsonpickle
  jsonschema~=3.0
  markupsafe>=0.23
  mock<=3.0.5
  more-itertools==5.0.0,>=4.0.0
  moto
  networkx~=2.4
  packaging
  pluggy<1.0,>=0.12
  publication>=0.0.3
  py>=1.5.0
  pyasn1
  pyparsing>=2.0.2
  pytest
  python-dateutil<3.0.0,>=2.1
  python-jose<4.0.0
  pytz
  pyyaml>=5.1
  requests!=2.18.0,>=2.0,>=2.14.2,>=2.5
  responses>=0.9.0
  rsa
  s3transfer<0.4.0,>=0.3.0
  six<2.0,<2.0.0,>1.9,>=1.0.0,>=1.4.0,>=1.4.1,>=1.5,~=1.11
  sshpubkeys<4.0,>=3.1.0
  typing-extensions~=3.7.4
  urllib3!=1.25.0,!=1.25.1,<1.26,>=1.20,>=1.21.1
  wcwidth
  websocket-client>=0.32.0
  werkzeug
  wrapt
  xmltodict
  zipp==0.6.0,>=0.5

Finding the best candidates:
  found candidate attrs==19.3.0 (constraint was >=17.4.0,~=19.3.0)
  found candidate aws-cdk-core==1.33.0 (constraint was ==1.33.0)
  found candidate aws-cdk.cloud-assembly-schema==1.33.0 (constraint was ==1.33.0)
  found candidate aws-cdk.cx-api==1.33.0 (constraint was ==1.33.0)
  found candidate aws-sam-translator==1.22.0 (constraint was >=1.21.0)
  found candidate aws-xray-sdk==2.5.0 (constraint was >=0.93,!=0.96)
  found candidate boto==2.49.0 (constraint was >=2.36.0)
  found candidate boto3==1.12.41 (constraint was >=1.9.201)
  found candidate botocore==1.15.41 (constraint was >=1.11.3,>=1.12.201,>=1.15.41,<1.16.0)
  found candidate cattrs==1.0.0 (constraint was ~=1.0.0)
  found candidate certifi==2020.4.5.1 (constraint was >=2017.4.17)
  found candidate cffi==1.14.0 (constraint was !=1.11.3,>=1.8)
  found candidate cfn-lint==0.29.5 (constraint was >=0.4.0)
  found candidate chardet==3.0.4 (constraint was >=3.0.2,<4)
  found candidate constructs==3.0.1 (constraint was >=3.0.0,<4.0.0)
  found candidate cryptography==2.9 (constraint was >=2.1.4,>=2.3.0)
  found candidate docker==4.2.0 (constraint was >=2.5.1)
  found candidate docutils==0.15.2 (constraint was >=0.10,<0.16)
  found candidate ecdsa==0.15 (constraint was >=0.13,<1.0)
  found candidate future==0.18.2 (constraint was <any>)
  found candidate idna==2.9 (constraint was >=2.5,<3)
  found candidate importlib-metadata==1.6.0 (constraint was >=0.12)
  found candidate jinja2==2.11.2 (constraint was >=2.10.1,<3.0.0)
  found candidate jmespath==0.9.5 (constraint was >=0.7.1,<1.0.0)
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 385, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 198, in _resolve_one_round
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 198, in <setcomp>
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 263, in get_best_match
    best_match = self.repository.find_best_match(ireq, prereleases=self.prereleases)
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 175, in find_best_match
    raise NoCandidateFound(ireq, all_candidates, self.finder)
pipenv.patched.piptools.exceptions.NoCandidateFound: Could not find a version that matches jsii~=1.1.0,~=1.3.0
Tried: 0.0.0, 0.8.0, 0.8.0, 0.8.1, 0.8.1, 0.8.2, 0.8.2, 0.9.0, 0.9.0, 0.10.0, 0.10.0, 0.10.1, 0.10.1, 0.10.2, 0.10.2, 0.10.3, 0.10.3, 0.10.4, 0.10.4, 0.10.5, 0.10.5, 0.11.0, 0.11.0, 0.11.1, 0.11.1, 0.11.2, 0.11.2, 0.11.3, 0.11.3, 0.12.0, 0.12.0, 0.12.1, 0.12.1, 0.13.0, 0.13.0, 0.13.1, 0.13.1, 0.13.2, 0.13.2, 0.13.3, 0.13.3, 0.13.4, 0.13.4, 0.14.0, 0.14.0, 0.14.1, 0.14.1, 0.14.2, 0.14.2, 0.14.3, 0.14.3, 0.15.0, 0.15.0, 0.15.1, 0.15.1, 0.15.2, 0.15.2, 0.16.0, 0.16.0, 0.17.0, 0.17.0, 0.17.1, 0.17.1, 0.18.0, 0.18.0, 0.19.0, 0.19.0, 0.20.0, 0.20.0, 0.20.1, 0.20.1, 0.20.2, 0.20.2, 0.20.3, 0.20.3, 0.20.4, 0.20.4, 0.20.5, 0.20.5, 0.20.6, 0.20.6, 0.20.7, 0.20.7, 0.20.8, 0.20.8, 0.20.9, 0.20.9, 0.20.10, 0.20.10, 0.20.11, 0.20.11, 0.21.0, 0.21.0, 0.21.1, 0.21.1, 0.21.2, 0.21.2, 0.22.0, 0.22.0, 1.0.0, 1.0.0, 1.1.0, 1.1.0, 1.2.0, 1.2.0, 1.3.0, 1.3.0, 1.3.1, 1.3.1
There are incompatible versions in the resolved dependencies.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 126, in <module>
    main()
  File "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 119, in main
    parsed.requirements_dir, parsed.packages)
  File "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 85, in _main
    requirements_dir=requirements_dir,
  File "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve
    req_dir=requirements_dir
  File "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps
    req_dir=req_dir,
  File "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
    resolved_tree = resolver.resolve()
  File "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches jsii~=1.1.0,~=1.3.0
Tried: 0.0.0, 0.8.0, 0.8.0, 0.8.1, 0.8.1, 0.8.2, 0.8.2, 0.9.0, 0.9.0, 0.10.0, 0.10.0, 0.10.1, 0.10.1, 0.10.2, 0.10.2, 0.10.3, 0.10.3, 0.10.4, 0.10.4, 0.10.5, 0.10.5, 0.11.0, 0.11.0, 0.11.1, 0.11.1, 0.11.2, 0.11.2, 0.11.3, 0.11.3, 0.12.0, 0.12.0, 0.12.1, 0.12.1, 0.13.0, 0.13.0, 0.13.1, 0.13.1, 0.13.2, 0.13.2, 0.13.3, 0.13.3, 0.13.4, 0.13.4, 0.14.0, 0.14.0, 0.14.1, 0.14.1, 0.14.2, 0.14.2, 0.14.3, 0.14.3, 0.15.0, 0.15.0, 0.15.1, 0.15.1, 0.15.2, 0.15.2, 0.16.0, 0.16.0, 0.17.0, 0.17.0, 0.17.1, 0.17.1, 0.18.0, 0.18.0, 0.19.0, 0.19.0, 0.20.0, 0.20.0, 0.20.1, 0.20.1, 0.20.2, 0.20.2, 0.20.3, 0.20.3, 0.20.4, 0.20.4, 0.20.5, 0.20.5, 0.20.6, 0.20.6, 0.20.7, 0.20.7, 0.20.8, 0.20.8, 0.20.9, 0.20.9, 0.20.10, 0.20.10, 0.20.11, 0.20.11, 0.21.0, 0.21.0, 0.21.1, 0.21.1, 0.21.2, 0.21.2, 0.22.0, 0.22.0, 1.0.0, 1.0.0, 1.1.0, 1.1.0, 1.2.0, 1.2.0, 1.3.0, 1.3.0, 1.3.1, 1.3.1
There are incompatible versions in the resolved dependencies.
Using pip: -i https://pypi.org/simple
Using pip: -i https://pypi.org/simple

                          ROUND 1
Current constraints:
  aws-cdk-core==1.33.0
  moto
  pytest

Finding the best candidates:
  found candidate aws-cdk-core==1.33.0 (constraint was ==1.33.0)
  found candidate moto==1.3.15.dev634 (constraint was <any>)
  found candidate pytest==5.4.1 (constraint was <any>)

Finding secondary dependencies:
  pytest==5.4.1             requires attrs>=17.4.0, importlib-metadata>=0.12; python_version < "3.8", more-itertools>=4.0.0, packaging, pluggy<1.0,>=0.12, py>=1.5.0, wcwidth
  moto==1.3.15.dev634       requires aws-xray-sdk!=0.96,>=0.93, boto3>=1.9.201, boto>=2.36.0, botocore>=1.12.201, cfn-lint>=0.4.0, cryptography>=2.3.0, docker>=2.5.1, idna<3,>=2.5, jinja2<3.0.0,>=2.10.1, jsondiff>=1.1.2, mock<=3.0.5, more-itertools==5.0.0, python-dateutil<3.0.0,>=2.1, python-jose<4.0.0, pytz, pyyaml>=5.1, requests>=2.5, responses>=0.9.0, setuptools==44.0.0, six>1.9, sshpubkeys<4.0,>=3.1.0, werkzeug, xmltodict, zipp==0.6.0
  aws-cdk-core==1.33.0      requires aws-cdk.cloud-assembly-schema==1.33.0, aws-cdk.cx-api==1.33.0, constructs<4.0.0,>=3.0.0, jsii~=1.3.0, publication>=0.0.3

New dependencies found in this round:
  adding ['attrs', '>=17.4.0', '[]']
  adding ['aws-cdk.cloud-assembly-schema', '==1.33.0', '[]']
  adding ['aws-cdk.cx-api', '==1.33.0', '[]']
  adding ['aws-xray-sdk', '!=0.96,>=0.93', '[]']
  adding ['boto', '>=2.36.0', '[]']
  adding ['boto3', '>=1.9.201', '[]']
  adding ['botocore', '>=1.12.201', '[]']
  adding ['cfn-lint', '>=0.4.0', '[]']
  adding ['constructs', '<4.0.0,>=3.0.0', '[]']
  adding ['cryptography', '>=2.3.0', '[]']
  adding ['docker', '>=2.5.1', '[]']
  adding ['idna', '<3,>=2.5', '[]']
  adding ['importlib-metadata', '>=0.12', '[]']
  adding ['jinja2', '<3.0.0,>=2.10.1', '[]']
  adding ['jsii', '~=1.3.0', '[]']
  adding ['jsondiff', '>=1.1.2', '[]']
  adding ['mock', '<=3.0.5', '[]']
  adding ['more-itertools', '==5.0.0,>=4.0.0', '[]']
  adding ['packaging', '', '[]']
  adding ['pluggy', '<1.0,>=0.12', '[]']
  adding ['publication', '>=0.0.3', '[]']
  adding ['py', '>=1.5.0', '[]']
  adding ['python-dateutil', '<3.0.0,>=2.1', '[]']
  adding ['python-jose', '<4.0.0', '[]']
  adding ['pytz', '', '[]']
  adding ['pyyaml', '>=5.1', '[]']
  adding ['requests', '>=2.5', '[]']
  adding ['responses', '>=0.9.0', '[]']
  adding ['six', '>1.9', '[]']
  adding ['sshpubkeys', '<4.0,>=3.1.0', '[]']
  adding ['wcwidth', '', '[]']
  adding ['werkzeug', '', '[]']
  adding ['xmltodict', '', '[]']
  adding ['zipp', '==0.6.0', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  attrs>=17.4.0
  aws-cdk-core==1.33.0
  aws-cdk.cloud-assembly-schema==1.33.0
  aws-cdk.cx-api==1.33.0
  aws-xray-sdk!=0.96,>=0.93
  boto>=2.36.0
  boto3>=1.9.201
  botocore>=1.12.201
  cfn-lint>=0.4.0
  constructs<4.0.0,>=3.0.0
  cryptography>=2.3.0
  docker>=2.5.1
  idna<3,>=2.5
  importlib-metadata>=0.12
  jinja2<3.0.0,>=2.10.1
  jsii~=1.3.0
  jsondiff>=1.1.2
  mock<=3.0.5
  more-itertools==5.0.0,>=4.0.0
  moto
  packaging
  pluggy<1.0,>=0.12
  publication>=0.0.3
  py>=1.5.0
  pytest
  python-dateutil<3.0.0,>=2.1
  python-jose<4.0.0
  pytz
  pyyaml>=5.1
  requests>=2.5
  responses>=0.9.0
  six>1.9
  sshpubkeys<4.0,>=3.1.0
  wcwidth
  werkzeug
  xmltodict
  zipp==0.6.0

Finding the best candidates:
  found candidate attrs==19.3.0 (constraint was >=17.4.0)
  found candidate aws-cdk-core==1.33.0 (constraint was ==1.33.0)
  found candidate aws-cdk.cloud-assembly-schema==1.33.0 (constraint was ==1.33.0)
  found candidate aws-cdk.cx-api==1.33.0 (constraint was ==1.33.0)
  found candidate aws-xray-sdk==2.5.0 (constraint was >=0.93,!=0.96)
  found candidate boto==2.49.0 (constraint was >=2.36.0)
  found candidate boto3==1.12.41 (constraint was >=1.9.201)
  found candidate botocore==1.15.41 (constraint was >=1.12.201)
  found candidate cfn-lint==0.29.5 (constraint was >=0.4.0)
  found candidate constructs==3.0.1 (constraint was >=3.0.0,<4.0.0)
  found candidate cryptography==2.9 (constraint was >=2.3.0)
  found candidate docker==4.2.0 (constraint was >=2.5.1)
  found candidate idna==2.9 (constraint was >=2.5,<3)
  found candidate importlib-metadata==1.6.0 (constraint was >=0.12)
  found candidate jinja2==2.11.2 (constraint was >=2.10.1,<3.0.0)
  found candidate jsii==1.3.1 (constraint was ~=1.3.0)
  found candidate jsondiff==1.2.0 (constraint was >=1.1.2)
  found candidate mock==3.0.5 (constraint was <=3.0.5)
  found candidate more-itertools==5.0.0 (constraint was >=4.0.0,==5.0.0)
  found candidate moto==1.3.15.dev634 (constraint was <any>)
  found candidate packaging==20.3 (constraint was <any>)
  found candidate pluggy==0.13.1 (constraint was >=0.12,<1.0)
  found candidate publication==0.0.3 (constraint was >=0.0.3)
  found candidate py==1.8.1 (constraint was >=1.5.0)
  found candidate pytest==5.4.1 (constraint was <any>)
  found candidate python-dateutil==2.8.1 (constraint was >=2.1,<3.0.0)
  found candidate python-jose==3.1.0 (constraint was <4.0.0)
  found candidate pytz==2019.3 (constraint was <any>)
  found candidate pyyaml==5.3.1 (constraint was >=5.1)
  found candidate requests==2.23.0 (constraint was >=2.5)
  found candidate responses==0.10.12 (constraint was >=0.9.0)
  found candidate six==1.14.0 (constraint was >1.9)
  found candidate sshpubkeys==3.1.0 (constraint was >=3.1.0,<4.0)
  found candidate wcwidth==0.1.9 (constraint was <any>)
  found candidate werkzeug==1.0.1 (constraint was <any>)
  found candidate xmltodict==0.12.0 (constraint was <any>)
  found candidate zipp==0.6.0 (constraint was ==0.6.0)

Finding secondary dependencies:
  publication==0.0.3        requires -
  cfn-lint==0.29.5          requires aws-sam-translator>=1.21.0, jsonpatch; python_version != "3.4", jsonschema~=3.0, networkx~=2.4; python_version >= "3.5", pyyaml; python_version != "3.4", six~=1.11
  responses==0.10.12        requires requests>=2.0, six
  importlib-metadata==1.6.0 requires zipp>=0.5
  constructs==3.0.1         requires jsii~=1.1.0, publication>=0.0.3
  python-dateutil==2.8.1    requires six>=1.5
  zipp==0.6.0               requires more-itertools
  pyyaml==5.3.1             requires -
  more-itertools==5.0.0     requires six<2.0.0,>=1.0.0
  pytest==5.4.1             requires attrs>=17.4.0, importlib-metadata>=0.12; python_version < "3.8", more-itertools>=4.0.0, packaging, pluggy<1.0,>=0.12, py>=1.5.0, wcwidth
  aws-cdk.cx-api==1.33.0    requires aws-cdk.cloud-assembly-schema==1.33.0, jsii~=1.3.0, publication>=0.0.3
  aws-cdk-core==1.33.0      requires aws-cdk.cloud-assembly-schema==1.33.0, aws-cdk.cx-api==1.33.0, constructs<4.0.0,>=3.0.0, jsii~=1.3.0, publication>=0.0.3
  cryptography==2.9         requires cffi!=1.11.3,>=1.8, six>=1.4.1
  packaging==20.3           requires pyparsing>=2.0.2, six
  python-jose==3.1.0        requires ecdsa<1.0, pyasn1, rsa, six<2.0
  requests==2.23.0          requires certifi>=2017.4.17, chardet<4,>=3.0.2, idna<3,>=2.5, urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  aws-cdk.cloud-assembly-schema==1.33.0 requires jsii~=1.3.0, publication>=0.0.3
  jsondiff==1.2.0           requires -
  xmltodict==0.12.0         requires -
  pluggy==0.13.1            requires importlib-metadata>=0.12; python_version < "3.8"
  six==1.14.0               requires -
  mock==3.0.5               requires six
  werkzeug==1.0.1           requires -
  boto3==1.12.41            requires botocore<1.16.0,>=1.15.41, jmespath<1.0.0,>=0.7.1, s3transfer<0.4.0,>=0.3.0
  jsii==1.3.1               requires attrs~=19.3.0, cattrs~=1.0.0, python-dateutil, typing-extensions~=3.7.4
  moto==1.3.15.dev634       requires aws-xray-sdk!=0.96,>=0.93, boto3>=1.9.201, boto>=2.36.0, botocore>=1.12.201, cfn-lint>=0.4.0, cryptography>=2.3.0, docker>=2.5.1, idna<3,>=2.5, jinja2<3.0.0,>=2.10.1, jsondiff>=1.1.2, mock<=3.0.5, more-itertools==5.0.0, python-dateutil<3.0.0,>=2.1, python-jose<4.0.0, pytz, pyyaml>=5.1, requests>=2.5, responses>=0.9.0, setuptools==44.0.0, six>1.9, sshpubkeys<4.0,>=3.1.0, werkzeug, xmltodict, zipp==0.6.0
  sshpubkeys==3.1.0         requires cryptography>=2.1.4, ecdsa>=0.13
  idna==2.9                 requires -
  jinja2==2.11.2            requires markupsafe>=0.23
  wcwidth==0.1.9            requires -
  py==1.8.1                 requires -
  attrs==19.3.0             requires -
  boto==2.49.0              requires -
  botocore==1.15.41         requires docutils<0.16,>=0.10, jmespath<1.0.0,>=0.7.1, python-dateutil<3.0.0,>=2.1, urllib3<1.26,>=1.20; python_version != "3.4"
  pytz==2019.3              requires -
  aws-xray-sdk==2.5.0       requires botocore>=1.11.3, future, jsonpickle, wrapt
  docker==4.2.0             requires requests!=2.18.0,>=2.14.2, six>=1.4.0, websocket-client>=0.32.0

New dependencies found in this round:
  adding ['attrs', '>=17.4.0,~=19.3.0', '[]']
  adding ['aws-sam-translator', '>=1.21.0', '[]']
  adding ['botocore', '<1.16.0,>=1.11.3,>=1.12.201,>=1.15.41', '[]']
  adding ['cattrs', '~=1.0.0', '[]']
  adding ['certifi', '>=2017.4.17', '[]']
  adding ['cffi', '!=1.11.3,>=1.8', '[]']
  adding ['chardet', '<4,>=3.0.2', '[]']
  adding ['cryptography', '>=2.1.4,>=2.3.0', '[]']
  adding ['docutils', '<0.16,>=0.10', '[]']
  adding ['ecdsa', '<1.0,>=0.13', '[]']
  adding ['future', '', '[]']
  adding ['jmespath', '<1.0.0,>=0.7.1', '[]']
  adding ['jsii', '~=1.1.0,~=1.3.0', '[]']
  adding ['jsonpatch', '', '[]']
  adding ['jsonpickle', '', '[]']
  adding ['jsonschema', '~=3.0', '[]']
  adding ['markupsafe', '>=0.23', '[]']
  adding ['networkx', '~=2.4', '[]']
  adding ['pyasn1', '', '[]']
  adding ['pyparsing', '>=2.0.2', '[]']
  adding ['requests', '!=2.18.0,>=2.0,>=2.14.2,>=2.5', '[]']
  adding ['rsa', '', '[]']
  adding ['s3transfer', '<0.4.0,>=0.3.0', '[]']
  adding ['six', '<2.0,<2.0.0,>1.9,>=1.0.0,>=1.4.0,>=1.4.1,>=1.5,~=1.11', '[]']
  adding ['typing-extensions', '~=3.7.4', '[]']
  adding ['urllib3', '!=1.25.0,!=1.25.1,<1.26,>=1.20,>=1.21.1', '[]']
  adding ['websocket-client', '>=0.32.0', '[]']
  adding ['wrapt', '', '[]']
  adding ['zipp', '==0.6.0,>=0.5', '[]']
Removed dependencies in this round:
  removing ['attrs', '>=17.4.0', '[]']
  removing ['botocore', '>=1.12.201', '[]']
  removing ['cryptography', '>=2.3.0', '[]']
  removing ['jsii', '~=1.3.0', '[]']
  removing ['requests', '>=2.5', '[]']
  removing ['six', '>1.9', '[]']
  removing ['zipp', '==0.6.0', '[]']
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 2: not stable

                          ROUND 3
Current constraints:
  attrs>=17.4.0,~=19.3.0
  aws-cdk-core==1.33.0
  aws-cdk.cloud-assembly-schema==1.33.0
  aws-cdk.cx-api==1.33.0
  aws-sam-translator>=1.21.0
  aws-xray-sdk!=0.96,>=0.93
  boto>=2.36.0
  boto3>=1.9.201
  botocore<1.16.0,>=1.11.3,>=1.12.201,>=1.15.41
  cattrs~=1.0.0
  certifi>=2017.4.17
  cffi!=1.11.3,>=1.8
  cfn-lint>=0.4.0
  chardet<4,>=3.0.2
  constructs<4.0.0,>=3.0.0
  cryptography>=2.1.4,>=2.3.0
  docker>=2.5.1
  docutils<0.16,>=0.10
  ecdsa<1.0,>=0.13
  future
  idna<3,>=2.5
  importlib-metadata>=0.12
  jinja2<3.0.0,>=2.10.1
  jmespath<1.0.0,>=0.7.1
  jsii~=1.1.0,~=1.3.0
  jsondiff>=1.1.2
  jsonpatch
  jsonpickle
  jsonschema~=3.0
  markupsafe>=0.23
  mock<=3.0.5
  more-itertools==5.0.0,>=4.0.0
  moto
  networkx~=2.4
  packaging
  pluggy<1.0,>=0.12
  publication>=0.0.3
  py>=1.5.0
  pyasn1
  pyparsing>=2.0.2
  pytest
  python-dateutil<3.0.0,>=2.1
  python-jose<4.0.0
  pytz
  pyyaml>=5.1
  requests!=2.18.0,>=2.0,>=2.14.2,>=2.5
  responses>=0.9.0
  rsa
  s3transfer<0.4.0,>=0.3.0
  six<2.0,<2.0.0,>1.9,>=1.0.0,>=1.4.0,>=1.4.1,>=1.5,~=1.11
  sshpubkeys<4.0,>=3.1.0
  typing-extensions~=3.7.4
  urllib3!=1.25.0,!=1.25.1,<1.26,>=1.20,>=1.21.1
  wcwidth
  websocket-client>=0.32.0
  werkzeug
  wrapt
  xmltodict
  zipp==0.6.0,>=0.5

Finding the best candidates:
  found candidate attrs==19.3.0 (constraint was >=17.4.0,~=19.3.0)
  found candidate aws-cdk-core==1.33.0 (constraint was ==1.33.0)
  found candidate aws-cdk.cloud-assembly-schema==1.33.0 (constraint was ==1.33.0)
  found candidate aws-cdk.cx-api==1.33.0 (constraint was ==1.33.0)
  found candidate aws-sam-translator==1.22.0 (constraint was >=1.21.0)
  found candidate aws-xray-sdk==2.5.0 (constraint was >=0.93,!=0.96)
  found candidate boto==2.49.0 (constraint was >=2.36.0)
  found candidate boto3==1.12.41 (constraint was >=1.9.201)
  found candidate botocore==1.15.41 (constraint was >=1.11.3,>=1.12.201,>=1.15.41,<1.16.0)
  found candidate cattrs==1.0.0 (constraint was ~=1.0.0)
  found candidate certifi==2020.4.5.1 (constraint was >=2017.4.17)
  found candidate cffi==1.14.0 (constraint was !=1.11.3,>=1.8)
  found candidate cfn-lint==0.29.5 (constraint was >=0.4.0)
  found candidate chardet==3.0.4 (constraint was >=3.0.2,<4)
  found candidate constructs==3.0.1 (constraint was >=3.0.0,<4.0.0)
  found candidate cryptography==2.9 (constraint was >=2.1.4,>=2.3.0)
  found candidate docker==4.2.0 (constraint was >=2.5.1)
  found candidate docutils==0.15.2 (constraint was >=0.10,<0.16)
  found candidate ecdsa==0.15 (constraint was >=0.13,<1.0)
  found candidate future==0.18.2 (constraint was <any>)
  found candidate idna==2.9 (constraint was >=2.5,<3)
  found candidate importlib-metadata==1.6.0 (constraint was >=0.12)
  found candidate jinja2==2.11.2 (constraint was >=2.10.1,<3.0.0)
  found candidate jmespath==0.9.5 (constraint was >=0.7.1,<1.0.0)
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 385, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 198, in _resolve_one_round
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 198, in <setcomp>
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 263, in get_best_match
    best_match = self.repository.find_best_match(ireq, prereleases=self.prereleases)
  File "/usr/local/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 175, in find_best_match
    raise NoCandidateFound(ireq, all_candidates, self.finder)
pipenv.patched.piptools.exceptions.NoCandidateFound: Could not find a version that matches jsii~=1.1.0,~=1.3.0
Tried: 0.0.0, 0.8.0, 0.8.0, 0.8.1, 0.8.1, 0.8.2, 0.8.2, 0.9.0, 0.9.0, 0.10.0, 0.10.0, 0.10.1, 0.10.1, 0.10.2, 0.10.2, 0.10.3, 0.10.3, 0.10.4, 0.10.4, 0.10.5, 0.10.5, 0.11.0, 0.11.0, 0.11.1, 0.11.1, 0.11.2, 0.11.2, 0.11.3, 0.11.3, 0.12.0, 0.12.0, 0.12.1, 0.12.1, 0.13.0, 0.13.0, 0.13.1, 0.13.1, 0.13.2, 0.13.2, 0.13.3, 0.13.3, 0.13.4, 0.13.4, 0.14.0, 0.14.0, 0.14.1, 0.14.1, 0.14.2, 0.14.2, 0.14.3, 0.14.3, 0.15.0, 0.15.0, 0.15.1, 0.15.1, 0.15.2, 0.15.2, 0.16.0, 0.16.0, 0.17.0, 0.17.0, 0.17.1, 0.17.1, 0.18.0, 0.18.0, 0.19.0, 0.19.0, 0.20.0, 0.20.0, 0.20.1, 0.20.1, 0.20.2, 0.20.2, 0.20.3, 0.20.3, 0.20.4, 0.20.4, 0.20.5, 0.20.5, 0.20.6, 0.20.6, 0.20.7, 0.20.7, 0.20.8, 0.20.8, 0.20.9, 0.20.9, 0.20.10, 0.20.10, 0.20.11, 0.20.11, 0.21.0, 0.21.0, 0.21.1, 0.21.1, 0.21.2, 0.21.2, 0.22.0, 0.22.0, 1.0.0, 1.0.0, 1.1.0, 1.1.0, 1.2.0, 1.2.0, 1.3.0, 1.3.0, 1.3.1, 1.3.1
There are incompatible versions in the resolved dependencies.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 126, in <module>
    main()
  File "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 119, in main
    parsed.requirements_dir, parsed.packages)
  File "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 85, in _main
    requirements_dir=requirements_dir,
  File "/usr/local/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve
    req_dir=requirements_dir
  File "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps
    req_dir=req_dir,
  File "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
    resolved_tree = resolver.resolve()
  File "/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches jsii~=1.1.0,~=1.3.0
Tried: 0.0.0, 0.8.0, 0.8.0, 0.8.1, 0.8.1, 0.8.2, 0.8.2, 0.9.0, 0.9.0, 0.10.0, 0.10.0, 0.10.1, 0.10.1, 0.10.2, 0.10.2, 0.10.3, 0.10.3, 0.10.4, 0.10.4, 0.10.5, 0.10.5, 0.11.0, 0.11.0, 0.11.1, 0.11.1, 0.11.2, 0.11.2, 0.11.3, 0.11.3, 0.12.0, 0.12.0, 0.12.1, 0.12.1, 0.13.0, 0.13.0, 0.13.1, 0.13.1, 0.13.2, 0.13.2, 0.13.3, 0.13.3, 0.13.4, 0.13.4, 0.14.0, 0.14.0, 0.14.1, 0.14.1, 0.14.2, 0.14.2, 0.14.3, 0.14.3, 0.15.0, 0.15.0, 0.15.1, 0.15.1, 0.15.2, 0.15.2, 0.16.0, 0.16.0, 0.17.0, 0.17.0, 0.17.1, 0.17.1, 0.18.0, 0.18.0, 0.19.0, 0.19.0, 0.20.0, 0.20.0, 0.20.1, 0.20.1, 0.20.2, 0.20.2, 0.20.3, 0.20.3, 0.20.4, 0.20.4, 0.20.5, 0.20.5, 0.20.6, 0.20.6, 0.20.7, 0.20.7, 0.20.8, 0.20.8, 0.20.9, 0.20.9, 0.20.10, 0.20.10, 0.20.11, 0.20.11, 0.21.0, 0.21.0, 0.21.1, 0.21.1, 0.21.2, 0.21.2, 0.22.0, 0.22.0, 1.0.0, 1.0.0, 1.1.0, 1.1.0, 1.2.0, 1.2.0, 1.3.0, 1.3.0, 1.3.1, 1.3.1
There are incompatible versions in the resolved dependencies.

Environment

  • CLI Version :
  • Framework Version: 1.33.0
  • OS : MacOS 10.15.4
  • Language : Python 3.7.7

Other

jsii lists jsii~=1.3.0 and constructs>=3.0.0, <4.0.0 as dependencies.
constructs-3.0.0 lists jsii~=1.1.0 as its dependency which is causing a conflict between the two packages.

Using the cdk-core 1.32.2 works fine.

This is 🐛 Bug Report

@alastairmccormack alastairmccormack added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Apr 18, 2020
@iliapolo iliapolo added the p0 label Apr 19, 2020
@iliapolo
Copy link
Contributor

Hi @alastairmccormack

We are investigating the issue and will update promptly.

Thanks for reporting this.

@iliapolo
Copy link
Contributor

Tracking issue: #7433

@eladb
Copy link
Contributor

eladb commented Apr 19, 2020

We are going to release a patch that restores jsii to 1.1.0 as a workaround until we fix the issue in jsii.

eladb pushed a commit that referenced this issue Apr 19, 2020
eladb pushed a commit that referenced this issue Apr 19, 2020
eladb pushed a commit that referenced this issue Apr 19, 2020
This reverts commit 4039013.

Fixes #7426

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@alastairmccormack
Copy link
Author

That's great. Thank you for the rapid fix. I can confirm that the installation of aws-cdk 1.33.1 resolves this issue.

@iliapolo
Copy link
Contributor

Issue was resolved in version 1.33.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. p0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants