-
Notifications
You must be signed in to change notification settings - Fork 1
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
Environment fails to build #6
Comments
@IFenton can you confirm which OS? Can you share the error report? |
I'm running it on macOS Ventura 13.1 (22C65). The full error report is
|
@IFenton I got the same errors in my MacOS Monterey 12.6.1 laptop. Note the coastal vegetation model only runs in python 3.7. The following pinned version of the conda dependencies works for me.
However, above notebook dependencies only work with scivision 0.3.0. Since version 0.4.0, we've pinned scivision dependencies (see requirements.txt). This means there are conflicts with some notebook dependencies. My suggestion is to verify scivision requirements and ensure they work with python 3.7. Not sure which has been the criteria to pin them. In addition, I note the current CI workflow to check if scivision builds across python versions doesn't include 3.7. Maybe @ots22 @edwardchalstrey1 have some thoughts. |
Hi Alejandro, do you know which of these is the one that doesn't work with Python 3.8+ ? I'm guessing either intake or intake-xarray? And why doesn't it work? Could you modify your data loader slightly to work with the newer version if that was the case? |
The problem isn't the data loader, it's the model plugin instead which only works with python 3.7. intake and intake-xarray only are supported up to version 0.6.0 in python 3.7. My suggestion is to change the current requirements.txt in scivision as the setup.py indicates support of python 3.7, however the dependencies listed and their versions are for 3.8+. |
Can we relax the scivision requirements, so it can run with 3.7? |
I guess it might take some clever fiddling with the requirements file such that is will choose the correct versions of packages when being installed into python 3.7? |
When running
conda env create -f environment.yml
, the environment fails to build due to conflictsThe text was updated successfully, but these errors were encountered: