diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c137735f6..58fa34c00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: architecture: "x64" - name: Install dependencies run: | - python -m pip install --progress-bar off --upgrade pip setuptools wheel + python -m pip install --progress-bar off --upgrade pip python -m pip install --progress-bar off build twine - name: Prepare environment run: | @@ -43,12 +43,9 @@ jobs: with: name: package path: dist - # TODO: refactor scripts to generate release notes from `whats_new.rst` file instead - # - name: Generate release notes - # run: | - # python scripts/release_notes.py > ${{ github.workspace }}-RELEASE_NOTES.md - name: Publish package to PyPI run: | + ls dist/* twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/* - name: Publish GitHub release uses: softprops/action-gh-release@v1 diff --git a/DEVELOPING.md b/DEVELOPING.md index 9fdc18090..46ac9cc1b 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -190,4 +190,4 @@ or if you have two-factor authentication enabled: https://pypi.org/help/#apitoke twine upload dist/* --repository scikit-tree -4. Update version number on ``meson.build`` and ``_version.py`` to the relevant version. \ No newline at end of file +4. Update version number on ``meson.build`` and ``pyproject.toml`` to the relevant version. \ No newline at end of file diff --git a/doc/whats_new.rst b/doc/whats_new.rst index cbf9f9e81..027945bba 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -17,5 +17,6 @@ on libraries.io to be notified when new versions are released. Version 0.1 Version 0.2 - Version 0.3 (Unreleased) + Version 0.3 + Version 0.4 (Unreleased) diff --git a/doc/whats_new/v0.3.rst b/doc/whats_new/v0.3.rst index 1e1680777..242425375 100644 --- a/doc/whats_new/v0.3.rst +++ b/doc/whats_new/v0.3.rst @@ -3,12 +3,15 @@ .. include:: _contributors.rst .. currentmodule:: sktree -.. _current: +.. _v0_3: Version 0.3 =========== -**In Development** +This release includes a number of bug fixes and enhancements related to hypothesis testing with decision trees. +Moreover, we have added an experimental multi-view decision tree / random forest, which considers multiple views +of the data when building trees. The documentation page has also undergone an organizational overhaul +making it easier for users to find examples related to specific use cases. Changelog --------- diff --git a/doc/whats_new/v0.4.rst b/doc/whats_new/v0.4.rst new file mode 100644 index 000000000..6270ad13c --- /dev/null +++ b/doc/whats_new/v0.4.rst @@ -0,0 +1,24 @@ +:orphan: + +.. include:: _contributors.rst +.. currentmodule:: sktree + +.. _current: + +Version 0.4 +=========== + +**In Development** + +Changelog +--------- +- + +Code and Documentation Contributors +----------------------------------- + +Thanks to everyone who has contributed to the maintenance and improvement of +the project since version inception, including: + +* `Adam Li`_ + diff --git a/meson.build b/meson.build index e6004f4ee..a63936907 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project( # Note that the git commit hash cannot be added dynamically here # That only happens when importing from a git repository. # See `sktree/__init__.py` - version: '0.3.0dev0', + version: '0.3.0', license: 'BSD-3', meson_version: '>= 0.64.0', default_options: [ diff --git a/pyproject.toml b/pyproject.toml index cb9849069..9fb1ddce5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ name = "scikit-tree" # 0.0.0 is standard placeholder for poetry-dynamic-versioning # any changes to this should not be checked in # -version = "0.3.0dev0" +version = "0.3.0" description = "Modern decision trees in Python" maintainers = [ {name="Neurodata", email="adam.li@columbia.edu"}