Describe the bug
When trying to install the latest version of jupyterlab, nix fails, complaining about a missing library tornado, so long as it isn't 6.0 or above. Yet tornado installs just fine, and with a version of 5.X. Here's the error:
/build/jupyterlab-1.0.4/dist /build/jupyterlab-1.0.4
Processing ./jupyterlab-1.0.4-py2.py3-none-any.whl
Collecting tornado!=6.0.0,!=6.0.1,!=6.0.2 (from jupyterlab==1.0.4)
Could not find a version that satisfies the requirement tornado!=6.0.0,!=6.0.1,!=6.0.2 (from jupyterlab==1.0.4) (from versions: )
No matching distribution found for tornado!=6.0.0,!=6.0.1,!=6.0.2 (from jupyterlab==1.0.4)
builder for '/nix/store/bigclz0i9ld7dxj33vw1c8kyiwdrimjd-python3.7-jupyterlab-1.0.4.drv' failed with exit code 1
cannot build derivation '/nix/store/9vk437k3q0w79r1f6phxwhcap083j813-python3-3.7.3-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/9vk437k3q0w79r1f6phxwhcap083j813-python3-3.7.3-env.drv' failed
To Reproduce
Steps to reproduce the behavior:
- Try to run
nix-shell with this file:
with import <nixpkgs> {};
( let
my_jupyterlab = python37.pkgs.buildPythonPackage rec {
pname = "jupyterlab";
version = "1.0.4";
src = python37.pkgs.fetchPypi {
inherit pname version;
sha256 = "0vhdbzrphirl3x37d4zh0gaxhs6f7wj0i30wy4878yjkmlr219rj";
};
doCheck = false;
};
in python37.withPackages (ps: [ps.jupyter ps.tornado my_jupyterlab])
).env
- Note that it fails with the error above.
Expected behavior
It would finish building the environment with Jupyterlab 1.0.4
Additional context
Add any other context about the problem here.
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.
[1 copied, 0.0 MiB DL]
- system: `"x86_64-linux"`
- host os: `Linux 5.2.4, NixOS, 19.09pre186857.239fffc90d7 (Loris)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.2.2`
- channels(jon): `"home-manager, nixpkgs"`
- channels(root): `"nixos-19.09pre186857.239fffc90d7"`
- nixpkgs: `/home/jon/.nix-defexpr/channels/nixpkgs`
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
- python37Packages.jupyterlab
# a list of nixos modules affected by the problem
module:
Describe the bug
When trying to install the latest version of jupyterlab, nix fails, complaining about a missing library
tornado, so long as it isn't 6.0 or above. Yettornadoinstalls just fine, and with a version of 5.X. Here's the error:To Reproduce
Steps to reproduce the behavior:
nix-shellwith this file:Expected behavior
It would finish building the environment with Jupyterlab 1.0.4
Additional context
Add any other context about the problem here.
Metadata
Please run
nix run nixpkgs.nix-info -c nix-info -mand paste the result.Maintainer information: