From nobody Sun Jun 8 08:05:03 2025 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bFSJw0Vw2z5ycww for ; Sun, 08 Jun 2025 08:05:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bFSJv63dJz3xJP for ; Sun, 08 Jun 2025 08:05:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749369903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jQKPdUK8KuA/NNtDLNekVxwVSMcePGJvIU2lx1FHkAU=; b=NilJoG+xzAAlz5aWremYw8IsgNycHD0TpT+h7EwNFHxzH6PCODiLrpM0n0G5+c6jqnvEoG AtTTR2a9EZeBPL6O2L0o6bMN5g3Y4HEyQWi4zhCmBHYpOAfHJt8pbtGSRwR8ACqd6iWUkm T31nz6ydwQ8xVOB6O9d+N9rLlqnmg/Iq1L7auS1bNtdg572OBt1UW593ofbz6wJiJKIdHA K9z8oAOnunqbQ+Ekp+DypMMQ5iY/TnYnESgcG/vrhcyvbHxFZQLKYopvPFfi8cRP5jC6ot Ls+NOK4CfFoo3jy04A+coJVKwHrICj4+roIoSG2mA7Xho8nfjeh2UGbvGrPMZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749369903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jQKPdUK8KuA/NNtDLNekVxwVSMcePGJvIU2lx1FHkAU=; b=ZRHSkh5+cqOuNfZ6EPrCLjpL7NX4ebkHcbZxyuqffOvhLIgxW1XSRXELhVexQyG+g+c5Eg 0hH1wWoZS/3SxCjoZzCNDAcMw8tlYWpSMfKs63PjC/woESIgzTOlYBQBMlJzp3IyE9qeoL 3AoGUAnwdoxiPyAV3XEuchXQ6gjox7KIHSwOGKzoqO7Lyvd+BByoGZ0ugY7n71M5grU/2F 15hNzrfh7gbt49H2n9Ps7ijqWXKHBk6nPNBqYrH0HA8mOCsFi/wE0IHJ0CIr7Q+TFzVXWY 03qObletWNHop62geqkEy9+DeyyeSaulYThWEiToWqoYyEiZvlpsVMxE+9YXow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749369903; a=rsa-sha256; cv=none; b=mSuAETUq5/wyByscQoc2DtJD+oit708JpPMhXNsInRc7y7nB4nYqHZBkU9Cma0gC0lxvzB Lm6NgVRdkjM1ZL8GWbmgKICes7dS/KGl7mUOkpmDlLSdrrYVmWlmKXx0K3AHGqTmgkwxqT KDDK11YxTYD4edJ75obJE9nf4hXmqMARH44blT9PU3blRyGr8IbM3TPxWqH5ZHyaxEKdfX cLn8h9CRPhx8dgzrHsp/SX1pAVh0ZnVzfDpuwdo2H1XV4GatGfTu8Bfbqbawm3tsoPVhfN BTXL4Orq8Im8ItODI+gC6zOt8k+hQasHIbucuAbobxO6xNLeg/jTmgn8Om93fA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bFSJv5NRCz1GSQ for ; Sun, 08 Jun 2025 08:05:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5588535E094729 for ; Sun, 8 Jun 2025 08:05:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 558853XS094728 for python@FreeBSD.org; Sun, 8 Jun 2025 08:05:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 287380] math/py-numpy: ModuleNotFoundError: No module named 'distutils.msvccompiler' Date: Sun, 08 Jun 2025 08:05:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287380 Bug ID: 287380 Summary: math/py-numpy: ModuleNotFoundError: No module named 'distutils.msvccompiler' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org When trying to install port "math/py-numpy" with a more recent version of p= ort "devel/py-setuptools" > 61 (say, 75 or 80.3. or 80.9.0), the building of the port py-numpy bails out with the error shown below. I'm sure the issue of deprecation of "distutils" with Python 3,12 is well known, but I ask for a mitigation of the problem until the transition for crucial ports towards modern setup/installer facilities has been performed.= =20 I can't fathom why the FreeBSD port requires a compiler/suite I associate w= ith Microso Soft environemts. [...] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0 =3D=3D=3D> Building for py311-numpy-1.26.4_6,1 Running from numpy source directory. setup.py:75: DeprecationWarning:=20 `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself. It will be removed for Python >=3D 3.12. For older Python versions it will remain present. It is recommended to use `setuptools < 60.0` for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html=20 import numpy.distutils.command.sdist Traceback (most recent call last): File "", line 1, in File "setup.py", line 483, in from numpy.distutils.core import numpy_cmdclass as cmdclass File "/wrkdirs/usr/ports/math/py-numpy/work-py311/numpy-1.26.4/numpy/distutils/c= ore.py", line 24, in from numpy.distutils.command import config, config_compiler, \ File "/wrkdirs/usr/ports/math/py-numpy/work-py311/numpy-1.26.4/numpy/distutils/c= ommand/config.py", line 19, in from numpy.distutils.mingw32ccompiler import generate_manifest File "/wrkdirs/usr/ports/math/py-numpy/work-py311/numpy-1.26.4/numpy/distutils/m= ingw32ccompiler.py", line 27, in from distutils.msvccompiler import get_build_version as get_build_msvc_version ModuleNotFoundError: No module named 'distutils.msvccompiler' *** Error code 1 [...] --=20 You are receiving this mail because: You are the assignee for the bug.=