-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Started happening after pytest 7.0.0 came out. I reran a previously successful pyinstaller job on main and now it fails.
Traceback (most recent call last):
File "run_astropy_tests.py", line 12, in <module>
import pytest
File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
File "pytest/__init__.py", line 3, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
File "pytest/collect.py", line 8, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
File "_pytest/deprecated.py", line 13, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
File "_pytest/warning_types.py", line 8, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
File "_pytest/compat.py", line 36, in <module>
File "py/_vendored_packages/apipkg/__init__.py", line 157, in __makeattr
File "py/_vendored_packages/apipkg/__init__.py", line 75, in importobj
ModuleNotFoundError: No module named 'py._path'
[5161] Failed to execute script 'run_astropy_tests' due to unhandled exception!
Reactions are currently unavailable