Closed hmacdope closed 9 months ago
@mikemhenry @kaminow I think the failure to solve for 3.9 and 3.11 is due to BLAS restrictions in our conda recipie for DGL
, pushing a hopeful fix now https://github.com/conda-forge/dgl-feedstock/pull/20
@mikemhenry would you mind having a look here at the conflict graph, as far as I can tell there are 3.9 has a bunch of issues and 3.11 is blocked by some pytorch-cluster issues.
If we can't get to the bottom of this, then we may have to use the dglteam
channel in the short term. @kaminow
Interestingly enough, I can create an environment fine with mamba
(not micromamba
) if I use the following env file (removed the dglteam
channel and added python=3.9
).
name: test
channels:
- conda-forge
dependencies:
- python=3.9
- pytorch
- pytorch_geometric
- pytorch_cluster
- pytorch_scatter
- pytorch_sparse
- numpy
- h5py
- e3nn
- dgllife
- dgl
- rdkit
# testing dependencies
- pytest
- pytest-cov
- codecov
and running mamba env create -f devtools/conda-envs/test_env.yaml -n mtenn-test
If we can't get to the bottom of this, then we may have to use the dglteam channel in the short term. @kaminow
Looking into this, but IMHO, way better to just drop python 3.9 support (or not test it on CI since it sounds like it is only a problem on CI, since @ijpulidos can make an env and so can I, micromamba create -n mtenn-py39 --dry-run --file devtools/conda-envs/test_env.yaml python=3.9
works for me on on Linux)
CONDA_OVERRIDE_CUDA="" micromamba create -n mtenn-py39 --dry-run --file devtools/conda-envs/test_env.yaml python=3.9
works for me as well, thought I should check that to make sure it wasn't a GPU thing
So my vote is to not worry about this unless we need python 3.9 in a production environment and drop python 3.9 in our testing matrix.
I think the main worry with ignoring the issues with 3.9 is that it may mess with the asapdiscovery
CI for 3.9, so we'd have to drop it there as well
It looks like we have mtenn
in our CI already there and it is working https://github.com/choderalab/asapdiscovery/blob/main/devtools/conda-envs/asapdiscovery-ubuntu-latest.yml#L90 so we wouldn't have to drop 3.9 from our CI matrix for asapdiscovery
Fixes #28