mach-nix
mach-nix copied to clipboard
package pdm is not available in python310 but python39
Package pdm
is not available in python310 but python39.
I have tried to run nix-shell
with this code:
let
mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix";
ref = "refs/tags/3.5.0";
}) {
python = "python310";
pypiData = builtins.fetchTarball "https://github.com/DavHau/pypi-deps-db/tarball/master";
};
in
mach-nix.mkPythonShell {
requirements = ''
pdm
'';
}
If I change python = "python310"
to "python39", it works.
The wheel should work for all python3 versions:
https://pypi.org/project/pdm/#files
pypi-deps-db/wheel/1c.json
...
47439 "1.15.2": {
47440 "pdm-1.15.2-py3-none-any.whl": "[email protected]"
47441 },
...
I am relatively sure this change fixes it: https://github.com/demin-dmitriy/mach-nix/commit/4b9e5e087a154c9903c533848907ea077007d6ee