Skip to content

Commit 466b0c0

Browse files
authored
Enable Python 3.13 support, allow numpy 2.x (#568)
* Enable Python 3.13 support, allow numpy 2.x * Disable Python 3.13 test again [no ci]
1 parent c21fa4a commit 466b0c0

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Multi-Backend Tests
32

43
on:
@@ -16,15 +15,14 @@ defaults:
1615
run:
1716
shell: bash
1817

19-
2018
jobs:
2119
test:
2220
name: Run Multi-Backend Tests
2321

2422
strategy:
2523
matrix:
2624
os: [ubuntu-latest, windows-latest]
27-
python-version: ["3.10"] # we usually only need to test the oldest python version
25+
python-version: ["3.10"] # we usually only need to test the oldest python version
2826
backend: ["jax", "tensorflow", "torch"]
2927

3028
runs-on: ${{ matrix.os }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ complex to be described analytically.
5151

5252
## Install
5353

54-
We currently support Python 3.10 to 3.12. You can install the latest stable version from PyPI using:
54+
We currently support Python 3.10 to 3.13. You can install the latest stable version from PyPI using:
5555

5656
```bash
5757
pip install "bayesflow>=2.0"

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,18 @@ classifiers = [
1717
"Programming Language :: Python :: 3.10",
1818
"Programming Language :: Python :: 3.11",
1919
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
2021
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2122
]
2223
description = "Amortizing Bayesian Inference With Neural Networks"
2324
readme = { file = "README.md", content-type = "text/markdown" }
2425
license = { file = "LICENSE" }
2526

26-
requires-python = ">= 3.10, < 3.13"
27+
requires-python = ">= 3.10, < 3.14"
2728
dependencies = [
2829
"keras >= 3.9",
2930
"matplotlib",
30-
"numpy >= 1.24, <2.0",
31+
"numpy >= 1.24",
3132
"pandas",
3233
"scipy",
3334
"seaborn",

0 commit comments

Comments
 (0)