Drop Python2.7 support
See original GitHub issueAs noted by #1094, VFX platform 2019 is the last VFX platform that includes python 2.7. This issue is to prepare for when we drop python 2.7 support.
- update check in setup.py:
- https://github.com/AcademySoftwareFoundation/OpenTimelineIO/blob/78941ddf12a16e6b3495290e7c920ce674b1f342/setup.py#L186
- https://github.com/AcademySoftwareFoundation/OpenTimelineIO/blob/78941ddf12a16e6b3495290e7c920ce674b1f342/setup.py#L295
- https://github.com/AcademySoftwareFoundation/OpenTimelineIO/blob/78941ddf12a16e6b3495290e7c920ce674b1f342/setup.py#L336
- update README.md
- update files that reference 2.7, especially places marked
# python2
or# python 2.7
(this is a rough list from grep)
tests/test_builtin_adapters.py
tests/test_console.py
tests/test_timeline.py
tests/test_cmx_3600_adapter.py
tests/test_otioz.py
tests/test_adapter_plugin.py
tests/baselines/plugin_module/otio_mockplugin/__init__.py
tests/test_hooks_plugins.py
tests/test_examples.py
contrib/opentimelineio_contrib/adapters/tests/test_hls_playlist_adapter.py
src/py-opentimelineio/opentimelineio/adapters/file_bundle_utils.py
src/py-opentimelineio/opentimelineio/adapters/otiod.py
src/py-opentimelineio/opentimelineio/adapters/fcp_xml.py
src/py-opentimelineio/opentimelineio/url_utils.py
- update
.github/workflows/python-package.yml
- python-package.yml - update pybind11 to 2.10+
- try pyupgrade to move to newer syntax where available
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Sunsetting Python 2
As of January 1st, 2020 no new bug reports, fixes, or changes will be made to Python 2, and Python 2 is no...
Read more >Drop Python 2.7 - GitHub Pages
Finally, consider dropping support for Python 2.6 and 3.3, which reached EOL on 2013-10-29 and 2017-09-29 respectively. Something's wrong with this page!
Read more >Plan for dropping Python 2 support - Apache Spark
In the next major release in 2019, we will deprecate Python 2 support. · We will drop Python 2 support in a future...
Read more >Plan for dropping Python 2.7 support — NumPy v1.14 Manual
The Python core team plans to stop supporting Python 2 in 2020. The NumPy project has supported both Python 2 and Python 3...
Read more >Drop support for Python 2.7 #1458 - pypa/setuptools - GitHub
Projects using pip 9 or later to install setuptools would not be affected (they'd continue to get compatible, if frozen, versions). Only ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(I added your notes as todo list items)
@JeanChristopheMorinPerso great suggestion. It sounds like we want to do this after making release
0.15.0
.