-
Notifications
You must be signed in to change notification settings - Fork 9
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
Speasy import started failing in PyHC environment #197
Comments
@sapols thank you for the feedback, I was able to reproduce it with PyHC env. |
Instead of closing it and waiting, maybe we could pin the version now in pyproject.toml?
Related to SciQLop/Speasy.jl@3e11164 |
Unless I missed something, you can't constrain core packages in |
Thanks for the clarification (I do not know about that before)! Hopefully, a fix of diskcache comes through soon. It seems that providing Conda packages for Speasy, including dependencies like PyCdf++, could be a good long-term solution. |
@jeandet Thanks for pointing me to that conda package bug, and sorry for the slow reply! I see you already closed the issue but I'm not sure I understand a solution yet. I tried downgrading the PyHC env's |
@sapols , how did you downgrade sqlite? I tried on binder but |
Oh sorry I didn't specify, @jeandet. You're right you can't downgrade the version in Binder due to security restrictions. I was testing in a local environment. I meant to ask if you're able to import |
I had to test an environment this morning for this issue, creating an environment with |
Thanks, good to know. I'll play around with package versions and see if I can find a combination that fixes the import for now. |
Good news: I can now confirm that pinning these versions in environment.yml fixed the speasy import in the PyHC env:
And also, your comment about |
I've had an import test in the PyHC environment for a while that simply imports all the packages in one big block. The Speasy import started failing sometime between February 15-19. The error seems to be deep in the weeds; some SQL statement from the
diskcache
package. If you all have seen this error before or have any idea what causes it, I'd appreciate any info you can give.I'll paste the output below, but note you can reproduce it yourself with these steps:
import-test.ipynb
import pydarn
(because it'll fail before reaching speasy; they're fixing this problem in the next release)import-test.ipynb
This was the error output:
The text was updated successfully, but these errors were encountered: