diff --git a/CHANGES.md b/CHANGES.md index 25a4b23..7a2d143 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 diff --git a/autoload/black.vim b/autoload/black.vim index 1cae6ad..cb2233c 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