Date: Mon, 1 May 2023 17:23:41 -0400 From: Robert Huff <roberthuff@rcn.com> To: python@freebsd.org Subject: something broke for py39-* updates Message-ID: <25680.11741.399269.552356@jerusalem.litteratus.org> In-Reply-To: <25679.65091.705859.687847@jerusalem.litteratus.org> References: <25679.65091.705859.687847@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello: On a system runnoing: FreeBSD 14.0-CURRENT #0 main-f0a15aafcb Mon Oct 31 08:19:54 EDT 2022 amd64 something has gone wrong with python such that many - but not all - ports fail to update/rebuild with: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 18, in <module> from setuptools.dist import Distribution File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 34, in <module> from ._importlib import metadata File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", line 39, in <module> disable_importlib_metadata_finder(metadata) File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", line 28, in disable_importlib_metadata_finder to_remove = [ File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", line 31, in <listcomp> if isinstance(ob, importlib_metadata.MetadataPathFinder) AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder' *** Error code 1 I'm sure it's my fault. I'm even more sure I want to get this fixed. What's broken, and how do I make it right? ("make.conf" is appended.) Respectfully, Robert Huff #WITH_DEBUG=yes SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 #DEFAULT_VERSIONS+=linux=c6_64 samba=4.4 python=3.5 python3=3.5 DEFAULT_VERSIONS+=linux=c7 # Possible values: 2.7, 3.4, 3.5, 3.6 DEFAULT_VERSIONS+=python=3.9 # Possible values: 2.7 #DEFAULT_VERSIONS+=python2=2.7 # Possible values: 3.4, 3.5, 3.6, 3.9 DEFAULT_VERSIONS+=python3=3.9 DEFAULT_VERSIONS+=perl5=5.32 DEFAULT_VERSIONS+=php=8.1 DEFAULT_VERSIONS+=java=16 DEFAULT_VERSIONS+=samba=4.16 DEFAULT_VERSIONS+=llvm=15 DEFAULT_VERSIONS+=ruby=3.0 DEFAULT_VERSIONS+=bdb=18 DEFAULT_VERSIONS+=mysql=8.0 #DEFAULT_VERSIONS+=gtk=4 OPTIONS_SET+=LDAP WITH_CCACHE_BUILD=yes CCACHE_DIR=/data/ccache #USES=gnome #USE_GNOME=gtk40
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25680.11741.399269.552356>