py.test can't find ft2font

I am trying to get tests passing again for this pull request:

https://github.com/matplotlib/matplotlib/pull/8325

They are failing due to differences in the images the latest code is
generating.

The tests themselves advise me to build with "local_freetype=True" in
setup.cfg and I am doing this.

I am building/installing matplotlib with:

    python3.6 setup.py build

and

    python3.6 setup.py install --user

If I fire up python3.6 then

    from matplotlib import ft2font

works just fine.

But when I run py.test it fails to find it.

Curiously,

python3.6 -m matplotlib.ft2font

is also unable to find ft2font.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20180309/f1bb69a8/attachment.html>

Update:

Above should have read:

python3.6 setup.py develop --user

Installing with:

sudo pytthon3.6 setup.py develop

is running the tests ok.

···

On Fri, Mar 9, 2018 at 12:08 PM, swfiua at gmail.com <swfiua at gmail.com> wrote:

I am trying to get tests passing again for this pull request:

https://github.com/matplotlib/matplotlib/pull/8325

They are failing due to differences in the images the latest code is
generating.

The tests themselves advise me to build with "local_freetype=True" in
setup.cfg and I am doing this.

I am building/installing matplotlib with:

    python3.6 setup.py build

and

    python3.6 setup.py install --user

If I fire up python3.6 then

    from matplotlib import ft2font

works just fine.

But when I run py.test it fails to find it.

Curiously,

python3.6 -m matplotlib.ft2font

is also unable to find ft2font.

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20180309/e2aac6f4/attachment.html&gt;