-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop Python 3.6 support (for running Black only) #3169
Comments
Update, the next release after 22.8.0 (#3163) will drop 3.6 support (for running Black only). It's undecided whether the next release will happen in September or October, so the milestone mayyy be a month early. We decided that keeping 3.6 support after it's been EOLed for a while doesn't really make sense anymore since folks still using 3.6 can probably upgrade to 3.7 (having not already because "it just works", it being their CI systems or whatever) or are using a rather old version of Black (like the ever-popular 21.8b1 🤨). We really want to switch to Hatch (from setuptools) and dropping 3.6 support is prerequisite to that. |
fwiw starting from black 22.10.0, installing from source (in my case the pre-commit hook) is already not supported anymore on py3.6, due to
|
That's... intentional? 22.10.0 doesn't support Python 3.6 at all as planned. It is confusing to keep this issue open though, so I'll close it. |
* ⚡ Avoid bottleneck from frequent tqdm updates * 🚨 Make lint * 📌 Revert black to 22.8.0 psf/black#3169 (comment) * 📌 Revert flake8-builtins to 2.0.0 * 📌 Revert flake8-comprehensions to 3.7 * 📌 Revert flake8-print to 4.0 * 📌 Revert pep8-naming to 0.13.1 * 📌 Revert flake8 to 4.0.1 * 📌 Revert pre-commit-hooks to 4.1.0
The current consensus is to remove Python 3.6 support for running Black as part of 22.9.0 (or 22.10.0, not sure when the next release after 22.8.0 is happening) (September/October 2022). Here's what needs to be done:
when 2023 is closer)dataclasses
backport dependency since 3.7+ always has itassert sys.version_info >= (3, 6, 2), "black requires Python 3.6.2+"
checkpyupgrade --py37-plus
...?LANG=C
" code ...? I can't remember whether we can do once 3.6 or 3.7 is dropped.P.S. co-maintainers, please edit this issue if you remember some other thing we need to do. My memory is hazy.
The text was updated successfully, but these errors were encountered: