From 263d42e68005c4536ee993b6cb3d87954c32d0a7 Mon Sep 17 00:00:00 2001 From: Kaliko Jack Date: Sat, 5 Dec 2020 09:44:44 +0100 Subject: [PATCH] ci: Install a single package only with pip. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Latest pip version raises a conflict running `pip install dist/*` : $ pip install dist/* Processing ./dist/python-musicpd-0.4.5.tar.bz2 Processing ./dist/python-musicpd-0.4.5.tar.gz ERROR: Cannot install python-musicpd 0.4.5 (from /builds/kaliko/python-musicpd/dist/python-musicpd-0.4.5.tar.bz2) and python-musicpd 0.4.5 (from /builds/kaliko/python-musicpd/dist/python-musicpd-0.4.5.tar.gz) because these package versions have conflicting dependencies. The conflict is caused by: The user requested python-musicpd 0.4.5 (from /builds/kaliko/python-musicpd/dist/python-musicpd-0.4.5.tar.bz2) The user requested python-musicpd 0.4.5 (from /builds/kaliko/python-musicpd/dist/python-musicpd-0.4.5.tar.gz) 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: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ed0998..3825089 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ build: script: # packaging test - python setup.py bdist_wheel sdist - - pip install dist/* + - pip install dist/*.whl artifacts: expire_in: 1 week paths: -- 2.39.5