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.

build.py requires Python 2.x whose EOL date is 2020

See original GitHub issue

Expected Behavior

We can build and install scratch-blocks using Python 3.x.

Actual Behavior

build.py requires to use Python 2.x. See these lines.

PEP 373 and https://pythonclock.org/ says the End Of Life date of Python 2.x is January 1st, 2020. Therefore we should use Python 3.x instead in order to enjoy official security patches quickly.

Is there any plan to update the script?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:5
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
cymplecycommented, Nov 1, 2019

@tansly Thanks for pointer - amended package.json to use c:/python27/python.exe build.py but now getting error that it can’t find subprocess.lib

> c:/python27/python.exe build.py && webpack

Traceback (most recent call last):
  File "build.py", line 574, in <module>
    test_proc = subprocess.Popen(test_args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "c:\python27\lib\subprocess.py", line 394, in __init__
    errread, errwrite)
  File "c:\python27\lib\subprocess.py", line 644, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - build.py requires Python 2.x whose EOL date is 2020 -
build.py requires to use Python 2.x. See these lines. PEP 373 and https://pythonclock.org/ says the End Of Life date of Python 2.x is...
Read more >
Sunsetting Python 2
We are volunteers who make and take care of the Python programming language. We have decided that January 1, 2020, was the day...
Read more >
How to Secure Python 2 Past End of Life (EOL) with ActiveState
Answer: Python 2 reached End Of Life on January 1st, 2020. As of this writing, Python 2 is no longer maintained by the...
Read more >
Python 2 EOL: How to survive the end of Python 2 - InfoWorld
As of January 1, 2020, the 2.x branch of the Python programming language is no longer supported by its creators, the Python Software ......
Read more >
Python 2 EOL - Now What? - ActiveState
Your Python 2 applications will keep running past Jan 1, 2020 – they won't self destruct – but they will become less reliable...
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