-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test and build wheels for Py3.{7,8,9,10} (#3298)
* test and build wheels for Py3.{7,8,9,10} * fix yaml * upgrade pip inside the wheel building environment * use xfail with a broader filter instead of skip * debugging pip issues with Py3.10 * upgrade setuptools as well as pip * fix xfail * more multibuild wizardry * override install_run * Revert "override install_run" This reverts commit 8b7691a. * try a different way to upgrade pip install the docker container * try to upgrade pip inside the docker container * Revert "try to upgrade pip inside the docker container" This reverts commit 6fb2f1e. * yet another attempt to upgrade pip * replace curl with python call * remove 3.6 from wheel build matrix * adjust config.sh * urlretrieve script * improve urlretrieve.py hack * argh, no f-strings * upgrade setuptools as well * remove .egg files before install_run * try upgrading importlib_metadata * more .egg file removal * disable some builds for faster turn-around while hacking * disable some builds for faster turn-around while hacking * update build-wheels.yml * update numpy for py3.10 * get rid of morfessor in wheel build I don't think we use it anywhere * trim TEST_DEPENDS * clean up, lock scipy version for py310 wheel builds * upgrade manylinux version for Py310 linux build * bump Cython version to 0.29.28 * adjust build_wheels workflow test wheels in a separate step that gets skipped for Py3.10. this is a work-around for a segfault that I cannot reproduce locally. * double quotes bad, single quotes good * re-enable all wheel builds * re-enable all wheel builds * separate test step for wheels * fix yaml * argh tabs dammit * delete old test step * fixup * actually install wheel prior to test * copy pytest command from config.sh * do the tests really fail on Linux Py3.10? * fix testing under Windows * mark blinking test as always xfail * remove unused import * make wheel tests simpler * re-enable tests, increase tolerance
- Loading branch information
Showing
8 changed files
with
98 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This script needs to be able run under both Python 2 and 3 without crashing | ||
# It only achieves the desired effect under Py3.10 on Linux and MacOS. | ||
import subprocess | ||
import sys | ||
import tempfile | ||
if sys.platform in ('linux', 'darwin') and sys.version_info[:2] == (3, 10): | ||
import urllib.request | ||
with tempfile.NamedTemporaryFile(suffix='.py') as fout: | ||
urllib.request.urlretrieve("https://bootstrap.pypa.io/get-pip.py", fout.name) | ||
subprocess.call([sys.executable, fout.name]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters