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

Using locked version error #78

Open
znichollscr opened this issue Oct 28, 2024 · 2 comments
Open

Using locked version error #78

znichollscr opened this issue Oct 28, 2024 · 2 comments
Labels
bug Reports a bug or other unexpected behaviour

Comments

@znichollscr
Copy link
Contributor

znichollscr commented Oct 28, 2024

Describe the bug

@jfkok installed the locked version, then it wouldn't run.

Failing Test

Any test would fail.

Expected behavior

The code imports

Screenshots

image

System

  • OS: Windows
  • Python version [e.g. Python 3.11]

Additional context

PCMDI/input4MIPs_CVs#140 (comment)

@znichollscr znichollscr added the bug Reports a bug or other unexpected behaviour label Oct 28, 2024
@znichollscr
Copy link
Contributor Author

znichollscr commented Oct 28, 2024

@jfkok can you please tell me:

  • what python version you're using
  • what input4mips-validation version you're using
  • what iris version you're using (if you do import iris; print(iris.__version__), that should show you)
  • the install command you ran (I'm guessing you're running a conda/mamba environment)

@znichollscr
Copy link
Contributor Author

@jfkok I think I had not pinned the dependencies correctly. I believe this is now fixed (x-ref conda-forge/input4mips-validation-feedstock#18). In terms of solutions, two options I can think of:

  1. create a fresh environment and run the steps you did again. (This should now pick up the right pins as I have done a new build of input4mips-validation)
  2. in the environment you already have, try just doing conda install iris==3.8.1, that by itself might be enough to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reports a bug or other unexpected behaviour
Projects
None yet
Development

No branches or pull requests

1 participant