Open nasyxx opened 2 years ago
Package pdm is not available in python310 but python39.
pdm
I have tried to run nix-shell with this code:
nix-shell
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.
python = "python310"
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": "1.14.0@pdm-1.14.0-py3-none-any.whl" 47441 }, ...
I am relatively sure this change fixes it: https://github.com/demin-dmitriy/mach-nix/commit/4b9e5e087a154c9903c533848907ea077007d6ee
Package
pdm
is not available in python310 but python39.I have tried to run
nix-shell
with this code: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