Skip to content

Commit e5f4ba8

Browse files
committed
pip: Use handle_req_env_markers in pyproject branch
1 parent 9f7323a commit e5f4ba8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pip/flatpak-pip-generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ def to_ver(v: str) -> Version | None:
975975
dep for dep in dependencies if get_req_name(dep) not in ignore_pkg
976976
]
977977

978-
packages = list(requirements.parse("\n".join(dependencies)))
978+
packages = list(requirements.parse(handle_req_env_markers("\n".join(dependencies))))
979979

980980
with tempfile.NamedTemporaryFile(
981981
"w", delete=False, prefix="requirements."

0 commit comments

Comments
 (0)