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.

Support legacy Python 2.6/3.3/3.4 for python-future

See original GitHub issue

Describe the bug

We are thinking of porting https://github.com/PythonCharmers/python-future from Travis to Github Action, however we noticed python2.6 was not listed in: https://raw.githubusercontent.com/actions/python-versions/master/versions-manifest.json

Which version of the action are you using?

  • v1
  • v2

Environment

  • self-hosted
  • Linux
  • Windows
  • Mac

Python Versions

2.6.X

Run/Repo Url https://github.com/sfdye/python26-test https://github.com/sfdye/python26-test/runs/769263785?check_suite_focus=true

Additional context

I understand python2.6 is already EOL long time ago, but future is compatible layer to ease the migration from Python 2 to Python 3, so the use case still makes sense.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
konradpabjancommented, Jul 24, 2020

Hey @sfdye

Since it’s not working we’ll go ahead and remove the extra distributions of Python that we added.

I thought this would be a quick compile + publish but there appears to be a host of other problems 😟 Given that these distributions are so old and we haven’t seen any other customers asking for this, we won’t be officially supporting them.

2reactions
konradpabjancommented, Jul 16, 2020

Hi @sfdye

We’ve published Python 2.6.9 to actions/python-versions: https://github.com/actions/python-versions/blob/1cb5ff2fb053a5513ba297d229ab9737b10efba3/versions-manifest.json#L829

We were going to not support this as 2.6.9 is very very old however we quickly tried compiling it with our existing scripts and it worked (exit code 0). Some tests however did fail (some modules failed to build) but we figured we can publish it anyway as it might work and the certain modules might just be an issue with our tests.

A word of caution though that I have no idea if everything is working correctly and there will be no support if certain things aren’t working correctly. If it ends up being totally busted then we can remove it from python-versions, but it’s worth at least trying since it compiled successfully.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions (FAQ) - Python-Future
Frequently Asked Questions (FAQ)¶. Who is this for?¶. 1. People with existing or new Python 3 codebases who wish to provide ongoing Python...
Read more >
Python Programming Language – Legacy Website
Legacy home page for Python, an interactive, object-oriented, extensible programming language. It provides an extraordinary combination of clarity and ...
Read more >
NDB Future Class - App Engine standard environment
Python 2 is no longer supported by the community. ... refer to the migration guide to learn about your migration options for legacy...
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