pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/py-setuptools



On Sun, 20 Nov 2022 17:09:38 +0000
"Adam Ciarcinski" <adam%netbsd.org@localhost> wrote:

> Log Message:
> py-setuptools: updated to 65.6.0
> 
> v65.6.0
> 
> Changes
> 
> Sync with pypa/distutils@e0787fa, including pypa/distutils#183 updating distutils to use the Python logging framework.

Hi,

Please check if py-numpy builds for you.
It looks like it bundles(?) some distutils things and it now breaks for me:

Running from numpy source directory.
Traceback (most recent call last):
  File "/Volumes/work/pkgsrc-obj/math/py-numpy/work/numpy-1.23.4/setup.py", line 86, in <module>
    import numpy.distutils.command.sdist
  File "/Volumes/work/pkgsrc-obj/math/py-numpy/work/numpy-1.23.4/numpy/distutils/__init__.py", line 26, in <module>
    from . import ccompiler
  File "/Volumes/work/pkgsrc-obj/math/py-numpy/work/numpy-1.23.4/numpy/distutils/ccompiler.py", line 20, in <module>
    from numpy.distutils import log
  File "/Volumes/work/pkgsrc-obj/math/py-numpy/work/numpy-1.23.4/numpy/distutils/log.py", line 4, in <module>
    from distutils.log import Log as old_Log
ImportError: cannot import name 'Log' from 'distutils.log' (/Volumes/work/pkg/lib/python3.10/site-packages/setuptools/_distutils/log.py)
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/work/pkgsrc/math/py-numpy
*** Error code 1



Home | Main Index | Thread Index | Old Index