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.
I've first noticed the issue trying to build the environment for my project with many dependencies, but it turns out the same issue arises when catboost is the only dependency.
Steps to reproduce
It is enough to run pdm init in an empty directory and later pdm add catboost. I've tried specific versions of the catboost library (1.0.0 - 1.0.4) but the result is always the same.
Actual behavior
PDM is able to install all the necessary dependencies of catboost, but fails to install catboost library.
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\user\AppData\Roaming\pdm\venv\lib\site-packages\pdm\installers\synchronizers.py", line 190, in install_candidate
self.manager.install(can)
File "C:\Users\user\AppData\Roaming\pdm\venv\lib\site-packages\pdm\installers\manager.py", line 38, in install
installer(candidate.build(), self.environment, candidate.direct_url())
File "C:\Users\user\AppData\Roaming\pdm\venv\lib\site-packages\pdm\installers\installers.py", line 176, in install_wheel
File "C:\Users\user\AppData\Roaming\pdm\venv\lib\site-packages\pdm\installers\installers.py", line 280, in _install_wheel
File "C:\Users\user\AppData\Roaming\pdm\venv\lib\site-packages\installer\sources.py", line 170, in get_contents
assert record is not None, "In {}, {} is not mentioned in RECORD".format(
AssertionError: In C:\Users\user\AppData\Local\Temp\pip-unpack-a3gqvydj\catboost-1.0.4-cp39-none-win_amd64.whl, catboost/core.py is not mentioned in RECORD
Expected behavior
PDM should successfully install catboost as it is the case with other tools such as pip or poetry.
I've first noticed the issue trying to build the environment for my project with many dependencies, but it turns out the same issue arises when catboost is the only dependency.
Steps to reproduce
It is enough to run
pdm init
in an empty directory and laterpdm add catboost
. I've tried specific versions of the catboost library (1.0.0 - 1.0.4) but the result is always the same.Actual behavior
PDM is able to install all the necessary dependencies of catboost, but fails to install catboost library.
Expected behavior
PDM should successfully install catboost as it is the case with other tools such as pip or poetry.
Environment Information
The text was updated successfully, but these errors were encountered: