Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install from master #22

Open
doutriaux1 opened this issue Jul 8, 2019 · 8 comments
Open

can't install from master #22

doutriaux1 opened this issue Jul 8, 2019 · 8 comments

Comments

@doutriaux1
Copy link

trying to install from master in a jupyter 1 env (with yarn and nodejs)

pip install sidecar==0.4.0
Collecting sidecar==0.4.0
  ERROR: Could not find a version that satisfies the requirement sidecar==0.4.0 (from versions: 0.1.0.dev0, 0.2.0, 0.3.0)
ERROR: No matching distribution found for sidecar==0.4.0

in the repo on master (it seems to want to install 0.3.0 anyways):

Processing /git/jupyterlab-sidecar
Collecting ipywidgets>=7.5.0 (from sidecar==0.3.0)
  Using cached https://files.pythonhosted.org/packages/86/c2/20a3514f87fc063b4853673966e85c091843de659374d6e1dd046319815a/ipywidgets-7.5.0-py2.py3-none-any.whl
Collecting widgetsnbextension~=3.5.0 (from ipywidgets>=7.5.0->sidecar==0.3.0)
  Using cached https://files.pythonhosted.org/packages/04/2b/32408aa2aaf5230450903b148dae888734add9e2fc190a817811546d2f93/widgetsnbextension-3.5.0-py2.py3-none-any.whl
Requirement already satisfied: ipython>=4.0.0; python_version >= "3.3" in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipywidgets>=7.5.0->sidecar==0.3.0) (7.6.1)
Requirement already satisfied: ipykernel>=4.5.1 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipywidgets>=7.5.0->sidecar==0.3.0) (5.1.1)
Requirement already satisfied: traitlets>=4.3.1 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipywidgets>=7.5.0->sidecar==0.3.0) (4.3.2)
Requirement already satisfied: nbformat>=4.2.0 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipywidgets>=7.5.0->sidecar==0.3.0) (4.4.0)
Requirement already satisfied: notebook>=4.4.1 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (5.7.8)
Requirement already satisfied: jedi>=0.10 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (0.14.0)
Requirement already satisfied: pygments in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (2.4.2)
Requirement already satisfied: decorator in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (4.4.0)
Requirement already satisfied: setuptools>=18.5 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (41.0.1)
Requirement already satisfied: pickleshare in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (0.7.5)
Requirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (2.0.9)
Requirement already satisfied: pexpect; sys_platform != "win32" in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (4.7.0)
Requirement already satisfied: appnope; sys_platform == "darwin" in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (0.1.0)
Requirement already satisfied: backcall in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (0.1.0)
Requirement already satisfied: jupyter-client in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.5.0->sidecar==0.3.0) (5.2.4)
Requirement already satisfied: tornado>=4.2 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.5.0->sidecar==0.3.0) (6.0.3)
Requirement already satisfied: ipython_genutils in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from traitlets>=4.3.1->ipywidgets>=7.5.0->sidecar==0.3.0) (0.2.0)
Requirement already satisfied: six in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from traitlets>=4.3.1->ipywidgets>=7.5.0->sidecar==0.3.0) (1.12.0)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from nbformat>=4.2.0->ipywidgets>=7.5.0->sidecar==0.3.0) (3.0.1)
Requirement already satisfied: jupyter_core in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from nbformat>=4.2.0->ipywidgets>=7.5.0->sidecar==0.3.0) (4.4.0)
Requirement already satisfied: terminado>=0.8.1 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (0.8.2)
Requirement already satisfied: nbconvert in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (5.5.0)
Requirement already satisfied: Send2Trash in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (1.5.0)
Requirement already satisfied: pyzmq>=17 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (18.0.2)
Requirement already satisfied: prometheus-client in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (0.7.1)
Requirement already satisfied: jinja2 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (2.10.1)
Requirement already satisfied: parso>=0.3.0 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from jedi>=0.10->ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (0.5.0)
Requirement already satisfied: wcwidth in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from prompt-toolkit<2.1.0,>=2.0.0->ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (0.1.7)
Requirement already satisfied: ptyprocess>=0.5 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from pexpect; sys_platform != "win32"->ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.0->sidecar==0.3.0) (0.6.0)
Requirement already satisfied: python-dateutil>=2.1 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from jupyter-client->ipykernel>=4.5.1->ipywidgets>=7.5.0->sidecar==0.3.0) (2.8.0)
Requirement already satisfied: attrs>=17.4.0 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets>=7.5.0->sidecar==0.3.0) (19.1.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets>=7.5.0->sidecar==0.3.0) (0.15.3)
Requirement already satisfied: entrypoints>=0.2.2 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (0.3)
Requirement already satisfied: defusedxml in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (0.5.0)
Requirement already satisfied: bleach in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (3.1.0)
Requirement already satisfied: pandocfilters>=1.4.1 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (1.4.2)
Requirement already satisfied: testpath in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (0.4.2)
Requirement already satisfied: mistune>=0.8.1 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (0.8.4)
Requirement already satisfied: MarkupSafe>=0.23 in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from jinja2->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (1.1.1)
Requirement already satisfied: webencodings in /Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages (from bleach->nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.5.0->sidecar==0.3.0) (0.5.1)
Building wheels for collected packages: sidecar
  Building wheel for sidecar (setup.py) ... error
  ERROR: Complete output from command /Users/doutriaux1/miniconda3/envs/jup_1/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-wheel-4pufzsnn --python-tag cp37:
  ERROR: running bdist_wheel
  running jsdeps
  Installing build dependencies with npm.  This may take a while...
  > yarn install
  yarn install v1.16.0
  warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
  [1/4] Resolving packages...
  [2/4] Fetching packages...
  [3/4] Linking dependencies...
  warning "@jupyter-widgets/jupyterlab-manager > @jupyterlab/notebook > @jupyterlab/ui-components > @blueprintjs/core@3.17.1" has unmet peer dependency "react-dom@^15.3.0 || 16".
  warning "@jupyter-widgets/jupyterlab-manager > @jupyterlab/notebook > @jupyterlab/ui-components > @blueprintjs/core > react-transition-group@2.9.0" has unmet peer dependency "react-dom@>=15.0.0".
  warning " > karma-typescript@3.0.13" has incorrect peer dependency "typescript@2".
  [4/4] Building fresh packages...
  warning Error running install script for optional dependency: "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents: Command failed.
  Exit code: 1
  Command: node install
  Arguments:
  Directory: /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents
  Output:
  node-pre-gyp info it worked if it ends with ok
  node-pre-gyp info using node-pre-gyp@0.10.0
  node-pre-gyp info using node@11.14.0 | darwin | x64
  node-pre-gyp info check checked for \"/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" (not found)
  node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
  node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
  node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
  node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.4 and node@11.14.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
  node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
  gyp info it worked if it ends with ok
  gyp info using node-gyp@3.8.0
  gyp info using node@11.14.0 | darwin | x64
  gyp info ok
  gyp info it worked if it ends with ok
  gyp info using node-gyp@3.8.0
  gyp info using node@11.14.0 | darwin | x64
  gyp ERR! configure error
  gyp ERR! stack Error: Command failed: /Users/doutriaux1/miniconda3/envs/jup_1/bin/python -c import sys; print \"%s.%s.%s\" % sys.version_info[:3];
  gyp ERR! stack   File \"<string>\", line 1
  gyp ERR! stack     import sys; print \"%s.%s.%s\" % sys.version_info[:3];
  gyp ERR! stack                                ^
  gyp ERR! stack SyntaxError: invalid syntax
  gyp ERR! stack
  gyp ERR! stack     at ChildProcess.exithandler (child_process.js:299:12)
  gyp ERR! stack     at ChildProcess.emit (events.js:193:13)
  gyp ERR! stack     at maybeClose (internal/child_process.js:999:16)
  gyp ERR! stack     at Socket.stream.socket.on (internal/child_process.js:403:11)
  gyp ERR! stack     at Socket.emit (events.js:193:13)
  gyp ERR! stack     at Pipe._handle.close (net.js:614:12)
  gyp ERR! System Darwin 18.6.0
  gyp ERR! command \"/Users/doutriaux1/miniconda3/envs/jup_1/bin/node\" \"/Users/doutriaux1/miniconda3/envs/jup_1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64\" \"--napi_version=4\" \"--node_abi_napi=napi\"
  gyp ERR! cwd /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents
  gyp ERR! node -v v11.14.0
  gyp ERR! node-gyp -v v3.8.0
  gyp ERR! not ok
  node-pre-gyp ERR! build error
  node-pre-gyp ERR! stack Error: Failed to execute '/Users/doutriaux1/miniconda3/envs/jup_1/bin/node /Users/doutriaux1/miniconda3/envs/jup_1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --napi_version=4 --node_abi_napi=napi' (1)
  node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:193:13)
  node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:999:16)
  node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:266:5)
  node-pre-gyp ERR! System Darwin 18.6.0
  node-pre-gyp ERR! command \"/Users/doutriaux1/miniconda3/envs/jup_1/bin/node\" \"/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
  node-pre-gyp ERR! cwd /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents
  node-pre-gyp ERR! node -v v11.14.0
  node-pre-gyp ERR! node-pre-gyp -v v0.10.0
  node-pre-gyp ERR! not ok
  Failed to execute '/Users/doutriaux1/miniconda3/envs/jup_1/bin/node /Users/doutriaux1/miniconda3/envs/jup_1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --napi_version=4 --node_abi_napi=napi' (1)"
  info This module is OPTIONAL, you can safely ignore this error
  success Saved lockfile.
  $ npm run build:lib
  npm WARN lifecycle The node binary used for scripts is /var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/yarn--1562590956110-0.0010464318903755654/node but npm is using /Users/doutriaux1/miniconda3/envs/jup_1/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
  
  > @jupyter-widgets/jupyterlab-sidecar@0.4.0 build:lib /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit
  > tsc
  
  node_modules/@jupyter-widgets/jupyterlab-manager/lib/renderer.d.ts(8,22): error TS2420: Class 'WidgetRenderer' incorrectly implements interface 'IRenderer'.
    Types of property 'title' are incompatible.
      Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/title").Title<import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor...' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/title").Title<import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget>'.
        Types of property 'owner' are incompatible.
          Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/widget").Widget' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget'.
            Types of property 'layout' are incompatible.
              Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/layout").Layout' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/layout").Layout'.
                Types of property 'removeWidget' are incompatible.
                  Type '(widget: import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/widget").Widget) => void' is not assignable to type '(widget: import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget) => void'.
                    Types of parameters 'widget' and 'widget' are incompatible.
                      Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/widget").Widget'.
                        Types of property 'title' are incompatible.
                          Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/title").Title<import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget>' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/title").Title<import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor...'.
                            Types have separate declarations of a private property '_label'.
  node_modules/@types/backbone/index.d.ts(101,60): error TS2694: Namespace 'JQuery' has no exported member 'TriggeredEvent'.
  src/plugin.ts(34,14): error TS2322: Type 'Token<IJupyterWidgetRegistry>' is not assignable to type 'Token<any>'.
    Types have separate declarations of a private property '_tokenStructuralPropertyT'.
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! @jupyter-widgets/jupyterlab-sidecar@0.4.0 build:lib: `tsc`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the @jupyter-widgets/jupyterlab-sidecar@0.4.0 build:lib script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /Users/doutriaux1/.npm/_logs/2019-07-08T13_02_46_779Z-debug.log
  error Command failed with exit code 1.
  info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setup.py", line 109, in <module>
      setup(**setup_args)
    File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 469, in run
      [self.run_command(cmd) for cmd in cmds]
    File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 469, in <listcomp>
      [self.run_command(cmd) for cmd in cmds]
    File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 265, in run
      c.run()
    File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 364, in run
      run(npm_cmd + ['install'], cwd=node_package)
    File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 216, in run
      return subprocess.check_call(cmd, **kwargs)
    File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/subprocess.py", line 347, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/Users/doutriaux1/miniconda3/envs/jup_1/bin/yarn', 'install']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for sidecar
  Running setup.py clean for sidecar
Failed to build sidecar
Installing collected packages: widgetsnbextension, ipywidgets, sidecar
  Running setup.py install for sidecar ... error
    ERROR: Complete output from command /Users/doutriaux1/miniconda3/envs/jup_1/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-record-j6o5ftda/install-record.txt --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    running jsdeps
    > yarn run build:all
    yarn run v1.16.0
    $ npm run build:lib && npm run build:labextension
    npm WARN lifecycle The node binary used for scripts is /var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/yarn--1562590969186-0.07600993415320612/node but npm is using /Users/doutriaux1/miniconda3/envs/jup_1/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
    
    > @jupyter-widgets/jupyterlab-sidecar@0.4.0 build:lib /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit
    > tsc
    
    node_modules/@jupyter-widgets/jupyterlab-manager/lib/renderer.d.ts(8,22): error TS2420: Class 'WidgetRenderer' incorrectly implements interface 'IRenderer'.
      Types of property 'title' are incompatible.
        Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/title").Title<import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor...' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/title").Title<import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget>'.
          Types of property 'owner' are incompatible.
            Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/widget").Widget' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget'.
              Types of property 'layout' are incompatible.
                Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/layout").Layout' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/layout").Layout'.
                  Types of property 'removeWidget' are incompatible.
                    Type '(widget: import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/widget").Widget) => void' is not assignable to type '(widget: import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget) => void'.
                      Types of parameters 'widget' and 'widget' are incompatible.
                        Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/widget").Widget'.
                          Types of property 'title' are incompatible.
                            Type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/title").Title<import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@phosphor/widgets/lib/widget").Widget>' is not assignable to type 'import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor/widgets/lib/title").Title<import("/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/node_modules/@jupyter-widgets/base/node_modules/@phosphor...'.
                              Types have separate declarations of a private property '_label'.
    node_modules/@types/backbone/index.d.ts(101,60): error TS2694: Namespace 'JQuery' has no exported member 'TriggeredEvent'.
    src/plugin.ts(34,14): error TS2322: Type 'Token<IJupyterWidgetRegistry>' is not assignable to type 'Token<any>'.
      Types have separate declarations of a private property '_tokenStructuralPropertyT'.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @jupyter-widgets/jupyterlab-sidecar@0.4.0 build:lib: `tsc`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the @jupyter-widgets/jupyterlab-sidecar@0.4.0 build:lib script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/doutriaux1/.npm/_logs/2019-07-08T13_02_56_038Z-debug.log
    error Command failed with exit code 1.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setup.py", line 109, in <module>
        setup(**setup_args)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 469, in run
        [self.run_command(cmd) for cmd in cmds]
      File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 469, in <listcomp>
        [self.run_command(cmd) for cmd in cmds]
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 265, in run
        c.run()
      File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 370, in run
        run(npm_cmd + ['run', build_cmd], cwd=node_package)
      File "/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setupbase.py", line 216, in run
        return subprocess.check_call(cmd, **kwargs)
      File "/Users/doutriaux1/miniconda3/envs/jup_1/lib/python3.7/subprocess.py", line 347, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/Users/doutriaux1/miniconda3/envs/jup_1/bin/yarn', 'run', 'build:all']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command "/Users/doutriaux1/miniconda3/envs/jup_1/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-record-j6o5ftda/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/nv/3xl0t1xx4yxb6tyd0yqdm238001cpd/T/pip-req-build-z0pjlsit/
@doutriaux1
Copy link
Author

@downiec do you have better luck?

@doutriaux1
Copy link
Author

wiped out my conda all together, re-install jupyterlab>1
did:

jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install @jupyter-widgets/jupyterlab-sidecar

complained about ipywidgets, then did:

pip install .

Same error as above but now in my jupyterlab sidecar seems to work....

@bernhard-42
Copy link

I have the same issue when I try to install sidecar with jupyterlab 1.0.2
Any idea how to get sidecar 0.4.0 installed?

@yatashashank
Copy link

I am unable to install the latest sidecar version using pip. Please check the below snapshot.

Screen Shot 2019-07-24 at 3 39 38 PM

I tried installing it by cloning it but no luck. I get the below error.

Screen Shot 2019-07-24 at 3 38 29 PM

@bernhard-42
Copy link

Try 0.3.0.
There seems to be a version mismatch in this release. It is called 0.4.0, however, _version.py (https://github.com/jupyter-widgets/jupyterlab-sidecar/blob/master/sidecar/_version.py) says 0.3.0

And, 0.3.0 works with jupyterlab 1.0.2

@moki298
Copy link

moki298 commented Jul 25, 2019

I am not sure if there is a version mismatch, the newest version for lab extension is 0.4.0 and for sidecar's python package, it is 0.3.0. So pip install sidecar==0.4.0 may not work as there is no package available.

@SylvainCorlay
Copy link
Member

SylvainCorlay commented Jul 25, 2019

I am not sure if there is a version mismatch, the newest version for lab extension is 0.4.0 and for sidecar's python package, it is 0.3.0. So pip install sidecar==0.4.0 may not work as there is no package available.

  • The version of the front-end extension is 0.4.0.
  • The version of the python package at the moment is 0.3.0 (there was no need to make a release of the backend when we released the front-end extension.)

@bernhard-42
Copy link

OK, makes sense. Since the release of sidecar in github is 0.4.0, I (and maybe some others in this thread) misunderstood that this also holds for the backend.

I must admit, while I understand it, I find it confusing that the version of the python package and the npm package are decoupled for Jupyterlab extensions. If you now release a backend only change then frontend and backend would be 0.4.0 but the github release 0.5.0? And with another change in frontend we might end up with frontend 0.5.0, backend 0.4.0 and github release 0.6.0?
It is technically OK of course, but maybe it would be an idea to state the compatible frontend and backend versions for a given github release in the Readme? Like in https://github.com/jupyter-widgets/ipywidgets/tree/master/packages/jupyterlab-manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants