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.

path to full python2+python3 support

See original GitHub issue

Building off of https://github.com/common-workflow-language/cwltool/pull/306, #287, and #305

  • populate the typeshed/3 directory with any needed type stubs
  • add code to use avro-python3 as needed here and in schema_salad
  • pass mypy without --py2 (test with make mypy3 after pip install -rrequirements.txt in a py3 venv)
  • pass tests running using python3
  • pass CWL conformance tests using python3

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mr-ccommented, Mar 21, 2017

We should consider signing the http://www.python3statement.org/

0reactions
manu-chromacommented, Aug 15, 2017

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 regarding avro package for reference in the future: https://github.com/common-workflow-language/cwltool/issues/524

Thank you, everyone, for your efforts. 😃

Read more comments on GitHub >

github_iconTop 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 >

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