From 4dd7412a86027e1d3574e3ca65e2899bed147aef Mon Sep 17 00:00:00 2001 From: Mert <101130780+mertalev@users.noreply.github.com> Date: Thu, 21 Dec 2023 11:54:56 -0500 Subject: [PATCH] pin python (#5904) --- machine-learning/pyproject.toml | 2 +- renovate.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/machine-learning/pyproject.toml b/machine-learning/pyproject.toml index e0da6b7867..138398c9b8 100644 --- a/machine-learning/pyproject.toml +++ b/machine-learning/pyproject.toml @@ -7,7 +7,7 @@ readme = "README.md" packages = [{include = "app"}] [tool.poetry.dependencies] -python = "=3.11.*" +python = ">=3.10,<3.12" onnxruntime = "^1.15.0" insightface = "^0.7.3" opencv-python-headless = "^4.7.0.72" diff --git a/renovate.json b/renovate.json index 987f0198db..0881f82606 100644 --- a/renovate.json +++ b/renovate.json @@ -2,6 +2,10 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:base", "docker:pinDigests"], "minimumReleaseAge": "5 days", + "constraints": { + "python": "< 3.12" + }, + "constraintsFiltering": "strict", "packageRules": [ { "matchFileNames": ["cli/**"],