Skip to content

Commit bda7ff6

Browse files
authored
Merge pull request #1486 from mayeut/update-workflow-virtualenv-bound
2 parents 4b88d36 + c2fb0e4 commit bda7ff6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/update_virtualenv.py

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ def git_ls_remote_versions(url) -> list[VersionTuple]:
5353
if version.is_prerelease:
5454
log.info("Ignoring pre-release %r", str(version))
5555
continue
56+
# Do not upgrade past 20.22.0 to keep python 3.6 compat
57+
if version >= Version("20.22.0"):
58+
log.info("Ignoring %r which is not compatible with python 3.6", str(version))
59+
continue
5660
versions.append(VersionTuple(version, version_string))
5761
except InvalidVersion:
5862
log.warning("Ignoring ref %r", ref)

0 commit comments

Comments
 (0)