From b84bb848665a6d67bbac227b5a18235da0c3ff13 Mon Sep 17 00:00:00 2001 From: Felix Dittrich Date: Thu, 30 Jan 2025 12:08:31 +0100 Subject: [PATCH] [misc] post release v0.11.0 & public docker cron job adjustment (#1860) --- .conda/meta.yaml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/public_docker_images.yml | 2 +- .github/workflows/pull_requests.yml | 2 +- api/pyproject.toml | 2 +- docs/build.sh | 3 ++- docs/source/_static/js/custom.js | 5 +++-- docs/source/changelog.rst | 4 ++++ setup.py | 2 +- 9 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.conda/meta.yaml b/.conda/meta.yaml index 4999b0bd4..0d9b2e330 100644 --- a/.conda/meta.yaml +++ b/.conda/meta.yaml @@ -1,7 +1,7 @@ {% set pyproject = load_file_data('../pyproject.toml', from_recipe_dir=True) %} {% set project = pyproject.get('project') %} {% set urls = pyproject.get('project', {}).get('urls') %} -{% set version = environ.get('BUILD_VERSION', '0.11.0a0') %} +{% set version = environ.get('BUILD_VERSION', '0.11.1a0') %} package: name: {{ project.get('name') }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7f6efd4e4..8189eccb5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,7 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[tf,viz,html] --upgrade + pip install -e .[torch,viz,html] --upgrade pip install -e .[docs] - name: Build documentation diff --git a/.github/workflows/public_docker_images.yml b/.github/workflows/public_docker_images.yml index 5abe6d717..4da97087c 100644 --- a/.github/workflows/public_docker_images.yml +++ b/.github/workflows/public_docker_images.yml @@ -9,7 +9,7 @@ on: pull_request: branches: main schedule: - - cron: '0 2 29 * *' # At 02:00 on day-of-month 29 + - cron: '0 2 1 */3 *' # At 02:00 on the 1st day of every 3rd month env: REGISTRY: ghcr.io diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 8d972c855..b494ca2fd 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -22,7 +22,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[tf,viz,html] --upgrade + pip install -e .[torch,viz,html] --upgrade pip install -e .[docs] - name: Build documentation diff --git a/api/pyproject.toml b/api/pyproject.toml index 7ec2f42c0..03d3689fe 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "doctr-api" -version = "0.10.1a0" +version = "0.11.1a0" description = "Backend template for your OCR API with docTR" authors = ["Mindee "] license = "Apache-2.0" diff --git a/docs/build.sh b/docs/build.sh index e9ee91232..802874469 100644 --- a/docs/build.sh +++ b/docs/build.sh @@ -55,5 +55,6 @@ deploy_doc "75bddfc" v0.7.0 deploy_doc "67d1087" v0.8.0 deploy_doc "62d94ff" v0.8.1 deploy_doc "894eafd" v0.9.0 -deploy_doc "d5dbc73" # v0.10.0 Latest stable release +deploy_doc "d5dbc73" v0.10.0 +deploy_doc "1c9ce92" # v0.11.0 Latest stable release rm -rf _build _static _conf.py diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js index 84142d554..3109fc8db 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -3,11 +3,12 @@ // These two things need to be updated at each release for the version selector. // Last stable version -const stableVersion = "v0.10.0" +const stableVersion = "v0.11.0" // Dictionary doc folder to label. The last stable version should have an empty key. const versionMapping = { "latest": "latest", - "": "v0.10.0 (stable)", + "": "v0.11.0 (stable)", + "v0.10.0": "v0.10.0", "v0.9.0": "v0.9.0", "v0.8.1": "v0.8.1", "v0.8.0": "v0.8.0", diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 69b417357..94f088b54 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,6 +1,10 @@ Changelog ========= +v0.11.0 (2025-01-30) +------------------- +Release note: `v0.11.0 `_ + v0.10.0 (2024-10-21) -------------------- Release note: `v0.10.0 `_ diff --git a/setup.py b/setup.py index 36a231b34..3de23d609 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup PKG_NAME = "python-doctr" -VERSION = os.getenv("BUILD_VERSION", "0.11.0a0") +VERSION = os.getenv("BUILD_VERSION", "0.11.1a0") if __name__ == "__main__":