Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch CI to use micromamba #1703

Merged
merged 6 commits into from
Aug 22, 2023
Merged

Conversation

mcflugen
Copy link
Member

@mcflugen mcflugen commented Aug 22, 2023

Description

This pull request switches our CI for testing from miniconda to micromamba. It's probably something we should have already been doing but recent build errors seem to be fixed by the switch.

The errors we were seeing were things like,

Traceback (most recent call last):
  File "C:\Miniconda\envs\test\Scripts\mamba-script.py", line 6, in <module>
    from mamba.mamba import main
  File "C:\Miniconda\envs\test\Lib\site-packages\mamba\mamba.py", line 49, in <module>
    import libmambapy as api
  File "C:\Miniconda\envs\test\Lib\site-packages\libmambapy\__init__.py", line 7, in <module>
    raise e
  File "C:\Miniconda\envs\test\Lib\site-packages\libmambapy\__init__.py", line 4, in <module>
    from libmambapy.bindings import *  # noqa: F401,F403
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing bindings: The specified module could not be found.

Checklist - did you ...

  • Add a news fragment file entry if necessary?
  • Add / update tests if necessary?
  • Add new / update outdated documentation?
  • All tests have passed?
  • Formatted code with black?
  • Removed lint reported by flake8?
  • Sucessful documentation built? (if documentation added or modified)

@mcflugen mcflugen merged commit a5b2f68 into master Aug 22, 2023
@mcflugen mcflugen deleted the mcflugen/switch-ci-to-micromamba branch August 22, 2023 20:05
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.

1 participant