Date: Mon, 04 Mar 2024 11:41:09 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 277472] devel/py-setuptools-scm: AttributeError: module 'setuptools_scm.integration' has no attribute 'infer_version' Message-ID: <bug-277472-21822-NToM1OHj2d@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277472-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-277472-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody) <python@FreeBSD.org> for maintainer-feedback: Bug 277472: devel/py-setuptools-scm: AttributeError: module 'setuptools_scm.integration' has no attribute 'infer_version' https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277472 --- Description --- Hi, Since about 5 days I'm getting intermittent errors in a clean env on buildi= ng databases/py-duckdb. The error is as follows: =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on file: /usr/local/sbin/pkg= - found=20=20 [20240303213417] =3D=3D=3D> Fetching all distfiles required by py39-setuptools-scm-8.0.4 for building [20240303213417] =3D=3D=3D> Extracting for py39-setuptools-scm-8.0.4=09=09= =20=20=20=20=20=20=20 [20240303213417] =3D> SHA256 Checksum OK for setuptools-scm-8.0.4.tar.gz.= =20=20=20=20=20=20=20=20 [20240303213417] =3D=3D=3D> Patching for py39-setuptools-scm-8.0.4=09=09=20= =20=20=20=20=20=20 =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-setuptools>= 0 - found=20 =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-wheel>0 - f= ound=20=20=20=20=20=20 =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on file: /usr/local/bin/pyth= on3.9 - found =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-tomli>0 - f= ound=20=20=20=20=20=20 =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-build>=3D0 = - found=20=20=20=20=20 =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-installer>= =3D0 - found=20 [20240303213417] =3D=3D=3D> Configuring for py39-setuptools-scm-8.0.4=20=09= =20=20=20=20=20=20=20 [20240303213417] =3D=3D=3D> Building for py39-setuptools-scm-8.0.4=09=09=20= =20=20=20=20=20=20 * Getting build dependencies for wheel...=09=09=09=09=20=20=20=20=20=20=20 Traceback (most recent call last):=09=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro= cess .py", line 353, in <module> main()=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro= cess .py", line 335, in main json_out['return_val'] =3D hook(**hook_input['kwargs'])=09=09=20=20=20= =20=20=20=20 File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro= cess .py", line 118, in get_requires_for_build_wheel return hook(config_settings)=09=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", l= ine 177, in get_requires_for_build_wheel return self._get_build_requires(=09=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", l= ine 159, in _get_build_requires self.run_setup()=09=09=09=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", l= ine 174, in run_setup exec(compile(code, __file__, 'exec'), locals())=09=09=09=20=20=20=20=20= =20=20 File "setup.py", line 1, in <module>=09=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs)=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.p= y", line 139, in setup _setup_distribution =3D dist =3D klass(attrs)=09=09=09=09=20=20=20=20= =20=20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 47= 6, in __init__ _Distribution.__init__(=09=09=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.p= y", line 275, in __init__ self.finalize_options()=09=09=09=09=09=09=20=20=20=20=20=20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 89= 9, in finalize_options for ep in sorted(loaded, key=3Dby_order):=09=09=09=09=20=20=20=20=20=20= =20 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 89= 8, in <lambda> loaded =3D map(lambda e: e.load(), filtered)=09=09=09=09=20=20=20=20=20= =20=20 File "/usr/local/lib/python3.9/site-packages/setuptools/_vendor/importlib_metada= ta/_ _init__.py", line 196, in load return functools.reduce(getattr, attrs, module)=09=09=09=20=20=20=20=20= =20=20 AttributeError: module 'setuptools_scm.integration' has no attribute 'infer_version' ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel *** Error code 1=09=09=09=09=09=09=09=20=20=20=20=20=20=20 Stop.=09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 make[3]: stopped in /usr/ports/devel/py-setuptools-scm=09=09=09=20=20=20=20= =20=20=20 *** Error code 1=09=09=09=09=09=09=09=20=20=20=20=20=20=20 Stop.=09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 make[2]: stopped in /usr/ports/devel/py-dateutil=20 Stop.=09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 make[1]: stopped in /usr/ports/math/py-pandas=09=09=09=09=20=20=20=20=20=20= =20 *** Error code 1=09=09=09=09=09=09=09=20=20=20=20=20=20=20 Stop.=09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 make: stopped in /usr/ports/databases/py-duckdb After a rebuild attempt with other packages built it suddenly starts workin= g so I'm assuming it's a bit of a glitch between dependencies. Cheers, Franco
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277472-21822-NToM1OHj2d>