Skip to content

Commit 62df471

Browse files
authored
fix the issue with corehttp not being set to a nightly alpha version (#41629)
1 parent 660ba42 commit 62df471

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/azure-sdk-tools/ci_tools/parsing/parse_functions.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,8 @@ def get_version_py(setup_path: str) -> Optional[str]:
427427
Given the path to pyproject.toml or setup.py, attempts to find a (_)version.py file and return its location.
428428
"""
429429
file_path, _ = os.path.split(setup_path)
430-
# Find path to _version.py recursively in azure folder of package
431-
azure_root_path = os.path.join(file_path, "azure")
432-
for root, _, files in os.walk(azure_root_path):
430+
# Find path to _version.py recursively
431+
for root, _, files in os.walk(file_path):
433432
if VERSION_PY in files:
434433
return os.path.join(root, VERSION_PY)
435434
elif OLD_VERSION_PY in files:

0 commit comments

Comments
 (0)