From 0204fb54d316a136e5b28a2d2a1593f781252d58 Mon Sep 17 00:00:00 2001 From: Brecht Machiels Date: Fri, 12 Jul 2024 19:09:42 +0200 Subject: [PATCH] Nox: parse_single_constraint has moved (poetry-core) --- noxutil.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/noxutil.py b/noxutil.py index 9358a45b2..181ef9e3d 100644 --- a/noxutil.py +++ b/noxutil.py @@ -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')