Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version:
["3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"]

steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.14
3.14t
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ docutils==0.22.4 ; python_full_version >= '3.11'
# sphinx
exceptiongroup==1.3.1 ; python_full_version < '3.11'
# via pytest
free-threading==1.1.0
# via pyriodicity
idna==3.11
# via requests
imagesize==1.4.1
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ classifiers = [
dependencies = [
"scipy~=1.15",
"pywavelets~=1.8",
"free-threading~=1.1.0",
]

[project.urls]
Expand Down
4 changes: 2 additions & 2 deletions src/pyriodicity/static/robustperiod.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import datetime
from concurrent.futures import ProcessPoolExecutor
from enum import Enum, unique
from functools import partial
from multiprocessing import cpu_count
from typing import Literal

import numpy as np
import pywt
from freethreading import WorkerPoolExecutor
from numpy.typing import ArrayLike, NDArray
from scipy.optimize import minimize
from scipy.signal import find_peaks
Expand Down Expand Up @@ -71,7 +71,7 @@ def compute(
The Huber M-Periodogram of the input data.
"""

with ProcessPoolExecutor(max_worker_count) as executor:
with WorkerPoolExecutor(max_worker_count) as executor:
periodogram = list(
executor.map(
partial(cls._compute_element, x, delta=delta), range(len(x))
Expand Down
11 changes: 11 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.