-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Python2 support #18
Conversation
Build failed.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 130 in a021bb6
"""Find and load Pipfile.lock""" |
can you add a period (.) at the end of the line. :)
|
recheck |
Build failed.
|
And `subprocess.call()` returns return code directly.
There are more issues than I thought. For example:
I've ported a part of the codebase (see the latest commits) and now it seems that it partially works. Some tests also pass (21 failed, 18 passed, 1 error) and it seems to me that the remaining tests fail on differences between actual vs. expected output, for example:
This has to be investigated more. It would be also very nice to add tox configuration and move the pytest settings from setup.py to tox.ini/pyproject.toml - in a separated PR before we finish this one as it helps with testing and setting environments in a different way for Py2 and Py3. But, first of all, as it seems that it won't be that easy, do you still want to support Python 2? |
Build failed.
|
@frenzymadness thanks for the work on this! 👍
We don't have Python2 interest, it's EOL for us. Would Python2 efforts on your (Python s2i) front make anything easier? |
I completely understand you. I spent years making software compatible with Python 3 and I don't want to work other way around. I've summarized our possibilities in sclorg/s2i-python-container#368 |
@frenzymadness I will close this based on our meeting today. Let's keep it in the history of Internet if we would change our minds... Thanks for your time on this. |
This introduces a breaking change
Fixes: #19