Dropping Python 3.6

Dear yt dev team,
As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt by late October this year, but not earlier than October the 20th.
As was discussed on Slack, I would like to send an official announcement to yt-users@python.org, but I’ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily.
— Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 Please take minute to either request changes, discuss and/or approve it. —
Nice implications
This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt:
- `from __future__ import annotations` can be used to leverage modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc - the `dataclasses` module becomes available https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557
See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html
Additional notes
- Python 3.6 is 5 years old and will be EOL (end of life) by December https://www.python.org/dev/peps/pep-0494/ - Numpy dropped support for Python 3.6 in numpy 1.20.0, released in January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0 - Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0, released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057... - Python 3.10 will be officially released early October https://www.python.org/dev/peps/pep-0619/ - Adding support for 3.10 should be a breeze^{TM}: we've been running a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10 - The plan is to first add support to 3.10 and *then* drop 3.6. - This is in agreement with NEP 29, which was coauthored by our own release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html - Various 3.7+ idioms will now be continuously enforced with pyupgrade https://github.com/asottile/pyupgrade which is already part of our pre-commit toolbelt.
Cheers, and have a great week Clément

This sounds good to me.
On Mon, Sep 20, 2021 at 1:44 PM Clément Robert via yt-dev yt-dev@python.org wrote:
Dear yt dev team,
As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt by late October this year, but not earlier than October the 20th.
As was discussed on Slack, I would like to send an official announcement to yt-users@python.org, but I’ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily.
— Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 Please take minute to either request changes, discuss and/or approve it. —
Nice implications
This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt:
`from __future__ import annotations` can be used to leverage modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc the `dataclasses` module becomes available https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557
See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html
Additional notes
Python 3.6 is 5 years old and will be EOL (end of life) by December https://www.python.org/dev/peps/pep-0494/ Numpy dropped support for Python 3.6 in numpy 1.20.0, released in January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0 Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0, released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057... Python 3.10 will be officially released early October https://www.python.org/dev/peps/pep-0619/ Adding support for 3.10 should be a breeze^{TM}: we've been running a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10 The plan is to first add support to 3.10 and *then* drop 3.6. This is in agreement with NEP 29, which was coauthored by our own release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html Various 3.7+ idioms will now be continuously enforced with pyupgrade https://github.com/asottile/pyupgrade which is already part of our pre-commit toolbelt.
Cheers, and have a great week Clément _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: matthewturk@gmail.com

sounds good to me.
On Mon, Sep 20, 2021 at 2:44 PM Clément Robert via yt-dev yt-dev@python.org wrote:
Dear yt dev team,
As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt *by late* *October this year*, but *not earlier than October the 20th.*
As was discussed on Slack, I would like to send an official announcement to yt-users@python.org, but I’ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily.
— Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 Please take minute to either request changes, discuss and/or approve it. —
*Nice implications*
This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt:
- `from __future__ import annotations` can be used to leverage modern
Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc
- the `dataclasses` module becomes available
https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557
See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html
*Additional notes*
- Python 3.6 is 5 years old and will be EOL (end of life) by December
https://www.python.org/dev/peps/pep-0494/
- Numpy dropped support for Python 3.6 in numpy 1.20.0, released in
January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0
- Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0,
released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057...
- Python 3.10 will be officially released early October
https://www.python.org/dev/peps/pep-0619/
- Adding support for 3.10 should be a breeze^{TM}: we've been running
a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10
- The plan is to first add support to 3.10 and *then* drop 3.6.
- This is in agreement with NEP 29, which was coauthored by our own
release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html
- Various 3.7+ idioms will now be continuously enforced with
pyupgrade https://github.com/asottile/pyupgrade which is already part of our pre-commit toolbelt.
Cheers, and have a great week Clément _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: michael.zingale@stonybrook.edu

+1
On Sep 20, 2021, at 6:45 PM, Michael Zingale michael.zingale@stonybrook.edu wrote:
sounds good to me.
On Mon, Sep 20, 2021 at 2:44 PM Clément Robert via yt-dev yt-dev@python.org wrote: Dear yt dev team,
As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt by late October this year, but not earlier than October the 20th.
As was discussed on Slack, I would like to send an official announcement to yt-users@python.org, but I’ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily.
— Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 Please take minute to either request changes, discuss and/or approve it. —
Nice implications
This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt: `from __future__ import annotations` can be used to leverage modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc the `dataclasses` module becomes available https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557
See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html
Additional notes
Python 3.6 is 5 years old and will be EOL (end of life) by December https://www.python.org/dev/peps/pep-0494/ Numpy dropped support for Python 3.6 in numpy 1.20.0, released in January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0 Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0, released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057... Python 3.10 will be officially released early October https://www.python.org/dev/peps/pep-0619/ Adding support for 3.10 should be a breeze^{TM}: we've been running a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10 The plan is to first add support to 3.10 and *then* drop 3.6. This is in agreement with NEP 29, which was coauthored by our own release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html Various 3.7+ idioms will now be continuously enforced with pyupgrade https://github.com/asottile/pyupgrade which is already part of our pre-commit toolbelt.
Cheers, and have a great week Clément _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: michael.zingale@stonybrook.edu
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: Michael.Zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com

Update: today’s the day I announced as the earliest possible time to do this, and no one has opposed. For closure, I initially planned to add support for Python 3.10 *before* dropping 3.6 but alas it turns out that our dependencies are not ready yet. Most notably matplotlib is still due for a release with Python 3.10 wheels, and there’s not much we can do before that happens. I don’t think now that it should stop us from dropping 3.6 anyway. Any objections ?
Clément
On 21 Sep 2021, at 04:09, John ZuHone jzuhone@gmail.com wrote:
+1
On Sep 20, 2021, at 6:45 PM, Michael Zingale michael.zingale@stonybrook.edu wrote:
sounds good to me.
On Mon, Sep 20, 2021 at 2:44 PM Clément Robert via yt-dev yt-dev@python.org wrote:
Dear yt dev team,
As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt by late October this year, but not earlier than October the 20th.
As was discussed on Slack, I would like to send an official announcement to yt-users@python.org, but I’ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily.
— Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 Please take minute to either request changes, discuss and/or approve it. —
Nice implications
This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt:
- `from __future__ import annotations` can be used to leverage modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc
- the `dataclasses` module becomes available https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557
See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html
Additional notes
- Python 3.6 is 5 years old and will be EOL (end of life) by December https://www.python.org/dev/peps/pep-0494/
- Numpy dropped support for Python 3.6 in numpy 1.20.0, released in January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0
- Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0, released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057...
- Python 3.10 will be officially released early October https://www.python.org/dev/peps/pep-0619/
- Adding support for 3.10 should be a breeze^{TM}: we've been running a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10
- The plan is to first add support to 3.10 and *then* drop 3.6.
- This is in agreement with NEP 29, which was coauthored by our own release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html
- Various 3.7+ idioms will now be continuously enforced with pyupgrade https://github.com/asottile/pyupgrade which is already part of our pre-commit toolbelt.
Cheers, and have a great week Clément _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: michael.zingale@stonybrook.edu
--
Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: Michael.Zingale@stonybrook.edu web: [h](http://www.astro.sunysb.edu/mzingale)ttps://%5Bzingale.github.io%5D(http://z...) github: [https://github.com/zingale%5D(http://github.com/zingale)
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com

No objections here.
On Wed, Oct 20, 2021 at 3:01 PM Clément Robert via yt-dev yt-dev@python.org wrote:
Update: today’s the day I announced as the earliest possible time to do this, and no one has opposed. For closure, I initially planned to add support for Python 3.10 *before* dropping 3.6 but alas it turns out that our dependencies are not ready yet. Most notably matplotlib is still due for a release with Python 3.10 wheels, and there’s not much we can do before that happens. I don’t think now that it should stop us from dropping 3.6 anyway. Any objections ?
Clément
On 21 Sep 2021, at 04:09, John ZuHone jzuhone@gmail.com wrote:
+1
On Sep 20, 2021, at 6:45 PM, Michael Zingale < michael.zingale@stonybrook.edu> wrote:
sounds good to me.
On Mon, Sep 20, 2021 at 2:44 PM Clément Robert via yt-dev < yt-dev@python.org> wrote:
Dear yt dev team,
As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt *by late* *October this year*, but *not earlier than October the 20th.*
As was discussed on Slack, I would like to send an official announcement to yt-users@python.org, but I’ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily.
— Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 Please take minute to either request changes, discuss and/or approve it. —
*Nice implications*
This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt:
- `from __future__ import annotations` can be used to leverage
modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc
- the `dataclasses` module becomes available
https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557
See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html
*Additional notes*
- Python 3.6 is 5 years old and will be EOL (end of life) by December
https://www.python.org/dev/peps/pep-0494/
- Numpy dropped support for Python 3.6 in numpy 1.20.0, released in
January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0
- Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0,
released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057...
- Python 3.10 will be officially released early October
https://www.python.org/dev/peps/pep-0619/
- Adding support for 3.10 should be a breeze^{TM}: we've been running
a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10
- The plan is to first add support to 3.10 and *then* drop 3.6.
- This is in agreement with NEP 29, which was coauthored by our own
release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html
- Various 3.7+ idioms will now be continuously enforced with
pyupgrade https://github.com/asottile/pyupgrade which is already part of our pre-commit toolbelt.
Cheers, and have a great week Clément _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: michael.zingale@stonybrook.edu
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 *phone*: 631-632-8225 *e-mail*: Michael.Zingale@stonybrook.edu *web*: h http://www.astro.sunysb.edu/mzingalettps://zingale.github.io github: https://github.com/zingale http://github.com/zingale
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: chummels@gmail.com

+1
On Oct 20, 2021, at 8:45 PM, Cameron Hummels chummels@gmail.com wrote:
No objections here.
On Wed, Oct 20, 2021 at 3:01 PM Clément Robert via yt-dev yt-dev@python.org wrote: Update: today’s the day I announced as the earliest possible time to do this, and no one has opposed. For closure, I initially planned to add support for Python 3.10 *before* dropping 3.6 but alas it turns out that our dependencies are not ready yet. Most notably matplotlib is still due for a release with Python 3.10 wheels, and there’s not much we can do before that happens. I don’t think now that it should stop us from dropping 3.6 anyway. Any objections ?
Clément
On 21 Sep 2021, at 04:09, John ZuHone jzuhone@gmail.com wrote:
+1
On Sep 20, 2021, at 6:45 PM, Michael Zingale michael.zingale@stonybrook.edu wrote:
sounds good to me.
On Mon, Sep 20, 2021 at 2:44 PM Clément Robert via yt-dev yt-dev@python.org wrote: Dear yt dev team,
As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt by late October this year, but not earlier than October the 20th.
As was discussed on Slack, I would like to send an official announcement to yt-users@python.org, but I’ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily.
— Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 Please take minute to either request changes, discuss and/or approve it. —
Nice implications
This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt: `from __future__ import annotations` can be used to leverage modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc the `dataclasses` module becomes available https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557
See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html
Additional notes
Python 3.6 is 5 years old and will be EOL (end of life) by December https://www.python.org/dev/peps/pep-0494/ Numpy dropped support for Python 3.6 in numpy 1.20.0, released in January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0 Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0, released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057... Python 3.10 will be officially released early October https://www.python.org/dev/peps/pep-0619/ Adding support for 3.10 should be a breeze^{TM}: we've been running a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10 The plan is to first add support to 3.10 and *then* drop 3.6. This is in agreement with NEP 29, which was coauthored by our own release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html Various 3.7+ idioms will now be continuously enforced with pyupgrade https://github.com/asottile/pyupgrade which is already part of our pre-commit toolbelt.
Cheers, and have a great week Clément _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: michael.zingale@stonybrook.edu
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: Michael.Zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: chummels@gmail.com
-- Cameron Hummels Computational Astrophysicist California Institute of Technology http://chummels.org
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com

+1 !
On 21/10/2021 02:27, John ZuHone jzuhone@gmail.com wrote:
+1
On Oct 20, 2021, at 8:45 PM, Cameron Hummels chummels@gmail.com wrote:
� No objections here.
On Wed, Oct 20, 2021 at 3:01 PM Cl�ment Robert via yt-dev <yt-dev@python.org mailto:yt-dev@python.org> wrote:
Update: todays the day I announced as the earliest possible time to do this, and no one has opposed. For closure, I initially planned to add support for Python 3.10 *before* dropping 3.6 but alas it turns out that our dependencies are not ready yet. Most notably matplotlib is still due for a release with Python 3.10 wheels, and theres not much we can do before that happens. I dont think now that it should stop us from dropping 3.6 anyway. Any objections ? Cl�ment
On 21 Sep 2021, at 04:09, John ZuHone <jzuhone@gmail.com <mailto:jzuhone@gmail.com>> wrote: +1
On Sep 20, 2021, at 6:45 PM, Michael Zingale <michael.zingale@stonybrook.edu <mailto:michael.zingale@stonybrook.edu>> wrote: � sounds good to me. On Mon, Sep 20, 2021 at 2:44 PM Cl�ment Robert via yt-dev <yt-dev@python.org <mailto:yt-dev@python.org>> wrote: Dear yt dev team, As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt *by late* *October this year*, but *not earlier than October the 20th.* As was discussed on Slack, I would like to send an official announcement to yt-users@python.org <mailto:yt-users@python.org>, but Ill leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily. Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 <https://github.com/yt-project/yt/pull/2917> Please take minute to either�request changes, discuss and/or approve it. *_Nice implications_* This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt: * �`from __future__ import annotations` can be used to leverage modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 <https://github.com/yt-project/ytep/pull/17>�Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc <https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc> * the `dataclasses` module becomes available https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557 <https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557> See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html <https://docs.python.org/3/whatsnew/3.7.html> *_Additional notes_* *_ _* * Python 3.6 is 5 years old and will be EOL (end of life) by December https://www.python.org/dev/peps/pep-0494/ <https://www.python.org/dev/peps/pep-0494/> * Numpy dropped support for Python 3.6 in numpy 1.20.0, released in January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0 <https://github.com/numpy/numpy/releases/tag/v1.20.0> * Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0, released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057d0d09d43d8cf <https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057d0d09d43d8cf> * Python 3.10 will be officially released early October https://www.python.org/dev/peps/pep-0619/ <https://www.python.org/dev/peps/pep-0619/> * Adding support for 3.10 should be a breeze^{TM}: we've been running a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10 * The plan is to first add support to 3.10 and *then* drop 3.6. * This is in agreement with NEP 29, which was coauthored by our own release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html <https://numpy.org/neps/nep-0029-deprecation_policy.html> * �Various 3.7+ idioms will now be continuously enforced with pyupgrade https://github.com/asottile/pyupgrade <https://github.com/asottile/pyupgrade>�which is already part of our pre-commit toolbelt. Cheers, and have a great week Cl�ment _______________________________________________ yt-dev mailing list -- yt-dev@python.org <mailto:yt-dev@python.org> To unsubscribe send an email to yt-dev-leave@python.org <mailto:yt-dev-leave@python.org> https://mail.python.org/mailman3/lists/yt-dev.python.org/ <https://mail.python.org/mailman3/lists/yt-dev.python.org/> Member address: michael.zingale@stonybrook.edu <mailto:michael.zingale@stonybrook.edu> -- Michael Zingale Professor of Physics and Astronomy Dept. of Physics & Astronomy�"�Stony Brook University�"�Stony Brook, NY 11794-3800 /phone/: �631-632-8225 /e-mail/: Michael.Zingale@stonybrook.edu <mailto:Michael.Zingale@stonybrook.edu> /web/: h <http://www.astro.sunysb.edu/mzingale>ttps://zingale.github.io <http://zingale.github.io/> github: https://github.com/zingale <http://github.com/zingale> _______________________________________________ yt-dev mailing list -- yt-dev@python.org <mailto:yt-dev@python.org> To unsubscribe send an email to yt-dev-leave@python.org <mailto:yt-dev-leave@python.org> https://mail.python.org/mailman3/lists/yt-dev.python.org/ <https://mail.python.org/mailman3/lists/yt-dev.python.org/> Member address: jzuhone@gmail.com <mailto:jzuhone@gmail.com>
_______________________________________________ yt-dev mailing list -- yt-dev@python.org <mailto:yt-dev@python.org> To unsubscribe send an email to yt-dev-leave@python.org <mailto:yt-dev-leave@python.org> https://mail.python.org/mailman3/lists/yt-dev.python.org/ <https://mail.python.org/mailman3/lists/yt-dev.python.org/> Member address: chummels@gmail.com <mailto:chummels@gmail.com>
-- Cameron Hummels Computational Astrophysicist California Institute of Technology http://chummels.org http://chummels.org _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: corentin.cadiou@iap.fr

Yeah, I say drop it.
On Thu, Oct 21, 2021 at 4:19 AM corentin.cadiou@iap.fr wrote:
+1 !
On 21/10/2021 02:27, John ZuHone jzuhone@gmail.com wrote:
+1
On Oct 20, 2021, at 8:45 PM, Cameron Hummels chummels@gmail.com wrote:
? No objections here.
On Wed, Oct 20, 2021 at 3:01 PM Cl?ment Robert via yt-dev <yt-dev@python.org mailto:yt-dev@python.org> wrote:
Update: today s the day I announced as the earliest possible time to do this, and no one has opposed. For closure, I initially planned to add support for Python 3.10 *before* dropping 3.6 but alas it turns out that our dependencies are not ready yet. Most notably matplotlib is still due for a release with Python 3.10 wheels, and there s not much we can do before that happens. I don t think now that it should stop us from dropping 3.6 anyway. Any objections ? Cl?ment
On 21 Sep 2021, at 04:09, John ZuHone <jzuhone@gmail.com <mailto:jzuhone@gmail.com>> wrote: +1
On Sep 20, 2021, at 6:45 PM, Michael Zingale <michael.zingale@stonybrook.edu <mailto:michael.zingale@stonybrook.edu>> wrote: ? sounds good to me. On Mon, Sep 20, 2021 at 2:44 PM Cl?ment Robert via yt-dev <yt-dev@python.org <mailto:yt-dev@python.org>> wrote: Dear yt dev team, As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt *by late* *October this year*, but *not earlier than October the 20th.* As was discussed on Slack, I would like to send an official announcement to yt-users@python.org <mailto:yt-users@python.org>, but I ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily. Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 <https://github.com/yt-project/yt/pull/2917> Please take minute to either?request changes, discuss and/or approve it. *_Nice implications_* This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt: * ?`from __future__ import annotations` can be used to leverage modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 <https://github.com/yt-project/ytep/pull/17>?Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc <https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc> * the `dataclasses` module becomes available https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557 <https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557> See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html <https://docs.python.org/3/whatsnew/3.7.html> *_Additional notes_* *_ _* * Python 3.6 is 5 years old and will be EOL (end of life) by December https://www.python.org/dev/peps/pep-0494/ <https://www.python.org/dev/peps/pep-0494/> * Numpy dropped support for Python 3.6 in numpy 1.20.0, released in January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0 <https://github.com/numpy/numpy/releases/tag/v1.20.0> * Matplotlib dropped support fot Python 3.6 in matplotlib 3.4.0, released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057d0d09d43d8cf <https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057d0d09d43d8cf> * Python 3.10 will be officially released early October https://www.python.org/dev/peps/pep-0619/ <https://www.python.org/dev/peps/pep-0619/> * Adding support for 3.10 should be a breeze^{TM}: we've been running a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10 * The plan is to first add support to 3.10 and *then* drop 3.6. * This is in agreement with NEP 29, which was coauthored by our own release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html <https://numpy.org/neps/nep-0029-deprecation_policy.html> * ?Various 3.7+ idioms will now be continuously enforced with pyupgrade https://github.com/asottile/pyupgrade <https://github.com/asottile/pyupgrade>?which is already part of our pre-commit toolbelt. Cheers, and have a great week Cl?ment _______________________________________________ yt-dev mailing list -- yt-dev@python.org <mailto:yt-dev@python.org> To unsubscribe send an email to yt-dev-leave@python.org <mailto:yt-dev-leave@python.org> https://mail.python.org/mailman3/lists/yt-dev.python.org/ <https://mail.python.org/mailman3/lists/yt-dev.python.org/> Member address: michael.zingale@stonybrook.edu <mailto:michael.zingale@stonybrook.edu> -- Michael Zingale Professor of Physics and Astronomy Dept. of Physics & Astronomy?"?Stony Brook University?"?Stony Brook, NY 11794-3800 /phone/: ?631-632-8225 /e-mail/: Michael.Zingale@stonybrook.edu <mailto:Michael.Zingale@stonybrook.edu> /web/: h <http://www.astro.sunysb.edu/mzingale>ttps://zingale.github.io <http://zingale.github.io/> github: https://github.com/zingale <http://github.com/zingale> _______________________________________________ yt-dev mailing list -- yt-dev@python.org <mailto:yt-dev@python.org> To unsubscribe send an email to yt-dev-leave@python.org <mailto:yt-dev-leave@python.org> https://mail.python.org/mailman3/lists/yt-dev.python.org/ <https://mail.python.org/mailman3/lists/yt-dev.python.org/> Member address: jzuhone@gmail.com <mailto:jzuhone@gmail.com>
_______________________________________________ yt-dev mailing list -- yt-dev@python.org <mailto:yt-dev@python.org> To unsubscribe send an email to yt-dev-leave@python.org <mailto:yt-dev-leave@python.org> https://mail.python.org/mailman3/lists/yt-dev.python.org/ <https://mail.python.org/mailman3/lists/yt-dev.python.org/> Member address: chummels@gmail.com <mailto:chummels@gmail.com>
-- Cameron Hummels Computational Astrophysicist California Institute of Technology http://chummels.org http://chummels.org _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: corentin.cadiou@iap.fr
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: matthewturk@gmail.com

It is done 🎉 Thank you all ! Clément
On 21 Oct 2021, at 14:23, Matthew Turk matthewturk@gmail.com wrote:
Yeah, I say drop it.
On Thu, Oct 21, 2021 at 4:19 AM corentin.cadiou@iap.fr wrote:
+1 !
On 21/10/2021 02:27, John ZuHone jzuhone@gmail.com wrote:
+1
On Oct 20, 2021, at 8:45 PM, Cameron Hummels chummels@gmail.com wrote:
? No objections here.
On Wed, Oct 20, 2021 at 3:01 PM Cl?ment Robert via yt-dev <yt-dev@python.org mailto:yt-dev@python.org> wrote:
Update: today s the day I announced as the earliest possible time to do this, and no one has opposed. For closure, I initially planned to add support for Python 3.10 *before* dropping 3.6 but alas it turns out that our dependencies are not ready yet. Most notably matplotlib is still due for a release with Python 3.10 wheels, and there s not much we can do before that happens. I don t think now that it should stop us from dropping 3.6 anyway. Any objections ?
Cl?ment
On 21 Sep 2021, at 04:09, John ZuHone <jzuhone@gmail.com mailto:jzuhone@gmail.com> wrote:
+1
On Sep 20, 2021, at 6:45 PM, Michael Zingale <michael.zingale@stonybrook.edu mailto:michael.zingale@stonybrook.edu> wrote:
? sounds good to me.
On Mon, Sep 20, 2021 at 2:44 PM Cl?ment Robert via yt-dev <yt-dev@python.org mailto:yt-dev@python.org> wrote:
Dear yt dev team,
As was previously mentioned in yt 4.0.0's release notes, we're currently planning to drop support for Python 3.6 in our next feature release (4.1.0) I propose that this change be performed on the dev branch of yt *by late* *October this year*, but *not earlier than October the 20th.*
As was discussed on Slack, I would like to send an official announcement to yt-users@python.org mailto:yt-users@python.org, but I ll leave open to discussion for a week first, or as long as necessary for the discussion to resolve happily.
Here's the PR to drop Python 3.6 https://github.com/yt-project/yt/pull/2917 https://github.com/yt-project/yt/pull/2917 Please take minute to either?request changes, discuss and/or approve it.
*_Nice implications_*
This means we'll soon be able to use Python 3.7+ only syntax and features. Here are the two key highlights that I personally think are most impactful for yt:
- ?`from __future__ import annotations` can be used to
leverage modern Python annotations features from more recent versions (as late as 3.11 !) This will be extremely useful to improve typing in yt, and in support to YTEP 0038 https://github.com/yt-project/ytep/pull/17 https://github.com/yt-project/ytep/pull/17?Here's a gist with some showcase examples of how this __future__ import helps simplifying typed code https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc https://gist.github.com/neutrinoceros/0eaa046a00689254dee0738c65c9bdfc
- the `dataclasses` module becomes available
https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557 https://docs.python.org/3/whatsnew/3.7.html#whatsnew37-pep557
See the detailed "what's new" note from Python 3.7.0 for more https://docs.python.org/3/whatsnew/3.7.html https://docs.python.org/3/whatsnew/3.7.html
*_Additional notes_* *_ _*
- Python 3.6 is 5 years old and will be EOL (end of life)
by December https://www.python.org/dev/peps/pep-0494/ https://www.python.org/dev/peps/pep-0494/
- Numpy dropped support for Python 3.6 in numpy 1.20.0,
released in January 2021 https://github.com/numpy/numpy/releases/tag/v1.20.0 https://github.com/numpy/numpy/releases/tag/v1.20.0
- Matplotlib dropped support fot Python 3.6 in matplotlib
3.4.0, released in March 2021 https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057... https://github.com/matplotlib/matplotlib/commit/f9907b49f9d00c03cf014a25d057d0d09d43d8cf
- Python 3.10 will be officially released early October
https://www.python.org/dev/peps/pep-0619/ https://www.python.org/dev/peps/pep-0619/
- Adding support for 3.10 should be a breeze^{TM}: we've
been running a subset of our test suite against it (+ future versions of matplotlib and numpy) for a couple months, so the expected most important bottleneck for us will depend on when numpy and matplotlib are able to publish wheels for 3.10
- The plan is to first add support to 3.10 and *then* drop
3.6.
- This is in agreement with NEP 29, which was coauthored
by our own release manager, Madicken Munk https://numpy.org/neps/nep-0029-deprecation_policy.html https://numpy.org/neps/nep-0029-deprecation_policy.html
- ?Various 3.7+ idioms will now be continuously enforced
with pyupgrade https://github.com/asottile/pyupgrade https://github.com/asottile/pyupgrade?which is already part of our pre-commit toolbelt.
Cheers, and have a great week Cl?ment _______________________________________________ yt-dev mailing list -- yt-dev@python.org mailto:yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org mailto:yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: michael.zingale@stonybrook.edu mailto:michael.zingale@stonybrook.edu
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy?"?Stony Brook University?"?Stony Brook, NY 11794-3800 /phone/: ?631-632-8225 /e-mail/: Michael.Zingale@stonybrook.edu mailto:Michael.Zingale@stonybrook.edu /web/: h http://www.astro.sunysb.edu/mzingalettps://zingale.github.io http://zingale.github.io/ github: https://github.com/zingale http://github.com/zingale
yt-dev mailing list -- yt-dev@python.org mailto:yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org mailto:yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com mailto:jzuhone@gmail.com
yt-dev mailing list -- yt-dev@python.org mailto:yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org mailto:yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: chummels@gmail.com mailto:chummels@gmail.com
-- Cameron Hummels Computational Astrophysicist California Institute of Technology http://chummels.org http://chummels.org _______________________________________________ yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: jzuhone@gmail.com
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address: corentin.cadiou@iap.fr
yt-dev mailing list -- yt-dev@python.org To unsubscribe send an email to yt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address:matthewturk@gmail.com
yt-dev mailing list --yt-dev@python.org To unsubscribe send an email toyt-dev-leave@python.org https://mail.python.org/mailman3/lists/yt-dev.python.org/ Member address:clement.robert@protonmail.com
participants (6)
-
Cameron Hummels
-
Clément Robert
-
corentin.cadiou@iap.fr
-
John ZuHone
-
Matthew Turk
-
Michael Zingale