Skip to content
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

Broken Python 2.7 compatibility #46

Merged
merged 31 commits into from
Nov 23, 2022
Merged

Conversation

hkage
Copy link
Contributor

@hkage hkage commented Nov 22, 2022

The usage of f-strings recently broke the project's Python 2.7 compatibility which was added by intention. Unfortunately the Github tests didn't cover this incompatibility.

In addition to that the test action flow cannot handle the current poetry version / installer so that tests won't be executed properly (eg in this test run). The workflow has to be adjusted to the current poetry version or poetry has to be abolished in favor of simple requirement files and a Tox based testing setup.

@hkage hkage marked this pull request as ready for review November 23, 2022 13:15
@hkage hkage merged commit 2cdd5ca into development Nov 23, 2022
@hkage hkage deleted the bugfix/python2.7-compatibility branch November 23, 2022 14:33
@hkage
Copy link
Contributor Author

hkage commented Nov 29, 2022

I decided to remove the poetry setup because it is not intended to be used with Python 2.7 anymore (without further changes) and we are still using Python 2.7 on some servers, so that I cannot remove this compatibility. Therefore tox will be used for the test action and the local development has to be done by using simple virtualenvs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant