question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RFC] Drop Python 3.6 support

See original GitHub issue

We will gracefully stop the support for Python 3.6 after the EOL (23 Dec 2021). https://devguide.python.org/#branchstatus

For now, we are not going to force users to upgrade Python (i.e. we currently don’t have a plan to update python_requires to be >=3.7 immediately after EOL). However, third-party libraries drop/will drop Python 3.6 before/after EOL and these may cause problems when using Optuna. We’ll gradually stop dealing with such problems and will recommend users upgrade their Python.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
not522commented, May 18, 2022

We decide to stop Python 3.6 support for integrations and optuna-examples but keep supporting it in pure Optuna uses. It means that we will remove Python 3.6 tests from the CI of the integrations and the examples but remain in the other CIs.

The maintenance cost of testing Python 3.6 with third-party libraries is increasing because some of them have stopped supporting Python 3.6. However, some Optuna users still use Python 3.6, and then we do not update python_requires to be >=3.7 now.

1reaction
nzw0301commented, Mar 11, 2022

Note that the next scipy drops python 3.7. Python 3.6 has already been dropped. I think numpy is the same.


Third-party libraries

Read more comments on GitHub >

github_iconTop Results From Across the Web

RFC 77: Drop Python 2 support in favour of Python 3.6 - GDAL
This RFC suggest the new minimum supported Python version should be 3.6 for the following reasons: Python < 3.6 is End of Life....
Read more >
[gdal-dev] Motion: adopt RFC 77 Drop Python 2 support in ...
[gdal-dev] Motion: adopt RFC 77 Drop Python 2 support in favor of Python 3.6. Even Rouault even.rouault at spatialys.com
Read more >
Changelog — Python 3.6.15 documentation
This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for...
Read more >
icalendar · PyPI
Project description. The icalendar package is a RFC 5545 compatible parser/generator for iCalendar files. ... Drop Support for Python 3.6.
Read more >
Community Updates — Requests 2.28.1 documentation
Requests support for Python 2.7 and 3.6 will be ending in 2022. While we don't have exact dates, Requests 2.27.x is likely to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found