brain-score / core

MIT License
2 stars 5 forks source link

Added pip upgrade to test_plugin.sh #86

Closed shehadak closed 4 months ago

shehadak commented 4 months ago

The current test_plugin.sh script creates a custom conda environment for each testing plugin and uses conda install pip to install pip in that environment. However, conda install pip is not guaranteed to install the most recent version of pip and setuptools, which occasionally leads to the following issue when installing egg-fragmented packages:

Installing collected packages: UNKNOWN
  Attempting uninstall: UNKNOWN
    Found existing installation: UNKNOWN 0.0.0
    Uninstalling UNKNOWN-0.0.0:
      Successfully uninstalled UNKNOWN-0.0.0

This PR resolves this by making sure to update pip and setuptools prior to installing the brain-score package following this Stack Overflow question.