From e16ffbf65a5471ec1624f01c38db027f58f9aff1 Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Tue, 7 Oct 2025 22:17:11 +0100 Subject: [PATCH] MAINT: fix pytorch py310 dep --- pixi.lock | 2 +- pyproject.toml | 4 +-- renovate.json | 94 ++++++++++++++++++++++++++++++-------------------- 3 files changed, 60 insertions(+), 40 deletions(-) diff --git a/pixi.lock b/pixi.lock index 7253d71d..b458efd0 100644 --- a/pixi.lock +++ b/pixi.lock @@ -5131,7 +5131,7 @@ packages: - pypi: ./ name: array-api-extra version: 0.9.1.dev0 - sha256: a700321059489a8bdfe6ad93597c57ad68d7a025db05343e02c283a193bd086c + sha256: af0ea2f2e41bfc3cc7f4562fdbfc8a19c616e1a5fbe6659379f27698a1e77ae5 requires_dist: - array-api-compat>=1.12.0,<2 requires_python: '>=3.10' diff --git a/pyproject.toml b/pyproject.toml index 45a1411e..16b9ecde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -150,7 +150,7 @@ numpy = "=1.22.0" # Backends that can run on CPU-only hosts # Note: JAX and PyTorch will install CPU variants. [tool.pixi.feature.backends.dependencies] -pytorch = ">=2.8.0" +pytorch = ">=2.7.0" dask-core = ">=2025.9.1" # No distributed, tornado, etc. sparse = ">=0.17.0" @@ -182,7 +182,7 @@ system-requirements = { cuda = "12" } cupy = ">=13.6.0" # JAX 0.6.2 and 0.7.0 segfault on CUDA jaxlib = { version = ">=0.6.0,!=0.6.2,!=0.7.0", build = "cuda12*" } -pytorch = { version = ">=2.8.0", build = "cuda12*" } +pytorch = { version = ">=2.7.0", build = "cuda12*" } [tool.pixi.feature.cuda-backends.target.osx-64.dependencies] # cupy = "*" # unavailable diff --git a/renovate.json b/renovate.json index fb933e86..0810fe8b 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,10 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended", "helpers:pinGitHubActionDigests", ":automergeMinor"], + "extends": [ + "config:recommended", + "helpers:pinGitHubActionDigests", + ":automergeMinor" + ], "dependencyDashboardTitle": "META: Dependency Dashboard", "commitMessagePrefix": "deps:", "labels": ["dependencies"], @@ -9,40 +13,56 @@ "pixi": ">=v0.45.0" }, "minimumReleaseAge": "14 days", - "packageRules": [{ - "description": "Do not bump deps pinned with '~=' or '='.", - "matchManagers": ["pixi"], - "matchCurrentValue": "/^~?=/", - "enabled": false - }, { - "description": "Do not bump requires-python.", - "matchManagers": ["pep621"], - "matchPackageNames": ["python"], - "enabled": false - }, { - "description": "Schedule automerged GHA updates for the 15th of each month.", - "matchManagers": ["github-actions"], - "groupName": "gha", - "schedule": ["* * 15 * *"], - "automerge": true - }, { - "description": "Block PRs for updates blocked on dropping Python 3.10.", - "matchManagers": ["pixi"], - "matchUpdateTypes": ["major", "minor"], - "matchPackageNames": ["numpy", "jax", "jaxlib", "sphinx", "ipython", "sphinx-autodoc-typehints"], - "enabled": false - }, { - "description": "Group Dask packages.", - "matchPackageNames": ["dask", "dask-core"], - "groupName": "dask" - }, { - "description": "Group JAX packages.", - "matchPackageNames": ["jax", "jaxlib"], - "groupName": "jax" - }, { - "description": "Schedule hypothesis monthly as releases are frequent.", - "matchManagers": ["pixi"], - "matchPackageNames": ["hypothesis"], - "schedule": ["* * 10 * *"] - }] + "packageRules": [ + { + "description": "Do not bump deps pinned with '~=' or '='.", + "matchManagers": ["pixi"], + "matchCurrentValue": "/^~?=/", + "enabled": false + }, + { + "description": "Do not bump requires-python.", + "matchManagers": ["pep621"], + "matchPackageNames": ["python"], + "enabled": false + }, + { + "description": "Schedule automerged GHA updates for the 15th of each month.", + "matchManagers": ["github-actions"], + "groupName": "gha", + "schedule": ["* * 15 * *"], + "automerge": true + }, + { + "description": "Block PRs for updates blocked on dropping Python 3.10.", + "matchManagers": ["pixi"], + "matchUpdateTypes": ["major", "minor"], + "matchPackageNames": [ + "numpy", + "jax", + "jaxlib", + "sphinx", + "ipython", + "sphinx-autodoc-typehints", + "pytorch" + ], + "enabled": false + }, + { + "description": "Group Dask packages.", + "matchPackageNames": ["dask", "dask-core"], + "groupName": "dask" + }, + { + "description": "Group JAX packages.", + "matchPackageNames": ["jax", "jaxlib"], + "groupName": "jax" + }, + { + "description": "Schedule hypothesis monthly as releases are frequent.", + "matchManagers": ["pixi"], + "matchPackageNames": ["hypothesis"], + "schedule": ["* * 10 * *"] + } + ] }