I have been building numpy master with CPython master but am also using
cython master.
My not-pretty script for doing this is:
#! /usr/bin/bash
set -e
TARGET_ENV=bleeding
OSPATH=~/source/other_source/
pushd $OSPATH/cpython/
git pull
git clean -xfd
./configure
make -j 9
./python -m venv --copies --clear ~/.virtualenvs/$TARGET_ENV
popd
source ~/.virtualenvs/$TARGET_ENV/bin/activate
master_build () {
git checkout master
git pull
git clean -xfd
pip install -v .
}
pushd $OSPATH/cython
master_build
popd
pushd $OSPATH/numpy
master_build
popd
Tom
On Fri, Dec 15, 2017 at 5:54 AM Nathaniel Smith <[email protected]> wrote:
> On Fri, Dec 15, 2017 at 2:42 AM, Hannes Breytenbach <[email protected]>
> wrote:
> >
> > I don't think this is a cython version issue - cloned the latest version
> from git yesterday...
> >
> > python3.7 -c "import cython; print(cython.__version__)"
> > 0.28a0
>
> It is a cython version issue: https://github.com/cython/cython/issues/1955
>
> It's supposed to be fixed though, so I don't know why you it isn't
> working for you. Are you sure that cython is installed in the same
> virtualenv as you're using to build numpy? If you were using a numpy
> sdist then it would make sense because we include the pre-generated .c
> files in the sdists instead of running cython, but given that you're
> building from a numpy checkout I dunno.
>
> -n
>
> --
> Nathaniel J. Smith -- https://vorpus.org
> _______________________________________________
> NumPy-Discussion mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
[email protected]
https://mail.python.org/mailman/listinfo/numpy-discussion