deepcharles / ruptures

ruptures: change point detection in Python
BSD 2-Clause "Simplified" License
1.54k stars 160 forks source link

build: add support of cp10 and cp11 wheels when possible #298

Closed oboulant closed 1 year ago

oboulant commented 1 year ago

This PR adds support for building wheels for cp310 and cp311 when it is possible.

Support was also added for aarch64.

pre-commit-ci-update-config has already been merged into ci-py311-wheel branch !

closes https://github.com/deepcharles/ruptures/issues/296

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (e0f009f) 98.77% compared to head (301623d) 98.77%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #298 +/- ## ======================================= Coverage 98.77% 98.77% ======================================= Files 40 40 Lines 978 978 ======================================= Hits 966 966 Misses 12 12 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `98.77% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Charles+T.#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/deepcharles/ruptures/pull/298?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Charles+T.) | Coverage Δ | | |---|---|---| | [src/ruptures/detection/binseg.py](https://app.codecov.io/gh/deepcharles/ruptures/pull/298?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Charles+T.#diff-c3JjL3J1cHR1cmVzL2RldGVjdGlvbi9iaW5zZWcucHk=) | `100.00% <ø> (ø)` | | | [src/ruptures/detection/kernelcpd.py](https://app.codecov.io/gh/deepcharles/ruptures/pull/298?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Charles+T.#diff-c3JjL3J1cHR1cmVzL2RldGVjdGlvbi9rZXJuZWxjcGQucHk=) | `100.00% <ø> (ø)` | | | [src/ruptures/detection/pelt.py](https://app.codecov.io/gh/deepcharles/ruptures/pull/298?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Charles+T.#diff-c3JjL3J1cHR1cmVzL2RldGVjdGlvbi9wZWx0LnB5) | `100.00% <ø> (ø)` | | | [src/ruptures/detection/window.py](https://app.codecov.io/gh/deepcharles/ruptures/pull/298?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Charles+T.#diff-c3JjL3J1cHR1cmVzL2RldGVjdGlvbi93aW5kb3cucHk=) | `100.00% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

oboulant commented 1 year ago

Have to add support for python v3.11 in the tests

oboulant commented 1 year ago

Have to add support for python v3.11 in the tests

Added here : https://github.com/deepcharles/ruptures/pull/299

https://github.com/deepcharles/ruptures/pull/299 should be merged before this current PR.

pbregener commented 1 year ago

Hi @deepcharles! Any chance you can review this fairly trivial PR (and related #299) soon? And maybe even consider releasing a new version so that one can get wheels for py310+311 directly from pypi? Thanks :)

PS: Thanks @oboulant for putting this together so nicely and quickly!

deepcharles commented 1 year ago

Sorry, I totally forgot. No problem for the new version.