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 d204f48 commit c02f91eCopy full SHA for c02f91e
src/mxdev/processing.py
@@ -107,8 +107,11 @@ def resolve_dependencies(
107
logger.info(f"Read [{variety}]: {file_or_url}")
108
parsed = parse.urlparse(file_or_url)
109
variety_verbose = "requirements" if variety == "r" else "constraints"
110
+ # Check if it's a real URL scheme (not a Windows drive letter)
111
+ # Windows drive letters are single characters, URL schemes are longer
112
+ is_url = parsed.scheme and len(parsed.scheme) > 1
113
- if not parsed.scheme:
114
+ if not is_url:
115
requirements_in_file = Path(file_or_url)
116
if requirements_in_file.exists():
117
with requirements_in_file.open("r") as fio:
0 commit comments