Skip to content

Commit f36e1cd

Browse files
committed
Switch to pydoe3
1 parent 5b9d75b commit f36e1cd

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ['3.8', '3.9', '3.10']
11+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
1212
# python-version: ['3.7', '3.8', '3.9', '3.10']
1313
name: Python ${{ matrix.python-version }} sample
1414
steps:

docker/Dockerfile.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9-slim
1+
FROM python:3.12-slim
22
RUN apt-get update && \
33
apt upgrade -y && \
44
apt -y install build-essential libmariadb-dev-compat libmariadb-dev git libffi-dev && \

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ pingouin
77
pytest-watch
88
pytest-testmon
99
pytest-xdist
10-
pyDOE2
10+
pyDOE3
1111
diversipy

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def getVersion():
4545
"Operating System :: OS Independent",
4646
],
4747
install_requires=[
48-
'pyDOE2',
48+
'pyDOE3',
4949
'diversipy',
5050
],
5151

src/mistat/design/doepy/doe_functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from diversipy import (halton, lhd_matrix, maximin_reconstruction,
77
random_k_means, random_uniform, sukharev_grid,
88
transform_spread_out)
9-
from pyDOE2 import lhs, pbdesign
9+
from pyDOE3 import lhs, pbdesign
1010

1111
from .pydoe_corrected import (bbdesign_corrected, ccdesign_corrected,
1212
fracfact_by_res, fullfact_corrected)

src/mistat/design/doepy/pydoe_corrected.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
from itertools import combinations, dropwhile, islice
44

55
import numpy as np
6-
from pyDOE2.doe_repeat_center import repeat_center
7-
from pyDOE2.doe_star import star
8-
from pyDOE2.doe_union import union
6+
from pyDOE3.doe_repeat_center import repeat_center
7+
from pyDOE3.doe_star import star
8+
from pyDOE3.doe_union import union
99
from scipy.special import binom
1010

1111
# __all__ = ['np', 'fullfact_corrected', 'ff2n_corrected', 'fracfact']

0 commit comments

Comments
 (0)