Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/_run-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
# 3.10 matches miles-D's setup.py / pyproject (python_requires=">=3.10").
python-version: '3.10'
# 3.12 matches the CI/dev container image and miles-D's setup.py.
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
cache: 'pip'

- name: Install pre-commit
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
profile = "black" # black-compatible
line_length = 119 # should match black parameters
ignore_whitespace = true # ignore whitespace for compatibility with the initial style
py_version = 310 # python 3.10 as a target version
py_version = 312 # python 3.12 as a target version
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
extend_skip = ["setup.py", "docs/source/conf.py"]
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ def get_tag(self):
"torch>=2.0",
]
},
python_requires=">=3.10",
python_requires=">=3.12",
classifiers=[
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Environment :: GPU :: NVIDIA CUDA",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
Expand Down
5 changes: 4 additions & 1 deletion tests/fast/dashboard/test_async_collector.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
from tests.ci.ci_register import register_cpu_ci

register_cpu_ci(est_time=15, suite="stage-a-cpu", labels=[])

import logging
import sys
import types
Expand Down Expand Up @@ -80,7 +84,6 @@ def remote(self, config):
monkeypatch.setitem(sys.modules, "ray", ray_module)
monkeypatch.setitem(sys.modules, "ray.util.scheduling_strategies", strategies_module)
monkeypatch.setattr(backend, "_handle", None)
monkeypatch.setattr(backend, "_is_primary", False)

args = SimpleNamespace(
use_miles_dashboard=True,
Expand Down
4 changes: 4 additions & 0 deletions tests/fast/utils/test_diffusion_rollout_response.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
from tests.ci.ci_register import register_cpu_ci

register_cpu_ci(est_time=15, suite="stage-a-cpu", labels=[])

import pytest
import torch

Expand Down
4 changes: 4 additions & 0 deletions tests/fast/utils/test_processing_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
from tests.ci.ci_register import register_cpu_ci

register_cpu_ci(est_time=15, suite="stage-a-cpu", labels=[])

import pytest
import torch

Expand Down
Loading