Skip to content

Commit 580205a

Browse files
committed
Merge remote-tracking branch 'origin/main' into docker-flags
2 parents 2afeca6 + bda7ff6 commit 580205a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: black
2020

2121
- repo: https://github.com/charliermarsh/ruff-pre-commit
22-
rev: v0.0.262
22+
rev: v0.0.265
2323
hooks:
2424
- id: ruff
2525
args: ["--fix", "--show-fixes"]

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)