From bd5b9959bd0151fa4c03506f985f8665b4bb2f51 Mon Sep 17 00:00:00 2001 From: T2K-Felix <125863421+felixT2K@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:50:38 +0100 Subject: [PATCH] increase to 0.8.0 and temp pin onnx (#1365) --- pyproject.toml | 5 ++++- setup.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 025807c3d4..7c7522dd1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ dependencies = [ tf = [ "tensorflow>=2.11.0,<3.0.0", # cf. https://github.com/mindee/doctr/pull/1182 "tf2onnx>=1.15.1,<2.0.0", # cf.https://github.com/onnx/tensorflow-onnx/releases/tag/v1.15.1 + "onnx>=1.12.0,!=1.15.0,<3.0.0", # TODO: remove this line once tf2onnx supports onnx>=1.15.0 ] torch = [ "torch>=1.12.0,<3.0.0", @@ -97,7 +98,9 @@ dev = [ # PyTorch "torch>=1.12.0,<3.0.0", "torchvision>=0.13.0", - "onnx>=1.12.0,<3.0.0", + # TODO: remove the constraint once tf2onnx supports onnx>=1.15.0 + # TODO: cf. https://github.com/onnx/tensorflow-onnx/pull/2252 + "onnx>=1.12.0,!=1.15.0,<3.0.0", # Testing "pytest>=5.3.2", "coverage[toml]>=4.5.4", diff --git a/setup.py b/setup.py index 73eac06812..83829f0a3a 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.7.1a0") +VERSION = os.getenv("BUILD_VERSION", "0.8.0a0") if __name__ == "__main__":