From eb3d61975549f75ac52561fbaa9215134a39e3f1 Mon Sep 17 00:00:00 2001 From: Ross Barnowski Date: Thu, 8 Aug 2024 15:15:10 -0700 Subject: [PATCH] Prepare 0.12.10 release (#726) * Bump deepcell-tracking patch in deps. * Update release job. * Bump version number. * Explicit role to silence sphinx complaint. * Bump Python version for doc testing workflow. * Add .git-blame-ignore-revs. --- .git-blame-ignore-revs | 1 + .github/workflows/pypi.yaml | 8 ++++---- .github/workflows/test-docs.yaml | 2 +- deepcell/_version.py | 2 +- deepcell/applications/cell_tracking.py | 2 +- docs/source/conf.py | 2 +- requirements.txt | 2 +- setup.py | 2 +- 8 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..80366a13 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1 @@ +1634b5fbe939e93f463e0385511f91170655839d diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index e5696531..bd74baa9 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -18,14 +18,14 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: "3.10" - name: Build a source distribution run: python setup.py sdist - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_PASSWORD }} @@ -40,7 +40,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: "3.10" - name: Build a source distribution run: | @@ -54,7 +54,7 @@ jobs: - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_PASSWORD }} diff --git a/.github/workflows/test-docs.yaml b/.github/workflows/test-docs.yaml index 933759da..c113f562 100644 --- a/.github/workflows/test-docs.yaml +++ b/.github/workflows/test-docs.yaml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.10" - name: Install Dependencies run: | diff --git a/deepcell/_version.py b/deepcell/_version.py index b1c515d3..f5e0556e 100644 --- a/deepcell/_version.py +++ b/deepcell/_version.py @@ -27,7 +27,7 @@ __title__ = 'DeepCell' __description__ = 'Deep learning for single cell image segmentation' __url__ = 'https://github.com/vanvalenlab/deepcell-tf' -__version__ = '0.12.9' +__version__ = '0.12.10' __download_url__ = f'{__url__}/tarball/{__version__}' __author__ = 'The Van Valen Lab' __author_email__ = 'vanvalen@caltech.edu' diff --git a/deepcell/applications/cell_tracking.py b/deepcell/applications/cell_tracking.py index 71c0a05f..2ef1e32c 100644 --- a/deepcell/applications/cell_tracking.py +++ b/deepcell/applications/cell_tracking.py @@ -144,7 +144,7 @@ def from_version(cls, version='1.1'): 1.0: Original Caliban model released with the September 2023 preprint Args: - version (str, optional): Defaults to '1.1'. + version (:obj:`str`, optional): Defaults to '1.1'. """ if version not in CONFIGS: raise ValueError(f'Selected version {version} is not available. ' diff --git a/docs/source/conf.py b/docs/source/conf.py index 8c2d73da..83096dae 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -31,7 +31,7 @@ author = 'Van Valen Lab at Caltech' # The short X.Y.Z version - overriden by rtd -version = release = '0.12.9' +version = release = '0.12.10' import subprocess try: diff --git a/requirements.txt b/requirements.txt index dc6008dd..6d56709f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ tensorflow_addons~=0.16.1 spektral~=1.0.4 jupyterlab matplotlib -deepcell-tracking~=0.6.1 +deepcell-tracking~=0.6.5 deepcell-toolbox>=0.12.1 # Required for keras.utils.plot_model diff --git a/setup.py b/setup.py index e532c521..315d6b54 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,7 @@ 'jupyter>=1.0.0,<2', 'matplotlib', 'opencv-python-headless<5', - 'deepcell-tracking~=0.6.1', + 'deepcell-tracking~=0.6.5', 'deepcell-toolbox>=0.12.1' ], extras_require={