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

Review dependencies for tests etc #131

Open
kotfic opened this issue Jul 21, 2017 · 0 comments
Open

Review dependencies for tests etc #131

kotfic opened this issue Jul 21, 2017 · 0 comments

Comments

@kotfic
Copy link
Contributor

kotfic commented Jul 21, 2017

ipykernel 4.6.1 seems to be causing trouble when testing - forcing us to (temporarily) peg to 4.5.2 in setup_requires.

(gnbtmp) kotfic@minastirith:~/tmp/geonotebook ⇒ tox -vv -e flake8  
  removing /home/kotfic/tmp/geonotebook/.tox/log
using tox.ini: /home/kotfic/tmp/geonotebook/tox.ini
using tox-2.4.1 from /home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/tox/__init__.pyc
GLOB start: packaging 
GLOB sdist-make: /home/kotfic/tmp/geonotebook/setup.py
  /home/kotfic/tmp/geonotebook$ /home/kotfic/.venvs/gnbtmp/bin/python2 /home/kotfic/tmp/geonotebook/setup.py sdist --formats=zip --dist-dir /home/kotfic/tmp/geonotebook/.tox/dist >/home/kotfic/tmp/geonotebook/.tox/log/tox-0.log
ERROR: invocation failed (exit code 1), logfile: /home/kotfic/tmp/geonotebook/.tox/log/tox-0.log
ERROR: actionid: tox
msg: packaging
cmdargs: ['/home/kotfic/.venvs/gnbtmp/bin/python2', local('/home/kotfic/tmp/geonotebook/setup.py'), 'sdist', '--formats=zip', '--dist-dir', local('/home/kotfic/tmp/geonotebook/.tox/dist')]
env: None

setup.py entered
$PATH=/home/kotfic/.venvs/gnbtmp/bin:/home/kotfic/.local/bin:/home/kotfic/.dot/bin:/home/kotfic/bin:/home/kotfic/.local/bin:/home/kotfic/.dot/bin:/home/kotfic/bin:/usr/lib/hardening-wrapper/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/spark/bin:/home/kotfic/.rvm/bin:/opt/spark/bin:/home/kotfic/.rvm/bin
Searching for notebook
Best match: notebook 5.0.0
Processing notebook-5.0.0-py2.7.egg

Using /home/kotfic/tmp/geonotebook/.eggs/notebook-5.0.0-py2.7.egg
Searching for ipykernel
Reading https://pypi.python.org/simple/ipykernel/
Downloading https://pypi.python.org/packages/0c/41/67e16b243b78b49f4b1650d045b63be187c27d20a76f0f7b8e61e0fcb966/ipykernel-4.6.1.tar.gz#md5=1b320ff87a1a0b049e83df2de91b7f7c
Best match: ipykernel 4.6.1
Processing ipykernel-4.6.1.tar.gz
Writing /tmp/easy_install-xRLMey/ipykernel-4.6.1/setup.cfg
Running ipykernel-4.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-xRLMey/ipykernel-4.6.1/egg-dist-tmp-uESs6U
Traceback (most recent call last):
  File "setup.py", line 314, in <module>
    "ktile = geonotebook.vis.ktile:Ktile"
  File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/dist.py", line 336, in __init__
    self.fetch_build_eggs(attrs['setup_requires'])
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/dist.py", line 419, in fetch_build_eggs
    replace_conflicting=True,
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve
    dist = best[req.key] = env.best_match(req, ws, installer)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1126, in best_match
    return self.obtain(req, installer)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1138, in obtain
    return installer(requirement)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/dist.py", line 491, in fetch_build_egg
    return cmd.easy_install(req)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 672, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 698, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 879, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1118, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1104, in run_setup
    run_setup(setup_script, args)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/sandbox.py", line 257, in run_setup
    raise
  File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/sandbox.py", line 199, in setup_context
    yield
  File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/sandbox.py", line 170, in save_modules
    saved_exc.resume()
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/sandbox.py", line 145, in resume
    six.reraise(type, exc, self._tb)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/sandbox.py", line 158, in save_modules
    yield saved
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/sandbox.py", line 199, in setup_context
    yield
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/sandbox.py", line 254, in run_setup
    _execfile(setup_script, ns)
  File "/home/kotfic/.venvs/gnbtmp/lib/python2.7/site-packages/setuptools/sandbox.py", line 49, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-xRLMey/ipykernel-4.6.1/setup.py", line 91, in <module>
    os.path.join(node_root, 'node_modules', '.bin'),
  File "/tmp/easy_install-xRLMey/ipykernel-4.6.1/ipykernel/__init__.py", line 2, in <module>
  File "/tmp/easy_install-xRLMey/ipykernel-4.6.1/ipykernel/connect.py", line 13, in <module>
ImportError: No module named IPython.core.profiledir

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

1 participant