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

PEP 440 Complains when using Poetry tooling #638

Closed
3 tasks done
lucasvieirasilva opened this issue Aug 9, 2021 · 1 comment · Fixed by #639
Closed
3 tasks done

PEP 440 Complains when using Poetry tooling #638

lucasvieirasilva opened this issue Aug 9, 2021 · 1 comment · Fixed by #639

Comments

@lucasvieirasilva
Copy link
Contributor

Problem description

The newer version of poetry uses the PEP 440 to validate the versions in the package, and when I tried to install the smart_open==5.1.0 the latest version, I'm getting this error:

  ValueError

  Could not parse version constraint: >=3.6.*

Steps/code to reproduce the problem

  1. Using the poetry version 1.2.0a2
  2. Run command poetry install smart-open==5.1.0 --extras "s3"

Versions

  • Poetry: 1.2.0a2
  • Python: 3.8.11
  • Smart-open: 5.1.0

Checklist

Before you create the issue, please make sure you have:

  • Described the problem clearly
  • Provided a minimal reproducible example, including any required data
  • Provided the version numbers of the relevant software
@piskvorky
Copy link
Owner

Thanks for the clear description! This issue should be fixed by #631 (plus a new release).

mpenkov added a commit that referenced this issue Aug 18, 2021
* [#638] Change Python Requires version to fix PEP 440 issue

* Update CHANGELOG.md

Co-authored-by: Michael Penkov <[email protected]>
Co-authored-by: Michael Penkov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants