Skip to content

Commit

Permalink
Merge pull request #576 from MiraGeoscience/release/0.9.1
Browse files Browse the repository at this point in the history
Release 0.9.1
  • Loading branch information
sebhmg authored Jul 4, 2024
2 parents 78c6246 + b3355f4 commit 73d7803
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 74 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest-unix-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_ver: ['3.9', '3.10']
python_ver: ['3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_ver: ['3.9', '3.10']
python_ver: ['3.9', '3.10', '3.11', '3.12']
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up Python version
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.9'
- name: Get full Python version
id: full-python-version
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@
project = "geoh5py"

# The short X.Y version.
version = "0.9.0"
version = "0.9.1"
# The full version, including alpha/beta/rc tags.
release = "0.9.0"
release = "0.9.1"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
5 changes: 5 additions & 0 deletions docs/content/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release Notes
=============

Release 0.9.1 (2024-07-02)
--------------------------

- Adjust dependencies to allow for Python 3.9 to 3.12

Release 0.9.0 (2024-06-17)
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion geoh5py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

# flake8: noqa

__version__ = "0.9.0"
__version__ = "0.9.1"

from geoh5py.workspace import Workspace
140 changes: 78 additions & 62 deletions poetry.lock

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "geoh5py"
version = "0.9.0"
version = "0.9.1"
license = "LGPL-3.0-or-later"
description = "Python API for geoh5, an open file format for geoscientific data"
authors = ["Mira Geoscience <[email protected]>"]
Expand Down Expand Up @@ -38,20 +38,19 @@ include = [
]

[tool.poetry.dependencies]
python = "^3.9,<3.11"
python = "^3.9"

h5py = "^3.2.1"
numpy = "!=1.19.4, ~1.23.5"
numpy = "~1.26.0"
Pillow = "~10.3.0"


[tool.poetry.group.dev.dependencies]
Pygments = "*"
lockfile = "^0.12.2"
pylint = "*"
pytest = "*"
pytest-cov = "*"
scipy = "~1.10.1"
scipy = "~1.13.1"
sphinx = "^3.0"
sphinx-autodoc-typehints = "^1.10"
sphinx-rtd-theme = "^0.4.3"
Expand Down
7 changes: 6 additions & 1 deletion tests/ui_json_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,12 @@ def test_input_file(tmp_path: Path):
):
InputFile.read_ui_json("somefile.json")

with pytest.raises(TypeError, match="expected str, bytes or os.PathLike object"):
with pytest.raises(
TypeError,
match="expected str, bytes or os.PathLike object|"
+ "argument should be a str or an os.PathLike object where "
+ "__fspath__ returns a str, not 'int'",
):
InputFile.read_ui_json(123)

# Load the input back in
Expand Down

0 comments on commit 73d7803

Please sign in to comment.