Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Testing if python 3.8 is available. #62

Closed
wants to merge 11 commits into from
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ matrix:
env:
- MB_PYTHON_VERSION=3.7
- PLAT=i686
- os: linux
env:
- MB_PYTHON_VERSION=3.8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you try here to use the manylinux2010 image by adding MB_ML_VER=2010? In order to use this you will also need to update the multibuild subrepo to the HEAD of the devel branch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly, it failed at the same spot, it cannot find pip.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did download 2010 however.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path in the docker image is /opt/python/cp38-cp38, multibuild expects a m suffix /opt/python/cp38-cp38m

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could test locally on ubuntu 18.04 with

##!bash
set -x
REPO_DIR=numpy
        # Also see DAILY_COMMIT below
BUILD_COMMIT=master
BUILD_DEPENDS=cython
TEST_DEPENDS=pytest
PLAT=x86_64
UNICODE_WIDTH=32
WHEELHOUSE_UPLOADER_USERNAME=travis-worker
MB_PYTHON_VERSION=3.8
MB_ML_VER=2010
source multibuild/common_utils.sh
source multibuild/travis_steps.sh
before_install
clean_code $REPO_DIR $BUILD_COMMIT
./patch_code.sh $REPO_DIR
if [ "$TRAVIS_OS_NAME"  == "linux" ]; then
    export CFLAGS=${CFLAGS}" -Wno-sign-compare -Wno-unused-result\
                             -Wno-strict-aliasing";
fi
build_wheel $REPO_DIR $PLAT

and to debug the docker I added set -x to the top of multibuild/docker_build_wrap.sh

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between a python with and without the m suffix?

- os: osx
language: generic
env:
Expand Down