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

python3: bump version to 3.9.5 #15586

Merged
merged 1 commit into from
May 11, 2021
Merged

python3: bump version to 3.9.5 #15586

merged 1 commit into from
May 11, 2021

Conversation

commodo
Copy link
Contributor

@commodo commodo commented May 10, 2021

Maintainer: me, @jefferyto
Compile tested: x86 openwrt/openwrt@97e820c
Run tested: x86 openwrt/openwrt@97e820c


Refreshed Python patches.
Updated pip & setuptools version.

For pip, patch '001-pep517-pyc-fix.patch' was reworked.

Also, the current version of the bundled pip (21.1.1) no longer supports
Python2, so the 'py2.py3' suffix gets replaced with just py3.

For setuptools, there is no longer a script/module:
pypa/setuptools#2544

Signed-off-by: Alexandru Ardelean ardeleanalex@gmail.com

@commodo
Copy link
Contributor Author

commodo commented May 10, 2021

hmm, i'll need to run from a clean checkout

@neheb
Copy link
Contributor

neheb commented May 10, 2021

Don't forget make package/x/refresh

@commodo
Copy link
Contributor Author

commodo commented May 11, 2021

Don't forget make package/x/refresh

i did that; turns out that the pip suffix is no longer pip-$(PYTHON3_PIP_VERSION)-py2.py3-none-any.whl ;
the py2 part went away;

Refreshed Python patches.
Updated pip & setuptools version.

For pip, patch '001-pep517-pyc-fix.patch' was reworked.

Also, the current version of the bundled pip (21.1.1) no longer supports
Python2, so the 'py2.py3' suffix gets replaced with just py3.

For setuptools, there is no longer a script/module:
  pypa/setuptools#2544

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
@commodo
Copy link
Contributor Author

commodo commented May 11, 2021

Changelog v1 -> v2:

  • fixed pip installation ; removed py2 from suffix of whl file
  • fix setuptools installation; easy_install was removed; we need to also remove it from our installation

@neheb neheb merged commit 7fa59f2 into openwrt:master May 11, 2021
@commodo commodo deleted the python3-update branch May 12, 2021 12:04
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