From 7cca9badebd3350266c5386c3bb804c2beeaa95c Mon Sep 17 00:00:00 2001 From: iamfearless <61837514+iamfearless@users.noreply.github.com> Date: Sun, 24 Jan 2021 23:59:03 +0800 Subject: [PATCH] Fixing conflicting dependencies The conflict is caused by: The user requested kubernetes==9.0.1 jupyterhub-kubespawner 0.10.2.dev0 depends on kubernetes>=7.0 openshift 0.10.0 depends on kubernetes~=10.0 To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict ERROR: Cannot install -r /tmp/src/requirements.txt (line 10), -r /tmp/src/requirements.txt (line 4) and kubernetes==9.0.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies subprocess exited with status 1 subprocess exited with status 1 error: build error: error building at STEP "RUN /tmp/scripts/assemble": exit status 1 --- requirements.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/requirements.txt b/requirements.txt index 3b28219..a0d2604 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ -kubernetes==9.0.1 -jupyterhub==1.0.0 -#jupyterhub-kubespawner==0.10.1 +kubernetes~=9.0.1 +jupyterhub~=1.0.0 +#jupyterhub-kubespawner~=0.10.1 git+https://github.com/jupyterhub/kubespawner.git@a945ef01410867b39e0c174d362a8702bbaa15e9#egg=jupyterhub-kubespawner git+https://github.com/jupyterhub/wrapspawner.git@5f2b7075f77d0c1c49066682a8e8adad0dab76db -jupyterhub-tmpauthenticator==0.6 -oauthenticator==0.9.0 -jupyterhub-ldapauthenticator==1.2.2 -psycopg2==2.8.4 -openshift==0.10.0 -wrapt==1.11.2 +jupyterhub-tmpauthenticator~=0.6 +oauthenticator~=0.9.0 +jupyterhub-ldapauthenticator~=1.2.2 +psycopg2~=2.8.4 +openshift~=0.10.0 +wrapt~=1.11.2