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

sphinx-data-viewer pypi package unavailable

Open arpd opened this issue 2 years ago • 1 comments

I'm trying to launch a shell using nix develop with appropriate python3 dependencies loaded. I run in to the following error:

The Package 'sphinx-data-viewer' (build: ()) is not available from any of the selected providers [>
 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

Below is an except of the flake I'm using, showing mach-nix usage:

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs";
    # nixpkgs.url = "flake:nixpkgs";
    ros-oly.url = "github:lopsided98/nix-ros-overlay";
    flake-utils.url = "github:numtide/flake-utils";

    mach-nix = {
      url = "github:DavHau/mach-nix";
    };
  };

...

      python = "python38";
      mach = import mach-nix {
        inherit pkgs python;
        pypiDataRev = "master";
      };

      myPython = (mach.mkPython {
        requirements = ''
          ipython
          ipdb
          docutils

          conan
          jinja2
          pytest
          toml
          sphinx
          sphinx_rtd_theme
          breathe
          sphinx-data-viewer
          sphinxcontrib-needs
        '';
      });
     in mkShell {
       buildInputs = [ myPython ... ];
     }

arpd avatar Jun 23 '22 10:06 arpd

You can check the sdist-errors directory of pypi-deps-db to see the reason why the crawler could not extract information for this library: https://github.com/DavHau/pypi-deps-db/blob/16d4b6ae06515802f855a1eb17b0e61c29822733/sdist-errors/9f.json#L7739-L7750

DavHau avatar Jun 23 '22 14:06 DavHau