Skip to content

Commit

Permalink
Fix use of poetry 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko authored and spoorn committed Oct 31, 2023
1 parent 52c8fdb commit 603e222
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/poeblix/validatewheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
# For fixing https://github.com/python-poetry/poetry/issues/5216
from packaging.tags import sys_tags # noqa
from poetry.console.commands.env_command import EnvCommand
from poetry.core.semver.helpers import parse_constraint
try:
from poetry.core.version.helpers import parse_constraint
except ImportError:
from poetry.core.semver.helpers import parse_constraint

# e.g. "nemoize (>=0.1.0,<0.2.0)"
from tomlkit.exceptions import NonExistentKey
Expand Down

0 comments on commit 603e222

Please sign in to comment.