File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2121 timeout-minutes : 10
2222
2323 strategy :
24+ fail-fast : false
2425 matrix :
2526 python :
2627 - 2.7.18
5152 timeout-minutes : 10
5253
5354 strategy :
55+ fail-fast : false
5456 matrix :
5557 python :
5658 - 2.7.18
6264 - uses : actions/checkout@v3
6365 - name : Installing dependencies
6466 run : |
67+ echo 'deb http://archive.debian.org/debian stretch main' > /etc/apt/sources.list
68+ echo 'deb http://archive.debian.org/debian-security stretch/updates main' >> /etc/apt/sources.list
69+ apt-get update || true
6570 python -m pip install pytest mock
66- apt-get update
6771 apt install -y voms-clients
6872 - name : Run pytest
6973 run : pytest
7579 timeout-minutes : 10
7680
7781 strategy :
82+ fail-fast : false
7883 matrix :
7984 python :
8085 - 2.7.18
Original file line number Diff line number Diff line change @@ -357,10 +357,11 @@ def _localInstallDIRAC(self):
357357 self ._saveEnvInFile ()
358358
359359 # 7. pip install DIRAC[pilot]
360- pipInstalling = "pip install %s " % self .pp .pipInstallOptions
360+ pipInstallingPrefix = "pip install %s " % self .pp .pipInstallOptions
361361
362362 if self .pp .modules : # install a non-released (on pypi) version
363363 for modules in self .pp .modules .split ("," ):
364+ pipInstalling = pipInstallingPrefix
364365 branch = project = ""
365366 elements = modules .split (":::" )
366367 url = ""
@@ -385,9 +386,9 @@ def _localInstallDIRAC(self):
385386 else :
386387 # pip install DIRAC[pilot]==version ExtensionDIRAC[pilot]==version_ext
387388 if not self .releaseVersion or self .releaseVersion in ["master" , "main" , "integration" ]:
388- cmd = "%s %sDIRAC[pilot]" % (pipInstalling , self .pp .releaseProject )
389+ cmd = "%s %sDIRAC[pilot]" % (pipInstallingPrefix , self .pp .releaseProject )
389390 else :
390- cmd = "%s %sDIRAC[pilot]==%s" % (pipInstalling , self .pp .releaseProject , self .releaseVersion )
391+ cmd = "%s %sDIRAC[pilot]==%s" % (pipInstallingPrefix , self .pp .releaseProject , self .releaseVersion )
391392 retCode , output = self .executeAndGetOutput (cmd , self .pp .installEnv )
392393 if retCode :
393394 self .log .error ("Could not pip install %s [ERROR %d]" % (self .releaseVersion , retCode ))
You can’t perform that action at this time.
0 commit comments