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

Don't append "m" ABI flag in Python 3.8 #303

Merged
merged 1 commit into from
Aug 16, 2019
Merged

Conversation

rdb
Copy link
Contributor

@rdb rdb commented Aug 14, 2019

In Python 3.8, the m flag is no longer appended to the SOABI, since the ABI is longer influenced by enabling pymalloc. This PR should fix the ability to install Python 3.8 wheels on Windows. In Python 3.8, sys.abiflags is an empty string.

https://docs.python.org/dev/whatsnew/3.8.html#build-and-c-api-changes
https://bugs.python.org/issue36707

See also pypa/pip#6874

@codecov
Copy link

codecov bot commented Aug 14, 2019

Codecov Report

Merging #303 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #303   +/-   ##
=======================================
  Coverage   59.64%   59.64%           
=======================================
  Files          12       12           
  Lines         840      840           
=======================================
  Hits          501      501           
  Misses        339      339
Impacted Files Coverage Δ
wheel/pep425tags.py 31.81% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 882cd05...228ae59. Read the comment docs.

@rdb rdb changed the title Don't append d/m ABI flags in Python 3.8 Don't append "m" ABI flag in Python 3.8 Aug 15, 2019
@agronholm
Copy link
Contributor

Thanks!

agronholm added a commit that referenced this pull request Aug 16, 2019
@rdb rdb deleted the patch-1 branch August 17, 2019 09:41
@rdb
Copy link
Contributor Author

rdb commented Aug 17, 2019

@agronholm Thanks for merging! It would be nice if we could see this make it into a release sometime before the release candidate so that wheel builders could already start building Windows wheels for Python 3.8.

@agronholm
Copy link
Contributor

I plan to cut a patch release after one or two minor fixes that I have left.

@agronholm
Copy link
Contributor

I've now put out the v0.33.5 patch release.

@rdb
Copy link
Contributor Author

rdb commented Aug 17, 2019

Thank you!

@cgohlke
Copy link

cgohlke commented Aug 19, 2019

FWIW, wheels can no longer be installed on Windows using:

  • Python 3.8.0b3 (tags/v3.8.0b3:4336222, Jul 29 2019, 16:54:03) [MSC v.1916 64 bit (AMD64)] on win32
  • wheel-0.33.6
  • pip-19.2.2
> py -3.8-64 -m pip install pyproj-2.3.0-cp38-cp38-win_amd64.whl
ERROR: pyproj-2.3.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.

@rdb
Copy link
Contributor Author

rdb commented Aug 19, 2019

@cgohlke Correct, because pip has a similar bug. This will be fixed in pip 19.2.3, which will be released shortly. See pypa/pip#6885

remeh added a commit to DataDog/datadog-agent that referenced this pull request Nov 18, 2019
We've a bug while building python3 due to this:
  - pypa/wheel#303

We need pip3 >= `19.2.3`.
remeh added a commit to DataDog/datadog-agent that referenced this pull request Feb 3, 2020
* Upgrade to Python 3.8
* Update Python 3.8 hash (Linux).
* Update python3 shasum for windows.
* Patch must be applied to Python 3.8 now.
* Update sha256 to reflect new zips
* omnibus: update pip3.
We've a bug while building python3 due to this:
  - pypa/wheel#303
We need pip3 >= `19.2.3`.
* omnibus: in order to use a more recent pip, we need a more recent pip-tools.
pip >= 19.3 support landed in pip-tools 4.2.0
* Release note entry.
* Apply suggestions from code review
Co-Authored-By: ruthnaebeck <19349244+ruthnaebeck@users.noreply.github.com>
* Update releasenotes/notes/python-3-8-c66cde69f972eb1e.yaml
Co-Authored-By: ruthnaebeck <19349244+ruthnaebeck@users.noreply.github.com>
* tasks: use `distro` instead of `platform` to get running linux distribution.
* gitlab-ci: install requirements deps for invoke tasks.
* Revert "gitlab-ci: install requirements deps for invoke tasks."
This reverts commit 9a6b8c7.
* gitlab-ci: use new builders shipping `distro` dep for invoke tasks.
* gitlab-ci: ebpf tests also need the distro dep
* gitlab-ci: builders images.
* general: update python 3 to 3.8.1
* gitlab-ci: install `distro` dep for python 3 in tests ebpf job.
* gitlab-ci: merge WINBUILDIMAGES and BUILDERS vars.
* omnibus: python3.8.1 checksum.
* gitlab-ci: merge ARMBUILDIMAGES and BUILDIMAGES env vars.
* omnibus/python3: update sha256sum of windows archives.
* empty commit, can't find my pipeline
* tasks: python 3.8 compliant.
See https://docs.python.org/3/whatsnew/3.8.html#porting-to-python-3-8
* omnibus/python3: update wheel dep to 0.34.1
* appveyor: configure appveyor to use python 3.8
* python3: updated python 3.8.1 32bits for windows sha256sum
* omnibus/pkg-scripts: remove downloader data for both 3.7 & 3.8 pythons
* omnibus: remove pythons download data at the right moment only.
* omnibus: properly call remove_downlaoder_data for centos.
* gitlab: use new builders images.
* gitlab: use builders images merged in master.
* gitlab-ci: use the requirements.txt while installing distro for the ebpf part
* tasks/build_tags: proper entry for redhat since we switched to distro.id()
* packages-scripts: also remove python 3.8 in preinst
* Revert "omnibus: properly call remove_downlaoder_data for centos."
This reverts commit 427eba3.
* releasesnotes: update python 3.8.1 release note entry.
* Update releasenotes/notes/python-3-8-c66cde69f972eb1e.yaml
Co-Authored-By: Olivier Vielpeau <olivielpeau@users.noreply.github.com>
* releasenotes: adapt python 3.8.1 release note entry.
* releasenotes: remove mention of a7 py version.
Co-authored-by: Derek Brown <derek.brown@datadoghq.com>
Co-authored-by: ruthnaebeck <19349244+ruthnaebeck@users.noreply.github.com>
Co-authored-by: Olivier Vielpeau <olivielpeau@users.noreply.github.com>
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.

4 participants