Skip to content

Commit

Permalink
Note numpy v2 limitation and increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdh7 committed Jun 26, 2024
1 parent f746314 commit 727fc3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PyCO2SYS/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (C) 2020--2023 Matthew P. Humphreys et al. (GNU GPLv3)
"""Define metadata about PyCO2SYS."""

version = "1.8.3.1"
version = "1.8.3.2"
version_xyz = "1.8.3"
authorlist = [
"Humphreys, Matthew P.",
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ As per the instructions in the [the CO2SYS-MATLAB repo](https://github.com/james

## Installation

**The current version of PyCO2SYS is not compatible with Numpy v2. The problem lies with Autograd, rather than PyCO2SYS itself. We are currently working on an updated version of PyCO2SYS which will avoid this problem and work with Numpy v2.**

If you manage Python with conda, we recommend that you first install NumPy, pandas and xarray into the environment where PyCO2SYS is to be installed with conda.

### With pip
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ PyCO2SYS is a Python toolbox for solving the marine carbonate system and calcula

## Installation

!!! warning "Numpy v2"
The current version of PyCO2SYS is not compatible with Numpy v2. The problem lies with Autograd, rather than PyCO2SYS itself. We are currently working on an updated version of PyCO2SYS which will avoid this problem and work with Numpy v2.

### With pip

Install from the [Python Package Index](https://pypi.org/project/PyCO2SYS/):
Expand Down

0 comments on commit 727fc3b

Please sign in to comment.