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

Drop dependency on python2 because it reached end-of-life #3552

Merged
merged 3 commits into from
Feb 26, 2020

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Feb 26, 2020

While building the v0.8.1 I noticed that some of the newer distros (Ubuntu Focal / 20.04) have started dropping the python package, a.k.a. the python2 interpreter, because it has reached end-of-life as of January 1st.

libwally-core was the reason we introduced this dependency, since the configure script aborts if it can't find a python executable, despite later telling it not to bother building the python bindings. While we wait for them to make the executable optional we can force it to recognize python3 as a valid executable, thus freeing us from this requirement.

I went through the docs and removed all references to the dependencies, and hopefully I got them all.

We specify `PYTHON_VERSION=3` to prevent libwally's ./configure from searchin
for python2, which some distros have started removing, and we were requiring
it only for the configuration step anyway.

Changelog-Changed: dependencies: We no longer depend on python2 which has reached end-of-life
We aren't using it and it's broken with the specified upstream image, so
remove it outright.
Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack e5342bd

@rustyrussell rustyrussell merged commit 7f6f324 into ElementsProject:master Feb 26, 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.

2 participants