Skip to content

Conversation

@oliche
Copy link
Member

@oliche oliche commented Sep 16, 2022

No description provided.

@k1o0
Copy link
Contributor

k1o0 commented Sep 16, 2022

I tried running a test manually on the CI:

cd ~/Documents/github/iblscripts
conda activate ci
python -m unittest discover -p *test_audio_tasks*

======================================================================
ERROR: ci.tests.tasks.test_audio_tasks (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: ci.tests.tasks.test_audio_tasks
Traceback (most recent call last):
  File "/home/experiment/anaconda3/envs/ci/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/home/experiment/anaconda3/envs/ci/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/experiment/Documents/github/iblscripts/ci/tests/tasks/test_audio_tasks.py", line 6, in <module>
    from ibllib.pipes.audio_tasks import AudioCompress, AudioSync
ModuleNotFoundError: No module named 'ibllib.pipes.audio_tasks'


----------------------------------------------------------------------
Ran 1 test in 0.000s

I checked if ibllib was installed properly:

ipython
import ibllib
print(ibllib.__version__)  # '2.14.1'
print(ibllib.__file__)  # '/home/experiment/anaconda3/envs/ci/lib/python3.8/site-packages/ibllib/__init__.py'
exit()

ls /home/experiment/anaconda3/envs/ci/lib/python3.8/site-packages/ibllib/pipes/

ephys_alignment.py      __init__.py      purge_rig_data.py  scan_fix_passive_files.py  training_status.py
ephys_preprocessing.py  local_server.py  __pycache__        tasks.py                   transfer_rig_data.py
histology.py            misc.py          remote_server.py   training_preprocessing.py

The tests are running on the develop branch of iblscripts.

@oliche oliche closed this Sep 16, 2022
@oliche oliche reopened this Sep 16, 2022
@oliche
Copy link
Member Author

oliche commented Sep 16, 2022

Thanks Miles.

The current version of the CI matches the develop branch of ibllib and I did attempt creating a hotfix/2.14.1 branch on iblscripts to see if the CI runs.

In the worst case we'll release from ibllib/develop on Monday !

@oliche
Copy link
Member Author

oliche commented Sep 20, 2022

In release 2.15

@oliche oliche closed this Sep 20, 2022
@oliche oliche deleted the hotfix/2.14.1 branch September 20, 2022 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants