Skip to content

Commit

Permalink
Fix attribute error in dev scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Mar 4, 2025
1 parent 8c09c03 commit 4c9fc3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev_scripts/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,11 @@ def entrypoint():
)

for versioned in versioned_requirements:
if all((not gha, not versioned.current_version)):
if gha and not versioned.current_version:
# Since the requirements will not be installed in GHA
continue
elif not versioned.current_version:
# Check locally installed version in case it's missing in requirements.txt
try:
version = distribution(versioned.package_name)
except PackageNotFoundError:
Expand Down

0 comments on commit 4c9fc3d

Please sign in to comment.