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

Poetry cannot install openapi-core==0.13.2 #113

Closed
0xArdi opened this issue Sep 14, 2023 · 2 comments · Fixed by valory-xyz/open-aea#690
Closed

Poetry cannot install openapi-core==0.13.2 #113

0xArdi opened this issue Sep 14, 2023 · 2 comments · Fixed by valory-xyz/open-aea#690

Comments

@0xArdi
Copy link
Collaborator

0xArdi commented Sep 14, 2023

          Needs to be resolved at core most likely

Originally posted by @0xArdi in #112 (comment)

@DavidMinarsch
Copy link
Contributor

Fix using new dep management tool

@0xArdi
Copy link
Collaborator Author

0xArdi commented Nov 14, 2023

The issue persist even after using the new tool, it cannot handle the way the deps of open-api-core are defined.

Updating dependencies
Resolving dependencies... (1.8s)

  ParseConstraintError

  Could not parse version constraint: >="3.0"

  at ~/.pyenv/versions/3.10.4/lib/python3.10/site-packages/poetry/core/constraints/version/parser.py:167 in parse_single_constraint
      163│         if op == "!=":
      164│             return VersionUnion(VersionRange(max=version), VersionRange(min=version))
      165│         return version
      166│ 
    → 167│     raise ParseConstraintError(f"Could not parse version constraint: {constraint}")
      168│ 

The following error occurred when trying to handle this error:


  InvalidRequirement

  The requirement is invalid: invalid version constraint ">="3.0""

  at ~/.pyenv/versions/3.10.4/lib/python3.10/site-packages/poetry/core/version/requirements.py:75 in __init__
       71│ 
       72│         try:
       73│             self.constraint = parse_constraint(constraint)
       74│         except ParseConstraintError:
    →  75│             raise InvalidRequirement(
       76│                 f'The requirement is invalid: invalid version constraint "{constraint}"'
       77│             )
       78│ 
       79│         self.pretty_constraint = constraint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants