Skip to content

Commit

Permalink
Bump version to v4.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jarshwah committed Nov 16, 2023
1 parent b68392b commit 7bf48a4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v4.9.0 - 2023-11-17

- Modernize setup to use pyproject.toml [#116](https://github.com/octoenergy/xocto/pull/116)
- Populate `xocto.__version__` from package metadata
- Enables `FiniteDateRange` to be unioned with more than two ranges [#123](https://github.com/octoenergy/xocto/pull/123)

## v4.8.0 - 2023-11-02

- Fix docs by adding missing rtd theme [#115](https://github.com/octoenergy/xocto/pull/113)
Expand Down
4 changes: 1 addition & 3 deletions docs/xocto/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ Create a pull request that:

1. Adds release notes to `CHANGELOG.md`.

2. Updates the `VERSION` constant in `pyproject.toml`.

3. Updates the `__version__` constant in `xocto/__init__.py`, following the
2. Updates the `VERSION` constant in `pyproject.toml`, following the
[semver.org](https://semver.org/) specification.

Commit these changes in a single commit with subject matching
Expand Down
5 changes: 4 additions & 1 deletion xocto/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
__version__ = "4.8.0"
import importlib.metadata


__version__ = importlib.metadata.version("xocto")

0 comments on commit 7bf48a4

Please sign in to comment.