Skip to content

Commit

Permalink
Changelog entries, typing_extensions for Self
Browse files Browse the repository at this point in the history
  • Loading branch information
cgevans committed Jul 2, 2024
1 parent 342c998 commit 876a948
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.17.0

- Significant change in Python organization: there are now model-specific System class, rather than one System class. Tileset definitions will return a specific class, and classes should eventually be able to be created directly. This should make it much easier to add ways to view and manipulate system objects in model-dependent ways.
- Improvements to Python docstrings and type stubs.
- Numerous code rearrangements for Python.

# 0.16.0

- Improvements to FFS code organization.
Expand Down
2 changes: 1 addition & 1 deletion py-rgrow/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "rgrow"
dependencies = ["numpy ~= 1.26", "attrs ~= 23.2", "matplotlib ~= 3.8.2"]
dependencies = ["numpy ~= 1.26", "attrs ~= 23.2", "matplotlib ~= 3.8.2", "typing_extensions"]
requires-python = ">=3.9"

[project.optional-dependencies]
Expand Down
5 changes: 3 additions & 2 deletions py-rgrow/rgrow/rgrow.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# flake8: noqa: PYI021
from typing import Any, List, Sequence, Self, TypeAlias, overload
from numpy import dtype, ndarray
from typing import Any, List, Sequence
from typing_extensions import Self, TypeAlias, overload
from numpy import ndarray
import numpy as np
import polars as pl
from numpy.typing import NDArray
Expand Down

0 comments on commit 876a948

Please sign in to comment.