We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
;
1 parent 3d685fa commit 7cdc087Copy full SHA for 7cdc087
src/trio/_tools/sync_requirements.py
@@ -58,9 +58,10 @@ def update_requirements(
58
# Maintain extra markers if they exist
59
old_version = rest.strip()
60
extra = "\n"
61
- if " " in rest:
62
- old_version, extra = rest.split(" ", 1)
63
- extra = " " + extra
+ if ";" in rest:
+ old_version, extra = rest.split(";", 1)
+ old_version = old_version.strip()
64
+ extra = " ;" + extra
65
version = version_data.get(name)
66
# If does not exist, skip
67
if version is None:
0 commit comments