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

Broken dependencies in kedro v0.17.7 #1356

Closed
rmorgans opened this issue Mar 22, 2022 · 2 comments
Closed

Broken dependencies in kedro v0.17.7 #1356

rmorgans opened this issue Mar 22, 2022 · 2 comments

Comments

@rmorgans
Copy link

Description

A fresh install of kedro v0.17.7 fails to run kedro build-reqs

Context

I was trying to build requirements from a fresh kedro init

Steps to Reproduce

  1. Run in a virtual env (direnv with layout python)
  2. pip install kedro
  3. Run kedro new
  4. move into the new kedro directory
  5. run 'kedro build-reqs`

Expected Result

piptools compile completes

Actual Result

jupyter-client>=7.0.0 and jupyter_client<7.0 can't be resolved simultaneously

/root/saw-ad-ml-kedro/.direnv/python-3.6.13/lib/python3.6/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
No requirements.in found. Copying contents from requirements.txt...
/root/saw-ad-ml-kedro/.direnv/python-3.6.13/bin/python -m piptools compile -q /root/saw-ad-ml-kedro/src/requirements.in
Could not find a version that matches jupyter_client<7.0,>=4.1,>=5.1,>=5.3.4,>=6.1.1,>=7.0.0 (from -r /root/saw-ad-ml-kedro/src/requirements.in (line 8))
Tried: 4.0.0, 4.0.0, 4.0.0, 4.1.0, 4.1.0, 4.1.1, 4.1.1, 4.1.1, 4.2.0, 4.2.0, 4.2.0, 4.2.1, 4.2.1, 4.2.1, 4.2.2, 4.2.2, 4.2.2, 4.3.0, 4.3.0, 4.3.0, 4.4.0, 4.4.0, 5.0.0, 5.0.0, 5.0.1, 5.0.1, 5.1.0, 5.1.0, 5.2.0, 5.2.0, 5.2.1, 5.2.1, 5.2.2, 5.2.2, 5.2.3, 5.2.3, 5.2.4, 5.2.4, 5.3.0, 5.3.0, 5.3.1, 5.3.1, 5.3.2, 5.3.2, 5.3.3, 5.3.3, 5.3.4, 5.3.4, 5.3.5, 5.3.5, 6.0.0, 6.0.0, 6.1.0, 6.1.0, 6.1.1, 6.1.1, 6.1.2, 6.1.2, 6.1.3, 6.1.3, 6.1.5, 6.1.5, 6.1.6, 6.1.6, 6.1.7, 6.1.7, 6.1.8, 6.1.8, 6.1.9, 6.1.9, 6.1.10, 6.1.10, 6.1.11, 6.1.11, 6.1.12, 6.1.12, 6.1.13, 6.1.13, 6.2.0, 6.2.0, 7.0.0, 7.0.0, 7.0.1, 7.0.1, 7.0.2, 7.0.2, 7.0.3, 7.0.3, 7.0.4, 7.0.4, 7.0.5, 7.0.5, 7.0.6, 7.0.6, 7.1.0, 7.1.0, 7.1.1, 7.1.1, 7.1.2, 7.1.2
Skipped pre-versions: 7.0.0a0, 7.0.0a0, 7.0.0a1, 7.0.0a1, 7.0.0rc0, 7.0.0rc0, 7.0.0rc1, 7.0.0rc1
There are incompatible versions in the resolved dependencies:
  jupyter_client<7.0,>=5.1 (from -r /root/saw-ad-ml-kedro/src/requirements.in (line 8))
  jupyter-client<7.0,>=5.1 (from kedro==0.17.7->-r /root/saw-ad-ml-kedro/src/requirements.in (line 10))
  jupyter-client>=7.0.0 (from jupyter-console==6.4.3->jupyter==1.0.0->-r /root/saw-ad-ml-kedro/src/requirements.in (line 7))
  jupyter-client>=4.1 (from qtconsole==5.2.2->jupyter==1.0.0->-r /root/saw-ad-ml-kedro/src/requirements.in (line 7))
  jupyter-client>=6.1.1 (from jupyter-server==1.13.1->jupyterlab==3.2.9->-r /root/saw-ad-ml-kedro/src/requirements.in (line 9))
  jupyter-client>=5.3.4 (from notebook==6.4.10->jupyter==1.0.0->-r /root/saw-ad-ml-kedro/src/requirements.in (line 7))
  jupyter-client (from ipykernel==5.5.6->jupyter==1.0.0->-r /root/saw-ad-ml-kedro/src/requirements.in (line 7))

Your Environment

Include as many relevant details about the environment in which you experienced the bug:

  • Kedro version used (pip show kedro or kedro -V): kedro, version 0.17.7
  • Python version used (python -V): Python 3.6.13
  • Operating system and version: debian/buster (in a container)
@merelcht
Copy link
Member

Hi @rmorgans the fix for this has already been merged #1322 . For the time being you can add jupyter-console<6.4.3 # 6.4.3 requires jupyter_client>=7.0 in your src/requirements.txt, until the next release.

@rmorgans
Copy link
Author

Thanks - works - I did search for the issue, but from the title of #1322 it's not obvious (to me) how it relates. Much appreciated.

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

2 participants