-
Notifications
You must be signed in to change notification settings - Fork 87
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
fixes for platform, pypy wheel builds #297
Conversation
I tested this locally with
and tried with a few different values for |
.gitignore
Outdated
xz-stamp | ||
yaml*/ | ||
yaml-stamp | ||
zlib-stamp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.gitignore
changes needed for local testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe *.stamp
for neatness?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adopting
fi | ||
PIP_CMD=pip | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved from osx_utils.sh
and redone to allow pypy-5.4
or pypy3.6-7.3
. Also properly sets PIP_CMD
$PYTHON_EXE -c "import sys; print('{0}.{1}'.format(*sys.version_info[0:2]))" | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved from osx_utils.sh
@@ -10,6 +10,7 @@ fi | |||
CONFIGURE_BUILD_SOURCED=1 | |||
|
|||
BUILD_PREFIX="${BUILD_PREFIX:-/usr/local}" | |||
MB_ML_VER=${MB_ML_VER:-1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a default
fi | ||
elif [ "${MB_PYTHON_VERSION:0:4}" == "pypy" ]; then | ||
yum install -y wget | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only install libtool on manylinux1
. May need to revert this if testing shows it is needed. On manylinux2014
, installing libtool also installs gcc. PyPy needs wget to download the tarball.
@@ -40,6 +41,7 @@ if [ -n "$TEST_BUILDS" ]; then | |||
source tests/test_manylinux_utils_docker.sh | |||
source tests/test_library_builders.sh | |||
" | |||
build_multilinux $my_plat "pip install simplejson" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added test that exercises python and pip inside a docker environment
All the macos builds are failing. I don't understand some of them, like the one where installing wheel fails because it is missing delocate?
|
Not sure what's going on - but maybe https://github.com/matthew-brett/multibuild/issues/298 ? |
5a0ae03
to
aac4913
Compare
Getting further. Now the macOS builds with TEST_BUILDS=1 are failing with The s390x failure is due to yum install failing, see nealef/clefos#1 |
@matthew-brett: travis-ci build is green. Before I restore the appveyor CI file and ask for final review, could you take a look at this? |
@matthew-brett ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup - seems reasonable.
.gitignore
Outdated
xz-stamp | ||
yaml*/ | ||
yaml-stamp | ||
zlib-stamp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe *.stamp
for neatness?
Watching the slow progress of the macOS builds on travis, it seems you are limited to two macOS simultaneous builds. There are 30 builds, each at 2 1/2 minutes so the macOS will take around 45 minutes of wall clock time. It might make sense to drop some of them or start to use azure |
@matthew-brett ready for final review. The s390x failure is a system thing: the yum mirror is flaky, see my discussion with them in nealef/clefos#1. |
@matthew-brett ping |
Sorry - yes - looks OK to me - let's give it a try. |
Testing pypy-inside-docker revealed that the support for building a wheel using pypy inside manylinuxXXXX did not work. This PR: