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

Getting InvalidVersion from prisma in npm #263

Open
elanzini opened this issue Apr 14, 2023 · 0 comments
Open

Getting InvalidVersion from prisma in npm #263

elanzini opened this issue Apr 14, 2023 · 0 comments

Comments

@elanzini
Copy link

import changelogs
logs = changelogs.get("prisma", vendor="npm")

error:

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/packaging/version.py", line 52, in parse
    return Version(version)
           ^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/packaging/version.py", line 197, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '1.9.0-changelog.1'

It also breaks for @prisma/client.

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

No branches or pull requests

1 participant