-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Drop support for Python 3.7 and add support for Python 3.10 #5917
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ricardoV94 can you check the check_all_tests_are_covered.py
script? It should have failed the pre-commit
because several tests are running under two Python versions. Maybe it needs to be updated.
Temporarily running all tests in 3.10, will remove last commit before merging.
I'm positng this as "request changes" as a safeguard against premature merges.
I think the script does not check for the new python-version matrix option. But any entry with more than on python-version must by definition result in duplicated tests |
Weird, windows aesara floatX=float64 3.10 failed to install, but aesara floatX=float32 3.10 installed just fine. Flaky conda? |
Codecov Report
@@ Coverage Diff @@
## main #5917 +/- ##
==========================================
+ Coverage 89.50% 89.55% +0.05%
==========================================
Files 73 73
Lines 13267 13276 +9
==========================================
+ Hits 11874 11889 +15
+ Misses 1393 1387 -6
|
Why is there a |
Okay there was a typo in the last Windows test, so I expect that to also fail now with |
So it looks like we have a Windows 10 incompatibility. Can someone try to replicate the issue by creating a test environment with mamba as we do in the CI? |
Nevermind, I ran the wrong env YAML. |
I reproduced the error locally, albeit with inserting
|
It's the ✔ ❌
Unpinning doesn't help either. ❌
|
That looks like something else. Why is it requiring python 2.7? |
Seems to have worked! |
This really outdated
|
Tests were redistributed between Python versions such that all of 3.8, 3.9, 3.10 are covered. The exact `mkl-service` version was unpinned and `mkl` was removed because the combination of pinned versions didn't support Python 3.10. The `mkl` package is already a dependency of `mkl-service` and because `mkl-service` specifies tight version limits for `mkl`, we shouldn't pin it ourselves. Closes pymc-devs#5209
Temporarily running all tests in 3.10, will remove last commit before merging.
Closes #5209