You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the latest version builds and works fine with Python 3.12 as well! Just built it in a clean Python 3.12 container and all tests pass:
pytest output
============================================= test session starts =============================================
platform linux -- Python 3.12.0, pytest-7.4.3, pluggy-1.3.0 -- /usr/local/bin/python
cachedir: .pytest_cache
rootdir: /root/ruptures
configfile: pyproject.toml
testpaths: tests
collected 585 items
tests/test_bnode.py::test_bnode PASSED [ 0%]
[ ... ALL TESTS ARE PASSING ... ]
tests/test_metrics.py::test_exception[randindex] PASSED [100%]
============================================== warnings summary ===============================================tests/test_costs.py: 5 warnings
tests/test_detection.py: 21 warnings
/root/ruptures/src/ruptures/costs/costnormal.py:27: UserWarning: New behaviour in v1.1.5: a small bias is added to the covariance matrix to cope with truly constant segments (see PR#198).
warnings.warn(
tests/test_display.py::test_display_with_options
/usr/local/lib/python3.12/site-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
EPOCH = datetime.datetime.utcfromtimestamp(0)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================================== 585 passed, 27 warnings in 3.74s =======================================
There are some of the "usual" Python 3.12-related timezone-awareness deprecation warnings that you can see pop up in all kinds of Python packages these days, but nothing critical.
Are there any plans for providing Python 3.12 wheels?
Kindly pinging @oboulant as you were extremely helpful with Python 3.11 wheels not too long ago :)
The text was updated successfully, but these errors were encountered:
It seems like the latest version builds and works fine with Python 3.12 as well! Just built it in a clean Python 3.12 container and all tests pass:
pytest output
There are some of the "usual" Python 3.12-related timezone-awareness deprecation warnings that you can see pop up in all kinds of Python packages these days, but nothing critical.
Are there any plans for providing Python 3.12 wheels?
Kindly pinging @oboulant as you were extremely helpful with Python 3.11 wheels not too long ago :)
The text was updated successfully, but these errors were encountered: