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

modernized CI workflow #254

Merged
merged 4 commits into from
Sep 15, 2023
Merged

modernized CI workflow #254

merged 4 commits into from
Sep 15, 2023

Conversation

orbeckst
Copy link
Member

@orbeckst orbeckst force-pushed the newer-mamba branch 2 times, most recently from 634580c to dc5c816 Compare September 15, 2023 14:54
- use micromamba instead of mamba
- use separate ci/conda-envs/test_env.yaml for conda env
- use CODECOV_TOKEN for codecov
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #254 (bb640ec) into main (05c3625) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #254   +/-   ##
=======================================
  Coverage   66.49%   66.49%           
=======================================
  Files          23       23           
  Lines        4325     4325           
  Branches      739      739           
=======================================
  Hits         2876     2876           
  Misses       1256     1256           
  Partials      193      193           
Files Changed Coverage Δ
setup.py 34.97% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

- install matplotlib instead of matplotlib-base for Python 2.7 (also works in 3)
- used same version pins in setup.py and test_env.yaml
- removed numpy from testing dep in setup.py as it is a package dep
@orbeckst
Copy link
Member Author

orbeckst commented Sep 15, 2023

Remaining issue is that for Python 3.9, the installation of GROMACS (from bioconda) changes python==3.9 to pypy==3.9, somewhat reminiscent of mamba-org/mamba#658.

Things to try

  • strict channel priority
  • explicit cpython versions "python=3.9.*=*_cpython"

- work around some weird installation issues that are probably due to
  the fact that we need to pull GROMACS from bioconda in some instances
- (1) For macOS Python 2.7, numkit gets uninstalled: need to keep it
  explicitly.
- (2) For Python 3.9, mamba wants to replace cpython with pypy and that
  leads to all kinds of problems (similar to what was reported in
  mamba-org/mamba#658 ). We explicitly request
  the cpython version of Python 3.9 when installing GROMACS.
@orbeckst orbeckst merged commit 3653164 into main Sep 15, 2023
17 checks passed
@orbeckst orbeckst deleted the newer-mamba branch September 15, 2023 22:30
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.

mamba installation fails on macOS GH runner
1 participant