Fedora Account System
Red Hat Associate
Red Hat Customer
Got this output applying update from the post python 3.15 rawhide: >>> Running %triggerpostun scriptlet: fedora-third-party-0:0.10-20.fc45.noarch >>> Finished %triggerpostun scriptlet: fedora-third-party-0:0.10-20.fc45.noarch >>> Scriptlet output: >>> Error in import line from /usr/lib/python3.15/site-packages/Paste-3.10.1-py3.15-nspkg.pth: imp ort sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('paste',));importlib = __import__('importlib.util');__import__('importlib.machinery');m = sys.modules.setdefault('paste' , importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec('paste', [os.path.dirna me(p)])));m = m or sys.modules.setdefault('paste', types.ModuleType('paste'));mp = (m or []) and m .__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p) >>> Traceback (most recent call last): >>> File "<frozen site>", line 533, in _exec_imports >>> File "<string>", line 1, in <module> >>> KeyError: "local variable ''sitedir'' is not defined" >>> Error in import line from /usr/lib/python3.15/site-packages/straight.plugin-1.5.0-py3.15-nspkg .pth: import sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('straight',)) ;importlib = __import__('importlib.util');__import__('importlib.machinery');m = sys.modules.setdef ault('straight', importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec('straigh t', [os.path.dirname(p)])));m = m or sys.modules.setdefault('straight', types.ModuleType('straight '));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p) >>> Traceback (most recent call last): >>> File "<frozen site>", line 533, in _exec_imports >>> File "<string>", line 1, in <module> >>> KeyError: "local variable ''sitedir'' is not defined" >>> >>> Running %triggerin scriptlet: fedora-third-party-0:0.10-20.fc45.noarch >>> Finished %triggerin scriptlet: fedora-third-party-0:0.10-20.fc45.noarch >>> Scriptlet output: >>> Error in import line from /usr/lib/python3.15/site-packages/Paste-3.10.1-py3.15-nspkg.pth: imp ort sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('paste',));importlib = __import__('importlib.util');__import__('importlib.machinery');m = sys.modules.setdefault('paste' , importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec('paste', [os.path.dirna me(p)])));m = m or sys.modules.setdefault('paste', types.ModuleType('paste'));mp = (m or []) and m .__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p) >>> Traceback (most recent call last): >>> File "<frozen site>", line 533, in _exec_imports >>> File "<string>", line 1, in <module> >>> KeyError: "local variable ''sitedir'' is not defined" >>> Error in import line from /usr/lib/python3.15/site-packages/straight.plugin-1.5.0-py3.15-nspkg .pth: import sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('straight',)) ;importlib = __import__('importlib.util');__import__('importlib.machinery');m = sys.modules.setdef ault('straight', importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec('straigh t', [os.path.dirname(p)])));m = m or sys.modules.setdefault('straight', types.ModuleType('straight '));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p) >>> Traceback (most recent call last): >>> File "<frozen site>", line 533, in _exec_imports >>> File "<string>", line 1, in <module> >>> KeyError: "local variable ''sitedir'' is not defined" >>> Reproducible: Always
Note that this error is notcritical, only anoying. See https://github.com/python/cpython/issues/149671 Also, it needs to be fixed in packages owning /usr/lib/python3.15/site-packages/straight.plugin-1.5.0-py3.15-nspkg and /usr/lib/python3.15/site-packages/Paste-3.10.1-py3.15-nspkg.pth:
https://src.fedoraproject.org/rpms/python3.15/pull-request/80
Please test with python3.15-3.15.0~b2-5.fc45 -- should be fixed now.
Yes, seems to be. Thanks!