diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index c5e0f16ce9..ccd9455249 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -79,7 +79,6 @@ jobs: # Only keep the requirements.txt file for the demo (PyTorch) run: | mv demo/pt-requirements.txt demo/requirements.txt - rm demo/tf-requirements.txt python -c " from huggingface_hub import HfApi diff --git a/api/pyproject.toml b/api/pyproject.toml index f6829be556..e95fe3f2d3 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "doctr-api" -version = "1.0.0a0" +version = "1.0.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 3dd6cf74ec..b3212fa0f7 100644 --- a/docs/build.sh +++ b/docs/build.sh @@ -33,5 +33,6 @@ cp source/conf.py _conf.py git fetch --all --tags --unshallow deploy_doc "" latest deploy_doc "1c9ce92" v0.11.0 -deploy_doc "97d4006" # v0.12.0 Latest stable release +deploy_doc "97d4006" v0.12.0 +deploy_doc "7dabbe1" # v1.0.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 25c2c765e3..37a6fd4526 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -3,28 +3,13 @@ // These two things need to be updated at each release for the version selector. // Last stable version -const stableVersion = "v0.12.0" +const stableVersion = "v1.0.0" // Dictionary doc folder to label. The last stable version should have an empty key. const versionMapping = { "latest": "latest", - "": "v0.12.0 (stable)", + "": "v1.0.0 (stable)", + "v0.12.0": "v0.12.0", "v0.11.0": "v0.11.0", - "v0.10.0": "v0.10.0", - "v0.9.0": "v0.9.0", - "v0.8.1": "v0.8.1", - "v0.8.0": "v0.8.0", - "v0.7.0": "v0.7.0", - "v0.6.0": "v0.6.0", - "v0.5.1": "v0.5.1", - "v0.5.0": "v0.5.0", - "v0.4.1": "v0.4.1", - "v0.4.0": "v0.4.0", - "v0.3.1": "v0.3.1", - "v0.3.0": "v0.3.0", - "v0.2.1": "v0.2.1", - "v0.2.0": "v0.2.0", - "v0.1.1": "v0.1.1", - "v0.1.0": "v0.1.0", } function addGithubButton() { diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 13d8375ea4..d2f66756be 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,6 +1,10 @@ Changelog ========= +v1.0.0 (2025-07-09) +------------------- +Release note: `v1.0.0 `_ + v0.12.0 (2025-06-20) -------------------- Release note: `v0.12.0 `_ diff --git a/setup.py b/setup.py index 026e84740f..68659069f2 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup PKG_NAME = "python-doctr" -VERSION = os.getenv("BUILD_VERSION", "1.0.0a0") +VERSION = os.getenv("BUILD_VERSION", "1.0.1a0") if __name__ == "__main__":