From 9f505365b23c6aa74d0ab78806e1e06c78b71698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 29 Jan 2025 08:17:01 +0100 Subject: [PATCH 1/2] Fix mis-synced version check in black.vim The message has been updated to indicate Python 3.9+, but the check still compares to 3.8. --- autoload/black.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/black.vim b/autoload/black.vim index 1cae6adab49..cb2233c465a 100644 --- a/autoload/black.vim +++ b/autoload/black.vim @@ -75,7 +75,7 @@ def _initialize_black_env(upgrade=False): return True pyver = sys.version_info[:3] - if pyver < (3, 8): + if pyver < (3, 9): print("Sorry, Black requires Python 3.9+ to run.") return False From bbc6d0bfd24f711702a75de6c000bb8d74c9c571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 29 Jan 2025 16:33:00 +0100 Subject: [PATCH 2/2] Add a changelog entry --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 25a4b23375f..7a2d1430f35 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,7 +20,7 @@ ### Packaging - +- Fix the version check in the vim file to reject Python 3.8 (#4567) ### Parser