From c2fb0e4e96955172f93c45498d07cfcaa878537e Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 29 Apr 2023 11:58:41 +0200 Subject: [PATCH 1/2] chore: update to virtualenv<20.22.0 virtualenv>=20.22.0 can't create python 3.6 environments. --- bin/update_virtualenv.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/update_virtualenv.py b/bin/update_virtualenv.py index a0072406..c4c70f29 100755 --- a/bin/update_virtualenv.py +++ b/bin/update_virtualenv.py @@ -53,6 +53,10 @@ def git_ls_remote_versions(url) -> list[VersionTuple]: if version.is_prerelease: log.info("Ignoring pre-release %r", str(version)) continue + # Do not upgrade past 20.22.0 to keep python 3.6 compat + if version >= Version("20.22.0"): + log.info("Ignoring %r which is not compatible with python 3.6", str(version)) + continue versions.append(VersionTuple(version, version_string)) except InvalidVersion: log.warning("Ignoring ref %r", ref) From 7a7e53e8d409e90fb4f04bbfb225344c3c7a5031 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 May 2023 22:29:04 +0000 Subject: [PATCH 2/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.262 → v0.0.265](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.262...v0.0.265) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c63c2f98..9d3c5651 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: black - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.262 + rev: v0.0.265 hooks: - id: ruff args: ["--fix", "--show-fixes"]