Skip to content

Commit b1656d2

Browse files
authored
Merge pull request #29008 from ngoldbaum/fix-linter
MNT: fix CI issues on main
2 parents 06c04a3 + 9b9dc93 commit b1656d2

File tree

4 files changed

+7
-17
lines changed

4 files changed

+7
-17
lines changed

.github/workflows/macos.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
build_runner:
116116
- [ macos-13, "macos_x86_64" ]
117117
- [ macos-14, "macos_arm64" ]
118-
version: ["3.11", "3.14t"]
118+
version: ["3.11", "3.14t-dev"]
119119

120120
steps:
121121
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -124,14 +124,9 @@ jobs:
124124
fetch-tags: true
125125
persist-credentials: false
126126

127-
- uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca
127+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
128128
with:
129-
activate-environment: true
130129
python-version: ${{ matrix.version }}
131-
enable-cache: false
132-
133-
- run:
134-
uv pip install --python=${{ matrix.version }} pip
135130

136131
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
137132
if: ${{ matrix.build_runner[0] == 'macos-13' }}

.github/workflows/windows.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
matrix:
2525
compiler-pyversion:
2626
- ["MSVC", "3.11"]
27-
- ["Clang-cl", "3.14t"]
27+
- ["Clang-cl", "3.14t-dev"]
2828

2929
steps:
3030
- name: Checkout
@@ -35,14 +35,9 @@ jobs:
3535
persist-credentials: false
3636

3737
- name: Setup Python
38-
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca
38+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3939
with:
40-
activate-environment: true
4140
python-version: ${{ matrix.compiler-pyversion[1] }}
42-
enable-cache: false
43-
44-
- run:
45-
uv pip install --python=${{ matrix.version }} pip
4641

4742
- name: Install build dependencies from PyPI
4843
run: |

numpy/_core/numeric.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,9 +2490,9 @@ def isclose(a, b, rtol=1.e-5, atol=1.e-8, equal_nan=False):
24902490
raise FloatingPointError(err_msg)
24912491
elif err_s == "print":
24922492
print(err_msg)
2493-
2493+
24942494
with errstate(invalid='ignore'):
2495-
2495+
24962496
result = (less_equal(abs(x - y), atol + rtol * abs(y))
24972497
& isfinite(y)
24982498
| (x == y))

numpy/_core/tests/test_numeric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3222,7 +3222,7 @@ def test_tol_warnings(self):
32223222
# Making sure that i and j are not both numbers, because that won't create a warning
32233223
if (i == 1) and (j == 1):
32243224
continue
3225-
3225+
32263226
with warnings.catch_warnings(record=True) as w:
32273227

32283228
warnings.simplefilter("always")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy