Skip to content

Commit 7405cc3

Browse files
committed
fix more harderer
1 parent 1151549 commit 7405cc3

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci-gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
- uses: actions/setup-python@v5
4444
with:
4545
python-version: "3.12"
46-
- uses: hynek/setup-cached-uv@v2
46+
- uses: astral-sh/setup-uv@v6
4747
with:
48-
cache-dependency-path: pyproject.toml
48+
enable-cache: true # "auto" is `false` on non-GitHub runners
4949
- name: Install package
5050
run: uv pip install --system -e .[test,full] cupy-cuda12x --extra-index-url=https://pypi.nvidia.com --index-strategy=unsafe-best-match
5151
- name: List installed packages

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
steps:
7676
- uses: actions/checkout@v5
7777
with: { fetch-depth: 0, filter: "blob:none" }
78-
- uses: actions/setup-python@v5
78+
- uses: actions/setup-python@v6
7979
with:
8080
python-version: '3.13'
8181
- uses: astral-sh/setup-uv@v7
@@ -90,7 +90,7 @@ jobs:
9090
steps:
9191
- uses: actions/checkout@v5
9292
with: { fetch-depth: 0, filter: "blob:none" }
93-
- uses: actions/setup-python@v5
93+
- uses: actions/setup-python@v6
9494
with:
9595
python-version: '3.13'
9696
- uses: astral-sh/setup-uv@v7
@@ -110,7 +110,7 @@ jobs:
110110
steps:
111111
- uses: actions/checkout@v5
112112
with: { fetch-depth: 0, filter: "blob:none" }
113-
- uses: actions/setup-python@v5
113+
- uses: actions/setup-python@v6
114114
with:
115115
python-version: ${{ matrix.python-version }}
116116
- uses: pre-commit/action@v3.0.1

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
permissions:
1414
id-token: write # to authenticate as Trusted Publisher to pypi.org
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-python@v5
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-python@v6
1818
with:
1919
python-version: "3.x"
2020
cache: pip

src/testing/fast_array_utils/_array_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class ConversionContext:
7474
hdf5_file: h5py.File # TODO(flying-sheep): ReadOnly <https://peps.python.org/pep-0767/>
7575

7676

77-
if sys.version_info >= (3, 13):
77+
if TYPE_CHECKING or sys.version_info >= (3, 13):
7878
# TODO(flying-sheep): move vars into type parameter syntax # noqa: TD003
7979
Arr = TypeVar("Arr", bound="ExtendedArray", default="Array")
8080
Inner = TypeVar("Inner", bound="ArrayType[InnerArray, None] | None", default="Any")

0 commit comments

Comments
 (0)