Re: git: ad2d6b8e4888 - main - Mk/bsd.default-versions.mk: chase the switch to Python 3.9
Date: Thu, 30 Jun 2022 15:50:14 UTC
On Thu, Jun 30, 2022 at 05:27:38PM +0200, Baptiste Daroussin wrote: > On Sun, Jun 26, 2022 at 08:43:58PM +0000, Thierry Thomas wrote: > > The branch main has been updated by thierry: > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=ad2d6b8e488819a85ade85ecbf1fc16db82b49b9 > > > > commit ad2d6b8e488819a85ade85ecbf1fc16db82b49b9 > > Author: Thierry Thomas <thierry@FreeBSD.org> > > AuthorDate: 2022-06-26 20:36:53 +0000 > > Commit: Thierry Thomas <thierry@FreeBSD.org> > > CommitDate: 2022-06-26 20:36:53 +0000 > > > > Mk/bsd.default-versions.mk: chase the switch to Python 3.9 > > > > Following the rules of > > <https://wiki.freebsd.org/Python#Steps_to_switch_the_Python_default_version> > > > > PR: 261703 > > It seems that with the upgrade of python 3.8 to 3.9 is broken some egg-info are > changing from files to directories, which has too side effects: > > FOr all the packages where the plist is hard coded meaning potentially the > following: > databases/rrdtool/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtool-0.1.10-py%%PYTHON_VER%%.egg-info > devel/py-gobject3/pkg-plist:%%PYTHON_SITELIBDIR%%/PyGObject-%%VERSION%%.egg-info > emulators/virtualbox-ose-legacy/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/vboxapi-1.0-py%%PYTHON_VER%%.egg-info > graphics/lensfun/pkg-plist:%%PYHELPERS%%%%PYTHON_SITELIBDIR%%/lensfun-0.3.95-py%%PYTHON_VER%%.egg-info > java/eclipse-pydev/pkg-plist:share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/wsgiref.egg-info > math/sage/pkg-plist:%%PYTHON_SITELIBDIR%%/sage-%%VER%%-py%%PYTHON_VER%%.egg-info > science/agrum/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum-%%VERSION%%-py%%PYTHON_VER_MAJ%%.egg-info > science/yoda/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/yoda-%%VERSION%%-py%%PYTHON_VER%%.egg-info > security/libpreludedb/pkg-plist:%%PYTHON_SITELIBDIR%%/preludedb-5.2.0-py%%PYTHON_VER%%.egg-info > security/libpwquality/pkg-plist:%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info > security/sssd/pkg-plist:%%NO_SMB%%%%PYTHON_SITELIBDIR%%/SSSDConfig-1.16.5-py%%PYTHON_VER%%.egg-info > sysutils/xen-tools/pkg-plist:%%PYTHON_SITELIBDIR%%/pygrub-0.6-py%%PYTHON_VER%%.egg-info > sysutils/xen-tools/pkg-plist:%%PYTHON_SITELIBDIR%%/xen-3.0-py%%PYTHON_VER%%.egg-info > > > pkg will fail to create the package: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264962 > > I don't know why this hasn't arised from the exp-run, but still an issue but not > the worse > > for all the python packages which are using the autoplist feature, this is > change is silently done, so some might say "hurray", but no, it means we cannot > track which one is concerned, so an exp-run does not catch the issue. > > What issue? pkg is not able to deal with such changes a file which becomes a > directory in the upgrade process or a directory that becomes a file! > > While I need to address this, it means that there will probably be a shitload of > issues when the packages will be built, because the packages set will not be > upgradable! > > Can someone with python knowledge of the egg-info thing can weight here and > please tell me I am wrong! > > Best regards, > Bapt Reply to myself ;) Apparently, only the port listed above are impacted, the others are fine, so the issue is quite "isolated" and not "directly" related to the switch. Best regards, Bapt