Skip to content

Commit

Permalink
Nox: parse_single_constraint has moved (poetry-core)
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Jul 12, 2024
1 parent 71a15d3 commit 0204fb5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions noxutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
from urllib.request import urlopen, Request

from poetry.core.factory import Factory
try:
from poetry.core.semver.helpers import parse_single_constraint
except ModuleNotFoundError:
from poetry.core.semver import parse_single_constraint
from poetry.core.constraints.version.parser import parse_single_constraint


VERSION_PARTS = ('major', 'minor', 'patch')
Expand Down

0 comments on commit 0204fb5

Please sign in to comment.