Skip to content

Commit 53f51a7

Browse files
Merge branch 'develop' into issue-1182-tag-citations
2 parents fc1bfad + cd2d1c8 commit 53f51a7

File tree

8 files changed

+26
-10
lines changed

8 files changed

+26
-10
lines changed

.github/workflows/test_on_push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
fail-fast: false
4747
matrix:
4848
os: [ubuntu-latest, macos-latest, windows-latest]
49-
python-version: [3.8, 3.9]
49+
python-version: ["3.8", "3.9", "3.10", "3.11"]
5050

5151
steps:
5252
- uses: actions/checkout@v3
@@ -89,7 +89,7 @@ jobs:
8989
if: matrix.os == 'ubuntu-latest'
9090
run: tox -e pybamm-requires
9191

92-
- name: Run unit tests for GNU/Linux with Python 3.8
92+
- name: Run unit tests for GNU/Linux with Python 3.8, 3.10, and 3.11
9393
if: matrix.os == 'ubuntu-latest' && matrix.python-version != 3.9
9494
run: python -m tox -e unit
9595

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Features
44

55
- Added verbose logging to `pybamm.print_citations()` and citation tags for the `pybamm.Citations` class so that users can now see where the citations were registered when running simulations ([#2862](https://github.com/pybamm-team/PyBaMM/pull/2862))
6+
- PyBaMM is now natively supported on Apple silicon chips (`M1/M2`) ([#2435](https://github.com/pybamm-team/PyBaMM/pull/2435))
7+
- PyBaMM is now supported on Python `3.10` and `3.11` ([#2435](https://github.com/pybamm-team/PyBaMM/pull/2435))
68
- Updated to casadi 3.6, which required some changes to the casadi integrator. ([#2859](https://github.com/pybamm-team/PyBaMM/pull/2859))
79

810
## Bug fixes

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pandas >= 0.24
55
anytree >= 2.4.3
66
autograd >= 1.2
77
scikit-fem >= 0.2.0
8-
casadi >= 3.5.0
8+
casadi >= 3.6.0
99
imageio>=2.9.0
1010
jupyter # For example notebooks
1111
pybtex

docs/source/user_guide/installation/GNU-linux.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Prerequisites
88
=============
99

10-
To use and/or contribute to PyBaMM, you must have Python 3.8 or 3.9 installed.
10+
To use and/or contribute to PyBaMM, you must have Python 3.8, 3.9, 3.10, or 3.11 installed.
1111

1212
To install Python 3 on Debian-based distribution (Debian, Ubuntu, Linux
1313
mint), open a terminal and run
@@ -46,7 +46,7 @@ User install
4646

4747
We recommend to install PyBaMM within a virtual environment, in order
4848
not to alter any distribution Python files.
49-
First, make sure you are using Python 3.8 or 3.9.
49+
First, make sure you are using Python 3.8, 3.9, 3.10, or 3.11.
5050
To create a virtual environment ``env`` within your current directory type:
5151

5252
.. code:: bash

docs/source/user_guide/installation/install-from-source.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ or download the source archive on the repository's homepage.
2525

2626
To install PyBaMM, you will need:
2727

28-
- Python 3 (PyBaMM supports versions 3.8 and 3.9)
28+
- Python 3 (PyBaMM supports versions 3.8, 3.9, 3.10, and 3.11)
2929
- The Python headers file for your current Python version.
3030
- A BLAS library (for instance `openblas <https://www.openblas.net/>`_).
3131
- A C compiler (ex: ``gcc``).

docs/source/user_guide/installation/windows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Windows
66
Prerequisites
77
-------------
88

9-
To use and/or contribute to PyBaMM, you must have Python 3.8 or 3.9 installed.
9+
To use and/or contribute to PyBaMM, you must have Python 3.8, 3.9, 3.10, or 3.11 installed.
1010

1111
To install Python 3 download the installation files from `Python’s
1212
website <https://www.python.org/downloads/windows/>`__. Make sure to

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pandas >= 0.24
44
anytree >= 2.4.3
55
autograd >= 1.2
66
scikit-fem >= 0.2.0
7-
casadi >= 3.5.0
7+
casadi >= 3.6.0
88
imageio>=2.9.0
99
pybtex>=0.24.0
1010
sympy >= 1.8

setup.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,21 @@ def compile_KLU():
186186
},
187187
package_data={"pybamm": pybamm_data},
188188
# Python version
189-
python_requires=">=3.8,<3.10",
189+
python_requires=">=3.8,<3.12",
190+
classifiers=[
191+
"Development Status :: 5 - Production/Stable",
192+
"Intended Audience :: Developers",
193+
"Intended Audience :: Science/Research",
194+
"License :: OSI Approved :: BSD License",
195+
"Programming Language :: Python",
196+
"Programming Language :: Python :: 3",
197+
"Programming Language :: Python :: 3 :: Only",
198+
"Programming Language :: Python :: 3.8",
199+
"Programming Language :: Python :: 3.9",
200+
"Programming Language :: Python :: 3.10",
201+
"Programming Language :: Python :: 3.11",
202+
"Topic :: Scientific/Engineering",
203+
],
190204
# List of dependencies
191205
install_requires=[
192206
"numpy>=1.16",
@@ -195,7 +209,7 @@ def compile_KLU():
195209
"anytree>=2.4.3",
196210
"autograd>=1.2",
197211
"scikit-fem>=0.2.0",
198-
"casadi>=3.5.0",
212+
"casadi>=3.6.0",
199213
"imageio>=2.9.0",
200214
"importlib-metadata",
201215
"pybtex>=0.24.0",

0 commit comments

Comments
 (0)