path to full python2+python3 support
See original GitHub issueBuilding off of https://github.com/common-workflow-language/cwltool/pull/306, #287, and #305
- populate the
typeshed/3
directory with any needed type stubs- submit these type stubs to https://github.com/python/typeshed
- add code to use
avro-python3
as needed here and inschema_salad
- pass
mypy
without--py2
(test withmake mypy3
afterpip install -rrequirements.txt
in a py3 venv) - pass tests running using python3
- pass CWL conformance tests using python3
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Porting Python 2 Code to Python 3 — Python 3.11.1 ...
Another way to help port your code is to use a static type checker like mypy or pytype on your code. These tools...
Read more >How to install both Python 2.x and Python 3.x in Windows
Start > in the search type in environment select "Edit environment variables to your account"1 · Scroll down to Path, select path, click...
Read more >How to install Python 2.7 and 3.6 in Windows 10 [add python ...
Go to www.python.org/downloads and click on 'Download Python 2.714”. Wait until installation package is complete.
Read more >The right and wrong way to set Python 3 as default on a Mac
Here's the full story of how to set up your environment without breaking anything built into the macOS operating system. 1. Install pyenv....
Read more >How to run Python 2 and 3 side by side on Windows
I am mostly running Python 3 on Mac and Linux these days but I definitely want to keep this post up to date...
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
We should consider signing the http://www.python3statement.org/
It seems apt to close this issue now, since we’ve released a Python 3 compatible version on
pypi
and integrated Python 3 in all our tests. I have opened an issue regardingavro
package for reference in the future: https://github.com/common-workflow-language/cwltool/issues/524Thank you, everyone, for your efforts. 😃