From 7506614ada209c6ea44f075f6c4a783f5741d19d Mon Sep 17 00:00:00 2001 From: Alexander Engelsberger Date: Thu, 2 Mar 2023 17:05:39 +0000 Subject: [PATCH] fix: Update dependency versions --- .pre-commit-config.yaml | 12 ++++++------ setup.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2f2aa7e..d6d2d91 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -13,17 +13,17 @@ repos: - id: check-case-conflict - repo: https://github.com/myint/autoflake - rev: v1.4 + rev: v2.0.1 hooks: - id: autoflake - repo: http://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.950 + rev: v1.0.1 hooks: - id: mypy files: prototorch @@ -35,14 +35,14 @@ repos: - id: yapf - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.9.0 + rev: v1.10.0 hooks: - id: python-use-type-annotations - id: python-no-log-warn - id: python-check-blanket-noqa - repo: https://github.com/asottile/pyupgrade - rev: v2.32.1 + rev: v3.3.1 hooks: - id: pyupgrade diff --git a/setup.py b/setup.py index 1afc4bc..41702a6 100644 --- a/setup.py +++ b/setup.py @@ -18,13 +18,13 @@ PLUGIN_NAME = "models" PROJECT_URL = "https://github.com/si-cim/prototorch_models" DOWNLOAD_URL = "https://github.com/si-cim/prototorch_models.git" -with open("README.md", "r") as fh: +with open("README.md") as fh: long_description = fh.read() INSTALL_REQUIRES = [ "prototorch>=0.7.3", "pytorch_lightning>=1.6.0", - "torchmetrics", + "torchmetrics<0.10.0", "protobuf<3.20.0", ] CLI = [