-
Notifications
You must be signed in to change notification settings - Fork 120
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
Support Python 3.13 #1199
Support Python 3.13 #1199
Conversation
cpython missing in conda? |
It's been on conda-forge since early October. |
numba isn't yet available on conda-forge: conda-forge/numba-feedstock#152 |
The oldest version of numpy available for Python 3.13 is v2.1.0. Thus #1194 is a prerequisite. |
Numba is now available. Still blocked by #1194 though. |
@maresb wanna retry? |
AssertionError: Blas flags are empty |
Did anything change on the conda side with python 3.13 / BLAS @maresb ? |
Also seeing this:
|
Yes, good catch!!! https://conda-forge.org/news/2024/08/14/sunsetting-pypy/ |
Looks like we're close! FAILED pytensor/gradient.py::pytensor.gradient.hessian_vector_product - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/sparse/basic.py::pytensor.sparse.basic.block_diag - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/basic.py::pytensor.tensor.basic.tile - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/einsum.py::pytensor.tensor.einsum._delta - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/einsum.py::pytensor.tensor.einsum._general_dot - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/einsum.py::pytensor.tensor.einsum._iota - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/extra_ops.py::pytensor.tensor.extra_ops.repeat - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/pad.py::pytensor.tensor.pad.pad - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/slinalg.py::pytensor.tensor.slinalg.cholesky - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/subtensor.py::pytensor.tensor.subtensor.flip - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips'
FAILED pytensor/tensor/subtensor.py::pytensor.tensor.subtensor.slice_at_axis - TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips' |
Seems to be this: twmr/pytest-sphinx#67 Unfortunately it's been open for 2 months. 😞 |
doctest syntax change? |
Python change that breaks pytest-sphinx. See linked issue |
How many of the docstrings use sphinx? |
let's skip it on the 3.13 CI and open an issue to decide whether to wait or drop pytest-sphinx |
We want to test numpy 1.26.x on `test_math.py` but test_math.py was being excluded in python 3.10, and numpy 1.26.x was being excluded in the non python3.10 job.
pytest-sphinx is not compatible with Python 3.13: twmr/pytest-sphinx#67
@maresb I changed the doctests to run only on python 3.12, hopefully this sorts it out. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1199 +/- ##
=======================================
Coverage 81.99% 81.99%
=======================================
Files 188 188
Lines 48566 48566
Branches 8677 8677
=======================================
Hits 39823 39823
Misses 6580 6580
Partials 2163 2163 |
This is exciting, let's do it!!! |
Description
Related Issue
Checklist
Type of change
📚 Documentation preview 📚: https://pytensor--1199.org.readthedocs.build/en/1199/