Skip to content

Commit

Permalink
Fix docs building (#1899)
Browse files Browse the repository at this point in the history
* revert to py3.9-compatible type annotation

* alternatively, don't restrict python to 39

* revert back to py39 just to see if the RTD build would have finished

* go back to not restricting python
  • Loading branch information
j-wags authored Jun 24, 2024
1 parent cce000c commit b198fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
- sphinx-notfound-page
- sphinx=6
# conda build dependencies
- python=3.9
- python
- setuptools
- numpy
- openmm
Expand Down
2 changes: 1 addition & 1 deletion openff/toolkit/typing/engines/smirnoff/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class ParameterAttribute:
def __init__(
self,
default: Any = UNDEFINED,
unit: Unit | str | None = None,
unit: Union[Unit, str, None] = None,
converter: Optional[Callable] = None,
docstring: str = "",
):
Expand Down

0 comments on commit b198fdf

Please sign in to comment.