[setup] Fix requirement parsing

12 jobs for master in 11 minutes and 30 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed build_linux_27 #6388
conda-linux

00:00:28

passed build_linux_34 #6389
conda-linux

00:00:35

passed build_linux_35 #6390
conda-linux

00:00:33

passed build_macosx_27 #6391
conda-macosx

00:01:44

passed build_macosx_34 #6392
conda-macosx

00:01:58

passed build_macosx_35 #6393
conda-macosx

00:02:12

 
  Test
failed test_linux_27 #6394
conda-linux

00:00:14

failed test_linux_34 #6395
conda-linux

00:00:15

failed test_linux_35 #6396
conda-linux

00:00:14

failed test_macosx_27 #6397
conda-macosx

00:01:23

failed test_macosx_34 #6398
conda-macosx

00:01:07

failed test_macosx_35 #6399
conda-macosx

00:00:47

 
Name Stage Failure
failed
test_macosx_35 Test There is an unknown failure, please try again
Successfully installed gridtk-1.3.1b0
$ cd ${CONDA_PREFIX}
$ python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name 'get_config'
Running after script...
$ rm -rf ${CONDA_PREFIX}
ERROR: Build failed: exit status 1
failed
test_macosx_34 Test There is an unknown failure, please try again
Successfully installed gridtk-1.3.1b0
$ cd ${CONDA_PREFIX}
$ python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name 'get_config'
Running after script...
$ rm -rf ${CONDA_PREFIX}
ERROR: Build failed: exit status 1
failed
test_macosx_27 Test There is an unknown failure, please try again
Successfully installed gridtk-1.3.1b0
$ cd ${CONDA_PREFIX}
$ python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name get_config
Running after script...
$ rm -rf ${CONDA_PREFIX}
ERROR: Build failed: exit status 1
failed
test_linux_35 Test There is an unknown failure, please try again
Successfully installed gridtk-1.3.1b0
$ cd ${CONDA_PREFIX}
$ python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name 'get_config'
Running after script...
$ rm -rf ${CONDA_PREFIX}
ERROR: Build failed: exit status 1
failed
test_linux_34 Test There is an unknown failure, please try again
Successfully installed gridtk-1.3.1b0
$ cd ${CONDA_PREFIX}
$ python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name 'get_config'
Running after script...
$ rm -rf ${CONDA_PREFIX}
ERROR: Build failed: exit status 1
failed
test_linux_27 Test There is an unknown failure, please try again
Successfully installed gridtk-1.3.1b0
$ cd ${CONDA_PREFIX}
$ python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name get_config
Running after script...
$ rm -rf ${CONDA_PREFIX}
ERROR: Build failed: exit status 1