Skip to content

Commit bead150

Browse files
authored
Merge pull request #598 from numpy/bump-dev-deps
2 parents 06e154a + 4da56d7 commit bead150

6 files changed

Lines changed: 507 additions & 436 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
concurrency:
10-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1111
cancel-in-progress: true
1212

1313
permissions:
@@ -23,38 +23,37 @@ jobs:
2323
timeout-minutes: 1
2424

2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v4.2.2
2727

2828
- name: typos
29-
uses: crate-ci/typos@master
29+
uses: crate-ci/typos@v1.35.1
3030

3131
- name: markdownlint
32-
uses: DavidAnson/markdownlint-cli2-action@v20
32+
uses: DavidAnson/markdownlint-cli2-action@v20.0.0
3333
with:
3434
config: "docs/.markdownlint.yaml"
3535
globs: "**/*.md"
3636

37-
- uses: uncenter/setup-taplo@v1
37+
- uses: uncenter/setup-taplo@v1.0.8
3838
with:
3939
version: "0.9.3"
4040
- name: taplo
4141
run: |
4242
taplo validate --colors never --no-schema
4343
taplo fmt --colors never --check
4444
45-
- uses: astral-sh/setup-uv@v6
46-
- run: uv sync --only-group=list_and_test
45+
- uses: astral-sh/setup-uv@v6.4.3
4746

4847
- name: ruff
4948
run: |
50-
uv run --no-sync ruff check --output-format=github
51-
uv run --no-sync ruff format --check
49+
uv run ruff check --output-format=github
50+
uv run ruff format --check
5251
5352
- name: pytest
54-
run: uv run --no-sync pytest
53+
run: uv run pytest
5554

5655
- name: format-ignores
57-
run: uv run --no-sync tool/format_ignores.py --check
56+
run: uv run tool/format_ignores.py --check
5857

5958
basedpyright:
6059
runs-on: ubuntu-latest
@@ -64,15 +63,15 @@ jobs:
6463
matrix:
6564
py: ["3.11", "3.12", "3.13"]
6665
steps:
67-
- uses: actions/checkout@v4
66+
- uses: actions/checkout@v4.2.2
6867

69-
- uses: astral-sh/setup-uv@v6
68+
- uses: astral-sh/setup-uv@v6.4.3
7069
with:
7170
enable-cache: true
7271
python-version: ${{ matrix.py }}
7372

7473
- name: basedpyright
75-
run: uv run --only-group=basedpyright basedpyright
74+
run: uv run basedpyright
7675

7776
mypy:
7877
runs-on: ubuntu-latest
@@ -82,16 +81,14 @@ jobs:
8281
matrix:
8382
py: ["3.11", "3.12", "3.13"]
8483
steps:
85-
- uses: actions/checkout@v4
84+
- uses: actions/checkout@v4.2.2
8685

87-
- uses: astral-sh/setup-uv@v6
86+
- uses: astral-sh/setup-uv@v6.4.3
8887
with:
8988
python-version: ${{ matrix.py }}
9089

9190
- name: mypy
92-
run: >
93-
uv run --only-group=mypy --no-editable
94-
mypy --no-incremental --cache-dir=/dev/null --soft-error-limit=-1 .
91+
run: uv run --no-editable mypy --no-incremental --cache-dir=/dev/null .
9592

9693
stubtest:
9794
runs-on: ${{ matrix.os }}
@@ -102,11 +99,11 @@ jobs:
10299
os: [ubuntu-latest, macos-latest, windows-latest]
103100
py: ["3.11", "3.12", "3.13"]
104101
steps:
105-
- uses: actions/checkout@v4
102+
- uses: actions/checkout@v4.2.2
106103

107-
- uses: astral-sh/setup-uv@v6
104+
- uses: astral-sh/setup-uv@v6.4.3
108105
with:
109106
python-version: ${{ matrix.py }}
110107

111108
- name: stubtest
112-
run: uv run --active -p ${{ matrix.py }} tool/stubtest.py
109+
run: uv run --active tool/stubtest.py

pyproject.toml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ name = "numtype"
88
version = "2.3.2.0.dev0"
99
description = "Experimental Typing Stubs for NumPy"
1010
readme = "README.md"
11-
authors = [
12-
{name = "Joren Hammudoglu", email = "jhammudoglu@gmail.com"},
13-
]
14-
maintainers = [
15-
{name = "NumPy Developers", email = "numpy-discussion@python.org"},
16-
]
11+
authors = [{name = "Joren Hammudoglu", email = "jhammudoglu@gmail.com"}]
12+
maintainers = [{name = "NumPy Developers", email = "numpy-discussion@python.org"}]
1713
license = "BSD-3-Clause"
1814
keywords = ["numpy", "typing", "stubs"]
1915
classifiers = [
@@ -48,41 +44,41 @@ dependencies = []
4844

4945
[dependency-groups]
5046
numpy = ["numtype[numpy]"]
51-
lint = ["ruff>=0.12.1"]
47+
lint = ["ruff>=0.12.7"]
5248
pytest = [
5349
{include-group = "numpy"},
5450
"pytest>=8.4.1",
55-
"typing_extensions>=4.14.0",
51+
"typing_extensions>=4.14.1",
5652
]
5753
list_and_test = [
5854
{include-group = "lint"},
5955
{include-group = "pytest"},
6056
]
6157
types = [
6258
{include-group = "pytest"},
63-
"types-setuptools>=80.9.0.20250529",
59+
"types-setuptools>=80.9.0.20250801",
6460
"types-tabulate>=0.9.0.20241207",
6561
]
6662
basedpyright = [
6763
{include-group = "numpy"},
6864
{include-group = "types"},
69-
"basedpyright>=1.29.5",
65+
"basedpyright>=1.31.1",
7066
]
7167
mypy = [
7268
{include-group = "types"},
73-
"mypy[faster-cache]>=1.16.1",
69+
"mypy[faster-cache]>=1.17.1",
7470
]
7571
typecheck = [
7672
{include-group = "basedpyright"},
7773
{include-group = "mypy"},
7874
]
7975
docs = [
80-
"mkdocs-material>=9.6.15",
76+
"mkdocs-material>=9.6.16",
8177
"mkdocs-awesome-nav>=3.1.2",
8278
"markdown-callouts>=0.4.0",
8379
"mkdocs-include-markdown-plugin>=7.1.6",
8480
"mkdocs-minify-plugin>=0.8.0",
85-
"mkdocstrings[python]>=0.29.1",
81+
"mkdocstrings[python]>=0.30.0",
8682
"pygments>=2.19.2",
8783
]
8884
dev = [

tool/stubtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# requires-python = ">=3.11"
33
# dependencies = [
44
# "numtype[numpy]",
5-
# "mypy[faster-cache]>=1.16.0", # keep in sync with pyproject.toml
5+
# "mypy[faster-cache]>=1.17.1", # keep in sync with pyproject.toml
66
#
77
# "PyInstaller",
88
# "hypothesis",

0 commit comments

Comments
 (0)