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

Upgrade to Python 3 #490

Closed
SmiVan opened this issue Oct 2, 2019 · 4 comments
Closed

Upgrade to Python 3 #490

SmiVan opened this issue Oct 2, 2019 · 4 comments

Comments

@SmiVan
Copy link
Contributor

SmiVan commented Oct 2, 2019

As everyone knows, Python 2.7 is getting deprecated in a couple months.

As of right now, it's not possible to automatically build the library from source without Python 2.7.

The following files contain references to Python 2.7 and will need to be updated to support Python 3, according to my quick grep:

  • autogen.sh
  • make_lite.py
  • programs/test-sndfile-metadata-set.py
  • Scripts/cstyle.py
  • src/binheader_writef_check.py
  • src/create_symbols_file.py
@erikd
Copy link
Member

erikd commented Oct 2, 2019

All of those are already Python3 compatible even if they do not specifically invoke python3.

@SmiVan
Copy link
Contributor Author

SmiVan commented Oct 4, 2019

Oh, that's great!
Then I guess all that needs to be done is to reroute them to the python3 interpreter.

Is the plan to do that exactly when old python gets dropped then?

@erikd
Copy link
Member

erikd commented Oct 4, 2019

On Debian and Ubuntu systems (what I know best) /usr/bin/python can be configured to point to either python2 or python3.

@SmiVan
Copy link
Contributor Author

SmiVan commented Feb 23, 2020

This issue is effectively closed, as compilation should be fine in all correct modern environments.

@SmiVan SmiVan closed this as completed Feb 23, 2020
lun-4 added a commit to lun-4/void-packages that referenced this issue Nov 2, 2020
lun-4 added a commit to lun-4/void-packages that referenced this issue Nov 2, 2020
lun-4 added a commit to lun-4/void-packages that referenced this issue Nov 6, 2020
ericonr pushed a commit to void-linux/void-packages that referenced this issue Nov 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

No branches or pull requests

2 participants