From bd7d391847764449084cc23286b67a2cb6bedbc6 Mon Sep 17 00:00:00 2001 From: henrykironde Date: Wed, 9 Oct 2024 18:12:17 -0400 Subject: [PATCH] Release verion update --- .bumpversion.toml | 2 +- CONTRIBUTING.rst | 2 +- deepforest/_version.py | 2 +- setup.py | 2 +- version_switcher.json | 11 ++++++++--- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.bumpversion.toml b/.bumpversion.toml index b4c4b44b..ec907b32 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,5 +1,5 @@ [tool.bumpversion] -current_version = "1.4.0-dev0" +current_version = "1.4.0" parse = """(?x) (?P0|[1-9]\\d*)\\. diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index ec3b6356..14ae2de4 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -162,7 +162,7 @@ Start 1. **Run the tests** – seriously, run them now. 2. Ensure `HISTORY.rst` is up to date with all changes since the last release. 3. Use `bump-my-version show-bump` to determine the appropriate version bump. -4. Update the version for release: `bump-my-version bump [minor | patch | pre_l | pre_n]`. +4. Update the version for release: `bump-my-version bump [minor | patch | pre_l | pre_n]`. If show-bump does not have the right option, we can manually set it `bump-my-version bump --new-version 1.4.0` 5. Publish the release to PyPi and update the Conda package. 6. Post-release, update the version to the next development iteration: - Run `bump-my-version show-bump` to check the target version. diff --git a/deepforest/_version.py b/deepforest/_version.py index b77530a1..d600007d 100644 --- a/deepforest/_version.py +++ b/deepforest/_version.py @@ -1 +1 @@ -__version__ = '1.4.0-dev0' +__version__ = '1.4.0' diff --git a/setup.py b/setup.py index 05d35564..f935c61d 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.command.build_ext import build_ext as DistUtilsBuildExt NAME = 'deepforest' -VERSION = '1.4.0-dev0' +VERSION = '1.4.0' DESCRIPTION = 'Tree crown prediction using deep learning retinanets' URL = 'https://github.com/Weecology/DeepForest' AUTHOR = 'Ben Weinstein' diff --git a/version_switcher.json b/version_switcher.json index 427e844d..9c377c61 100644 --- a/version_switcher.json +++ b/version_switcher.json @@ -5,11 +5,16 @@ "url": "https://deepforest.readthedocs.io/en/latest/" }, { - "name": "1.3.3 (stable)", - "version": "1.3.3", - "url": "https://deepforest.readthedocs.io/en/v1.3.3/", + "name": "1.4.0 (stable)", + "version": "1.4.0", + "url": "https://deepforest.readthedocs.io/en/v1.4.0/", "preferred": true }, + { + "name": "1.3.3", + "version": "1.3.3", + "url": "https://deepforest.readthedocs.io/en/v1.3.3/" + }, { "name": "1.3.2", "version": "1.3.2",