From 5f5f936999fa3050b75bfd65bd86867ca088af44 Mon Sep 17 00:00:00 2001 From: vfdev Date: Mon, 9 Feb 2026 10:13:56 +0100 Subject: [PATCH 1/2] Update Python version requirements and targets --- pyproject.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7bcc2a9a6cf2..9ba7a4a90cc5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ license-files = ["LICENSE"] classifiers = [ "Programming Language :: Python :: 3", ] -requires-python = ">=3.9,<=3.13" +requires-python = ">=3.9,<=3.14" dependencies = [ "torch>=1.10,<3", "packaging" @@ -73,8 +73,8 @@ exclude = [ line-length = 120 indent-width = 4 -# Assume Python 3.9 -target-version = "py39" +# Assume Python 3.11 +target-version = "py311" [tool.ruff.lint] # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. @@ -125,7 +125,7 @@ docstring-code-line-length = "dynamic" [tool.black] line-length = 120 -target-version = ['py39', 'py311'] +target-version = ['py311', 'py313'] include = '\.pyi?$' exclude = ''' @@ -155,3 +155,6 @@ markers = [ "tpu: mark a test as requiring XLA", ] addopts = "--color=yes" + +[tool.uv.extra-build-dependencies] +visdom = ["pkg_resources"] From dd1da10adffd165b1ff3a20ec67b2f9fa887abad Mon Sep 17 00:00:00 2001 From: vfdev Date: Mon, 9 Feb 2026 10:31:13 +0100 Subject: [PATCH 2/2] Remove visdom from extra build dependencies Remove visdom from extra build dependencies. --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9ba7a4a90cc5..035779f1aaaa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,6 +155,3 @@ markers = [ "tpu: mark a test as requiring XLA", ] addopts = "--color=yes" - -[tool.uv.extra-build-dependencies] -visdom = ["pkg_resources"]