Date: Wed, 06 Mar 2024 05:59:29 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 277472] devel/py-setuptools-scm: AttributeError: module 'setuptools_scm.integration' has no attribute 'infer_version' Message-ID: <bug-277472-21822-MNj85zXsFE@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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277472 --- Comment #7 from Sigi <freebsd-bt@beatsnet.com> --- In my case it is plain py-setuptools-scm make that fails missing infer_vers= ion 14.0-STABLE FreeBSD 14.0-STABLE #0 009c8a3d2 [myuser@myhost:/usr/ports/devel/py-setuptools-scm] # make clean =3D=3D=3D> Cleaning for git-2.44.0 =3D=3D=3D> Cleaning for py39-setuptools-scm-8.0.4 [myuser@myhost:/usr/ports/devel/py-setuptools-scm] # make =3D=3D=3D> License MIT accepted by the user =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on file: /usr/local/sbin/pkg= - found =3D=3D=3D> Fetching all distfiles required by py39-setuptools-scm-8.0.4 for= building =3D=3D=3D> Extracting for py39-setuptools-scm-8.0.4 =3D> SHA256 Checksum OK for setuptools-scm-8.0.4.tar.gz. =3D=3D=3D> Patching for py39-setuptools-scm-8.0.4 =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-setuptools>= 0 - found =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-wheel>0 - f= ound =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 =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-build>=3D0 = - found =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on package: py39-installer>= =3D0 - found =3D=3D=3D> py39-setuptools-scm-8.0.4 depends on file: /usr/local/bin/ccac= he - found =3D=3D=3D> Configuring for py39-setuptools-scm-8.0.4 =3D=3D=3D> Building for py39-setuptools-scm-8.0.4 * Getting build dependencies for wheel... Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro= cess.py", line 353, in <module> main() 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']) 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) 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( File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", l= ine 159, in _get_build_requires self.run_setup() File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", l= ine 174, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.p= y", line 139, in setup _setup_distribution =3D dist =3D klass(attrs) File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 47= 6, in __init__ _Distribution.__init__( File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.p= y", line 275, in __init__ self.finalize_options() 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): File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 89= 8, in <lambda> loaded =3D map(lambda e: e.load(), filtered) 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) 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 Stop. make: stopped in /usr/ports/devel/py-setuptools-scm --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277472-21822-MNj85zXsFE>