Skip to content

Commit

Permalink
[RELEASE] V0.3.x (#159)
Browse files Browse the repository at this point in the history
* Adding v0.3.0

---------

Signed-off-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
adam2392 committed Oct 27, 2023
1 parent d6d0b16 commit 09da5a9
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 11 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4. Update version number on ``meson.build`` and ``pyproject.toml`` to the relevant version.
3 changes: 2 additions & 1 deletion doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ on libraries.io to be notified when new versions are released.

Version 0.1 <whats_new/v0.1.rst>
Version 0.2 <whats_new/v0.2.rst>
Version 0.3 (Unreleased) <whats_new/v0.3.rst>
Version 0.3 <whats_new/v0.3.rst>
Version 0.4 (Unreleased) <whats_new/v0.4.rst>

7 changes: 5 additions & 2 deletions doc/whats_new/v0.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------
Expand Down
24 changes: 24 additions & 0 deletions doc/whats_new/v0.4.rst
Original file line number Diff line number Diff line change
@@ -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`_

2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit 09da5a9

Please sign in to comment.