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

[sdk] dependency conflict with tensorflow 2.6.0 and seldon-core #6651

Closed
juliusvonkohout opened this issue Sep 30, 2021 · 2 comments · Fixed by #6683 or #6691
Closed

[sdk] dependency conflict with tensorflow 2.6.0 and seldon-core #6651

juliusvonkohout opened this issue Sep 30, 2021 · 2 comments · Fixed by #6683 or #6691

Comments

@juliusvonkohout
Copy link
Member

juliusvonkohout commented Sep 30, 2021

Environment

  • KFP version: 1.7

  • KFP SDK version: 1.8.3

  • All dependencies version:

[~]$ pip list | grep kfp
kfp                               1.8.3
kfp-pipeline-spec                 0.1.11
kfp-server-api                    1.7.0

kfp==1.8.3 collides with tensorflow==2.6 because it requires

'typing-extensions>=3.10.0.2,<4;python_version<"3.9"',

while tensorflow needs

Warning!!! Possibly conflicting dependencies found:
* tensorflow==2.6.0
 - typing-extensions [required: ~=3.7.4, installed: 3.10.0.2]

https://github.com/tensorflow/tensorflow/blob/421fba8888bb8f8724bc2e35ca2fdcde16e1bfe5/tensorflow/tools/pip_package/setup.py#L90

is 'typing-extensions>=3.7.4,<4;python_version<"3.9"' not enough?

The same goes for seldon-core==1.11.* and package click and absl-py

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
kfp 1.8.2 requires absl-py<=0.11,>=0.9, but you have absl-py 0.13.0 which is incompatible.
kfp 1.8.2 requires click<8,>=7.1.1, but you have click 8.0.1 which is incompatible.
kfp 1.8.2 requires typing-extensions<4,>=3.10.0.2, but you have typing-extensions 3.7.4.3 which is incompatible.
@juliusvonkohout juliusvonkohout changed the title [sdk] dependency conflict with tensorflow 2.6.0 [sdk] dependency conflict with tensorflow 2.6.0 and seldon-core Oct 4, 2021
google-oss-robot pushed a commit that referenced this issue Oct 6, 2021
 (#6683)

* relax typing-extension version

* add release note
@juliusvonkohout
Copy link
Member Author

@chensun click<9,>=7.1.1 works for me with kfp and seldon-core

@juliusvonkohout
Copy link
Member Author

juliusvonkohout commented Oct 6, 2021

Please reopen, i can still see

and

click>=7.1.1,<8

google-oss-robot pushed a commit that referenced this issue Oct 8, 2021
* Update setup.py

* Update requirements.txt

* Update setup.py

* Update requirements.in

* Update RELEASE.md

* Update RELEASE.md

* Update RELEASE.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant