Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76491 - [python-setuptools] Fix backward compatibility

Attached to Project: Community Packages
Opened by Qontinuum (qontinuum) - Tuesday, 08 November 2022, 21:12 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 08 November 2022, 21:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

A backward compatibility issue has been introduced in setuptools 65.0.0 and it is fixed in 65.0.2.

At least python-numpy and python-scikit-learn can't be built because of this breaking change.

Traceback (most recent call last):
File "/tmp/makepkg/python-numpy/src/numpy-1.23.4/setup.py", line 101, in <module>
from numpy.distutils.core import numpy_cmdclass
File "/tmp/makepkg/python-numpy/src/numpy-1.23.4/numpy/distutils/core.py", line 24, in <module>
from numpy.distutils.command import config, config_compiler, \
File "/tmp/makepkg/python-numpy/src/numpy-1.23.4/numpy/distutils/command/config.py", line 19, in <module>
from numpy.distutils.mingw32ccompiler import generate_manifest
File "/tmp/makepkg/python-numpy/src/numpy-1.23.4/numpy/distutils/mingw32ccompiler.py", line 28, in <module>
from distutils.msvccompiler import get_build_version as get_build_msvc_version
ModuleNotFoundError: No module named 'distutils.msvccompiler'
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 08 November 2022, 21:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  65.0.2 is already released

Loading...