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

Removed Python 2 support #482

Merged
merged 1 commit into from
May 6, 2020
Merged

Removed Python 2 support #482

merged 1 commit into from
May 6, 2020

Conversation

AndreMiras
Copy link
Member

Drops system, host and target Python 2 support.
Note a lot of recipes were having hardcoded reference to
lib/python2.7/site-packages/ directory. I suspect most
of theses were not working, but the reference has been updated
to lib/python3.7/site-packages/ following the same hardcoding
pattern. In follow up work we would do a walkthrough each recipes
to fix at least compilation time issues.
Also note the rebuild_updated_recipes.py is expected to fail as
this is touching many recipes including recipes that were already
broken.

Drops system, host and target Python 2 support.
Note a lot of recipes were having hardcoded reference to
`lib/python2.7/site-packages/` directory. I suspect most
of theses were not working, but the reference has been updated
to `lib/python3.7/site-packages/` following the same hardcoding
pattern. In follow up work we would do a walkthrough each recipes
to fix at least compilation time issues.
Also note the `rebuild_updated_recipes.py` is expected to fail as
this is touching many recipes including recipes that were already
broken.
@AndreMiras
Copy link
Member Author

I could successfully build and run a simple project still. But if someone else can also give it a try after installing it from my fork:

pip install --upgrade https://github.com/AndreMiras/kivy-ios/archive/feature/python2_drop.zip

@AndreMiras
Copy link
Member Author

Moving forward with it as I have other pending work that would conflict on this.
Ping me if you think it introduced a regression so I can try to reproduce and fix

@AndreMiras AndreMiras merged commit 3e33c07 into kivy:master May 6, 2020
@AndreMiras AndreMiras deleted the feature/python2_drop branch May 6, 2020 15:19
@AndreMiras AndreMiras mentioned this pull request May 6, 2020
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.

1 participant