mach-nix icon indicating copy to clipboard operation
mach-nix copied to clipboard

package `pytrec-eval` not available from any of the selected providers.

Open quinn-dougherty opened this issue 1 year ago • 4 comments

When I put beir in requirements.txt:

The Package 'pytrec-eval' (build: ()) is not available from any of the selected providers ['nixpkgs', 'sdist', 'wheel']
 for the selected python version
The required package might just not (yet) be part of the dependency DB currently used.
The DB can be updated by specifying 'pypiDataRev' when importing mach-nix.
For examples see: https://github.com/DavHau/mach-nix/blob/master/examples.md
If it still doesn't work, there might have been an error while building the DB.
Please open an issue at: https://github.com/DavHau/mach-nix/issues/new

Same bug when I specify the latest commit of pypi-deps-db in pypiDataRev argument.

The pypi page for pytrec-eval is here: https://pypi.org/project/pytrec-eval/

quinn-dougherty avatar Sep 16 '22 08:09 quinn-dougherty

Is it because a download happens in setup.py, and would have to be overridden by a nix fetcher to be able to run? https://github.com/cvangysel/pytrec_eval/blob/master/setup.py

quinn-dougherty avatar Sep 18 '22 08:09 quinn-dougherty