Skip to content

Commit 06a75a6

Browse files
authored
support python 3.13 (#534)
* Test on python 3.13. * Specify scipy version * specify more specific scipy version * specify less specific scipy version
1 parent 58c9061 commit 06a75a6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: .github/workflows/run_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
python-version: ["3.9", "3.10", "3.11", "3.12"]
20+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2121
numpy-version: [">=1.25,<2", ">=2"]
2222

2323
steps:

Diff for: pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ packages = [{include = "bayes_opt"}]
1111
python = "^3.9"
1212
scikit-learn = "^1.0.0"
1313
numpy = ">=1.25"
14-
scipy = "^1.0.0"
14+
scipy = [
15+
{version = "^1.0.0", python = "<3.13"},
16+
{version = "^1.14.1", python = ">=3.13"}
17+
]
1518
colorama = "^0.4.6"
1619

1720

0 commit comments

Comments
 (0)