Commit Graph
342 Commits
Author SHA1 Message Date
Matthew Treinish ec5670a476 Use platform instead of distutils 2020-02-20 16:12:29 -05:00
Matthew Treinish ce76b74251 Add support for manylinux wheels on non-x86 platforms
This commit adds config options and identifiers for building manylinux
wheels on non-x86 platforms. Based on what travis and manylinux2014
support this includes aarch64 (ARMv8), ppce64le (power pc 64bit little
endian), and the s390x platforms.

Fixes #269
2020-02-20 13:57:00 -05:00
Yannick Jadoul d14427d781 Adding more informative error messages 2020-02-20 00:17:06 +01:00
Yannick Jadoul 42a231f830 Making sure that python and pip are the ones we expect 2020-02-20 00:16:03 +01:00
Yannick Jadoul cf73c3355e Addressing a few more minor remarks of @joerick 2020-02-19 17:10:17 +01:00
Grzegorz Bokota 0d2bec3cb8 Make sure PyPy is only patched once, and use check_call to execute 'patch' 2020-02-19 17:10:17 +01:00
Yannick Jadoul 60dd3f0807 Fixing paths of PyPy on manylinux after PyPy's manylinux image's update 2020-02-19 17:10:17 +01:00
Yannick Jadoul 8c6abf3811 Pushing creation of symlinks into install_cpython and install_pypy 2020-02-19 17:10:17 +01:00
Yannick Jadoul fc0dbe15d5 Fixing flake8 errors and warnings after rebasing 2020-02-19 17:10:17 +01:00
Yannick Jadoul 0423d79e63 Dropping PyPy version from PyPy build identifiers 2020-02-19 17:10:17 +01:00
Yannick Jadoul fd0a789988 Fix minor review comment from @Czaki and @joerick 2020-02-19 17:10:13 +01:00
Joe Rickerby 5187633e26 Add the --no-download flag to virtualenv, to prevent it getting the latest
version of pip, setuptools, wheel from PyPI on creation.

Virtualenv will use bundled version of those tools instead
2020-02-18 22:03:14 +00:00
Joe Rickerby c9e4a66915 Add a test case for pinned tool versions 2020-02-18 09:33:07 +00:00
Grzegorz Bokota 176f4aca1f Apply PyPy patch with default MACOSX_DEPLOYMENT_TARGET to local installation 2020-02-15 23:24:51 +01:00
Yannick Jadoul 11423a47f6 Reverting PyPy manylinux docker image back to the official version, now that it supports 7.3.0 2020-02-15 23:24:51 +01:00
Yannick Jadoul aac5db8a46 Cleaning up Python installations on Windows and macOS, and creating PyPy executable python symlinks outside of installation directory 2020-02-15 23:24:51 +01:00
Yannick Jadoul 17137c3c2f Changing *-manylinux_pypy_x86_64 build identifiers to *-manylinux_x86_64 2020-02-15 23:24:51 +01:00
Yannick Jadoul fea54e25ab PyPy 7.3.0 released! 2020-02-15 23:24:51 +01:00
Yannick Jadoul 4c718706c8 Trying out PyPy 7.3.0rc3 on manylinux2010 as well, with a temporary newer version of manylinux2010-pypy_x86_64 image 2020-02-15 23:24:51 +01:00
Yannick Jadoul 08d3ee1d91 Updating PyPy to v7.3.0rc3 on macOS and Windows 2020-02-15 23:24:51 +01:00
Yannick Jadoul e80f7f4774 Trying out PyPy 7.3.0rc1 on macOS and Windows 2020-02-15 23:24:51 +01:00
Yannick Jadoul ae6832e18d Building PyPy wheels on macOS 2020-02-15 23:24:51 +01:00
Yannick Jadoul 743051a453 Using C:\cibw as base folder for PyPy installation (cfr. #197) 2020-02-15 23:24:51 +01:00
Yannick Jadoul 129cf601da Building PyPy wheels on Windows 2020-02-15 23:24:51 +01:00
Yannick Jadoul dd26ef8ac6 Updated PyPy from 7.1.1 to 7.2.0 2020-02-15 23:24:51 +01:00
Yannick Jadoul 100fc14411 Adding PyPy builds to Linux, using the manylinux2010-pypy_x86_64 image 2020-02-15 23:24:51 +01:00
Joe Rickerby bf87df5d62 Ensure subprocess.run commands succeed with check=True 2020-02-15 12:46:55 +00:00
Joe Rickerby 4c076b8d41 Fix piping script into docker bash 2020-02-15 12:32:33 +00:00
Joe Rickerby f2c2a06c19 Merge fixes and code style 2020-02-15 11:57:31 +00:00
Joe Rickerby 103381774c Merge remote-tracking branch 'origin/master' into deterministic-builds 2020-02-15 11:45:54 +00:00
Nicola Soranzo c738481e82 Rename main_util_fixtures.py to conftest.py to allow fixture auto discovery
Also fix new PEP-008 issues.
2020-02-14 15:50:06 +00:00
Nicola Soranzo cab6ecef24 Fix all PEP-008 issues 2020-02-14 15:50:06 +00:00
Yannick Jadoul 691174cf11 Keeping virtualenv<20 on macOS, until problems get fixed by new release 2020-02-14 13:32:49 +01:00
Yannick Jadoul 165e51aec5 Remove 'from __future__ import print_function' lines 2020-02-04 11:58:52 +01:00
Grzegorz Bokota 48055273f1 Remove inheritance from object base 2020-02-04 11:58:52 +01:00
Yannick Jadoul e8d121552c Remove a few more Python 2-compatibility workarounds 2020-02-04 11:58:52 +01:00
Yannick Jadoul 67ec8fe99f Removing Python 2-compatible imports of urllib.request.open and shlex.quote 2020-02-04 11:58:52 +01:00
Yannick Jadoul b900b2d51e Ditching run_docker for subprocess.run 2020-02-04 11:58:52 +01:00
Joe Rickerby ada46aaf43 Fix exports / version check ordering 2020-02-03 20:50:11 +00:00
Joe Rickerby 17a019b450 Neaten comment 2020-02-03 19:01:17 +00:00
Joe Rickerby bf65679cc3 Fix imports on Python 2 2020-02-03 18:59:32 +00:00
Joe Rickerby a953c5f4ee Remove auditwheel from pinned deps - it's preinstalled on manylinux
auditwheel's pinning of an old version of 'wheel' is causing problems on
mac
2020-02-03 09:02:17 +00:00
Joe Rickerby d8a245dcf6 Use abspath for constraints file 2020-02-02 23:05:58 +00:00
Joe Rickerby 6177408076 Consume our pinned manylinux image version file for the defaults 2020-02-02 18:09:29 +00:00
Joe Rickerby baa0897f1d Add unit test case and fix filename confusion 2020-02-02 17:46:12 +00:00
Joe Rickerby b9607ffae7 Add ability to pin different dependencies for each python version 2020-02-02 17:30:27 +00:00
Joe Rickerby 076987cb7e Move the config flow control of the linux build into Python
The use of separate bash processes for each build means we can be a bit
freer with environment pollution
2020-02-02 16:03:33 +00:00
Joe Rickerby bad72cbb15 Merge remote-tracking branch 'origin/master' into deterministic-builds 2020-02-02 15:21:42 +00:00
Joe Rickerby 0124d174be Raise a warning if .so files were found in a project that fails to build
Fix #139
2020-02-02 14:33:36 +00:00
Joe Rickerby c3f628d03d Add migration for build identifier change, and test for migration 2020-02-01 21:44:07 +00:00