]> kaliko git repositories - python-musicpd.git/commitdiff
ci: Install a single package only with pip.
authorKaliko Jack <kaliko@azylum.org>
Sat, 5 Dec 2020 08:44:44 +0000 (09:44 +0100)
committerKaliko Jack <kaliko@azylum.org>
Sat, 5 Dec 2020 08:44:44 +0000 (09:44 +0100)
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

index 8ed09988737e678772cdcdaa3152cdf43fa0d0aa..38250898d60473ac1fca448d1654796020cdcc95 100644 (file)
@@ -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: