From 8b2e302481bd440fa3a645aaa08ed98d1d14489e Mon Sep 17 00:00:00 2001 From: felix Date: Tue, 8 Oct 2024 15:11:48 +0200 Subject: [PATCH] update versions --- .conda/meta.yaml | 2 +- pyproject.toml | 8 ++++---- setup.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.conda/meta.yaml b/.conda/meta.yaml index 7feb3a1bf9..f377481f16 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.9.1a0') %} +{% set version = environ.get('BUILD_VERSION', '0.10.0a0') %} package: name: {{ project.get('name') }} diff --git a/pyproject.toml b/pyproject.toml index 9745f8a7c4..613eb512e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,8 +58,8 @@ tf = [ "tf2onnx>=1.16.0,<2.0.0", # cf. https://github.com/onnx/tensorflow-onnx/releases/tag/v1.16.0 ] torch = [ - "torch>=1.12.0,<3.0.0", - "torchvision>=0.13.0", + "torch>=2.0.0,<3.0.0", + "torchvision>=0.15.0", "onnx>=1.12.0,<3.0.0", ] html = [ @@ -101,8 +101,8 @@ dev = [ "tf-keras>=2.15.0,<3.0.0", # Keep keras 2 compatibility "tf2onnx>=1.16.0,<2.0.0", # cf. https://github.com/onnx/tensorflow-onnx/releases/tag/v1.16.0 # PyTorch - "torch>=1.12.0,<3.0.0", - "torchvision>=0.13.0", + "torch>=2.0.0,<3.0.0", + "torchvision>=0.15.0", "onnx>=1.12.0,<3.0.0", # Extras "weasyprint>=55.0", diff --git a/setup.py b/setup.py index f45f3f157d..13fd4515e3 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.9.1a0") +VERSION = os.getenv("BUILD_VERSION", "0.10.0a0") if __name__ == "__main__":