Skip to content

Commit

Permalink
Update scripts/freshvenvs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Emmett Butler <723615+emmettbutler@users.noreply.github.com>
  • Loading branch information
quinna-h and emmettbutler committed Sep 23, 2024
1 parent 4f65ad3 commit a91d2a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/freshvenvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ def _get_updatable_packages_implementing(modules: typing.Set[str]) -> typing.Set
package = v.name
if package not in modules:
continue
has_latest = _venv_sets_latest_for_package(v, package)
if not has_latest:
if not _venv_sets_latest_for_package(v, package):
version_constrained_modules.add(package)

packages = {m for m in modules if "." not in m and m not in version_constrained_modules}
Expand Down

0 comments on commit a91d2a5

Please sign in to comment.