You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[☑️ ] I have searched the issue tracker and believe that this is not a duplicate.
Make sure you run commands with -v flag before pasting the output.
Steps to reproduce
In windows with python 3.8
pdm install with pyproject.toml that depends on pyqtgraph==0.12.4
modify the pyproject.toml and change to pyqtgraph==0.12.1
pdm install
Actual behavior
...
Update pyside2 5.15.2.1 -> 5.14.2.3 successful
Retry failed jobs
Update pyqtgraph 0.12.4 -> 0.12.1 failed
Error occurs:
Traceback (most recent call last):
File "c:\users\containeradministrator\scoop\apps\python38\current\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\synchronizers.py", line 204, in update_candidate
self.manager.uninstall(dist)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\manager.py", line 47, in uninstall
remove_path = self.get_paths_to_remove(dist)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\manager.py", line 43, in get_paths_to_remove
return StashedRemovePaths.from_dist(dist, environment=self.environment)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\uninstallers.py", line 155, in from_dist
elif dist.files:
File "c:\users\containeradministrator\scoop\apps\python38\current\lib\importlib\metadata.py", line 262, in files
return file_lines and list(starmap(make_file, csv.reader(file_lines)))
TypeError: make_file() takes from 1 to 3 positional arguments but 6 were given
ERRORS:
update pyqtgraph failed:
Traceback (most recent call last):
File "c:\users\containeradministrator\scoop\apps\python38\current\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\synchronizers.py", line 204, in update_candidate
self.manager.uninstall(dist)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\manager.py", line 47, in uninstall
remove_path = self.get_paths_to_remove(dist)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\manager.py", line 43, in get_paths_to_remove
return StashedRemovePaths.from_dist(dist, environment=self.environment)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\uninstallers.py", line 155, in from_dist
elif dist.files:
File "c:\users\containeradministrator\scoop\apps\python38\current\lib\importlib\metadata.py", line 262, in files
return file_lines and list(starmap(make_file, csv.reader(file_lines)))
TypeError: make_file() takes from 1 to 3 positional arguments but 6 were given
Traceback (most recent call last):
File "c:\users\containeradministrator\scoop\apps\python38\current\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\containeradministrator\scoop\apps\python38\current\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\builds\software\my-app\venv\Scripts\pdm.exe\__main__.py", line 7, in <module>
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\core.py", line 233, in main
return Core().main(args)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\core.py", line 168, in main
raise cast(Exception, err).with_traceback(traceback)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\core.py", line 163, in main
f(options.project, options)
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\cli\commands\sync.py", line 26, in handle
actions.do_sync(
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\cli\actions.py", line 190, in do_sync
handler.synchronize()
File "C:\builds\software\my-app\venv\lib\site-packages\pdm\installers\synchronizers.py", line 352, in synchronize
raise InstallationError("Some package operations are not complete yet")
pdm.exceptions.InstallationError: Some package operations are not complete yet
Expected behavior
No type error. Update pyqtgraph 0.12.4 -> 0.12.1 successful
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
pdm install
withpyproject.toml
that depends onpyqtgraph==0.12.4
pyproject.toml
and change topyqtgraph==0.12.1
pdm install
Actual behavior
Expected behavior
No type error.
Update pyqtgraph 0.12.4 -> 0.12.1 successful
Environment Information
Extra Information
Source code:
Wheels:
By the way, thank you very much for making PDM! I am very impressed. 非常感谢您!
The text was updated successfully, but these errors were encountered: