Skip to content

Removed unused import in setup.py (broken with pip 10.0)

Federico Stagni requested to merge fstagni/fts-rest:patch-1 into develop

I didn't test it though, but right now with pip 10.0:

(rumenta)  fstagni@DeskTof  ~/pyDevs/DIRAC   v6r20-fixes20  pip install git+https://:@gitlab.cern.ch:8443/fts/fts-rest.git#egg=fts3 -U
Collecting fts3 from git+https://:@gitlab.cern.ch:8443/fts/fts-rest.git#egg=fts3
  Cloning https://:@gitlab.cern.ch:8443/fts/fts-rest.git to /tmp/pip-install-B9Yyjn/fts3
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-B9Yyjn/fts3/setup.py", line 7, in <module>
        from pip.commands.install import InstallCommand
    ImportError: No module named commands.install
    
    ----------------------------------------

While with pip 9.0.2:

(DIRAC)  fstagni@DeskTof  ~/pyDevs/DIRAC   v6r20-fixes20  pip install git+https://:@gitlab.cern.ch:8443/fts/fts-rest.git#egg=fts3 -U
Collecting fts3 from git+https://:@gitlab.cern.ch:8443/fts/fts-rest.git#egg=fts3
  Cloning https://:@gitlab.cern.ch:8443/fts/fts-rest.git to /tmp/pip-build-SqQ0M2/fts3
Requirement already up-to-date: M2Crypto>=0.16 in /home/fstagni/Env/DIRAC/lib/python2.7/site-packages (from fts3)
Requirement already up-to-date: pycurl>=7.19 in /home/fstagni/Env/DIRAC/lib/python2.7/site-packages (from fts3)
Requirement already up-to-date: requests in /home/fstagni/Env/DIRAC/lib/python2.7/site-packages (from fts3)
Requirement already up-to-date: typing in /home/fstagni/Env/DIRAC/lib/python2.7/site-packages (from M2Crypto>=0.16->fts3)
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /home/fstagni/Env/DIRAC/lib/python2.7/site-packages (from requests->fts3)
Requirement already up-to-date: idna<2.7,>=2.5 in /home/fstagni/Env/DIRAC/lib/python2.7/site-packages (from requests->fts3)
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /home/fstagni/Env/DIRAC/lib/python2.7/site-packages (from requests->fts3)
Requirement already up-to-date: certifi>=2017.4.17 in /home/fstagni/Env/DIRAC/lib/python2.7/site-packages (from requests->fts3)
Installing collected packages: fts3
  Found existing installation: fts3 3.7.1
    Uninstalling fts3-3.7.1:
      Successfully uninstalled fts3-3.7.1
  Running setup.py install for fts3 ... done
Successfully installed fts3-3.7.1

Merge request reports

Loading