Skip to content

Commit 8f49a55

Browse files
authored
Merge pull request #1479 from Unidata/dependabot/github_actions/github-actions-8a8ae888d8
Bump pypa/cibuildwheel from 3.4.0 to 3.4.1 in the github-actions group
2 parents f7a1a0a + 88522af commit 8f49a55

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build_master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ jobs:
8888
8989
- name: Stubtest
9090
run: |
91-
stubtest netCDF4 --allowlist .github/stubtest-allowlist --mypy-config-file=pyproject.toml
91+
stubtest netCDF4 --allowlist .github/stubtest-allowlist --ignore-unused-allowlist --mypy-config-file=pyproject.toml
9292
mypy test
9393
mypy examples

.github/workflows/cibuildwheel.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
if: ${{ github.event_name }} == "pull_request"
8686

8787
- name: "Building ${{ matrix.os }} (${{ matrix.arch }}) wheels"
88-
uses: pypa/cibuildwheel@v3.4.0
88+
uses: pypa/cibuildwheel@v3.4.1
8989
env:
9090
CIBW_ARCHS: ${{ matrix.arch }}
9191

@@ -128,7 +128,7 @@ jobs:
128128
python=${{ matrix.python-version }} libnetcdf=4.9.3 --channel conda-forge
129129
130130
- name: Build wheels for Windows/Mac
131-
uses: pypa/cibuildwheel@v3.4.0
131+
uses: pypa/cibuildwheel@v3.4.1
132132
env:
133133
CIBW_ARCHS: ${{ matrix.arch }}
134134

@@ -167,7 +167,7 @@ jobs:
167167
echo "NETCDF4_DIR=C:\vcpkg\installed\arm64-windows" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
168168
169169
- name: Build wheels for Windows ARM64
170-
uses: pypa/cibuildwheel@v3.4.0
170+
uses: pypa/cibuildwheel@v3.4.1
171171
env:
172172
CIBW_ARCHS: ARM64
173173
CIBW_SKIP: "cp310-*"

src/netCDF4/__init__.pyi

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -385,13 +385,13 @@ class Dataset:
385385
def has_zstd_filter(self) -> bool: ...
386386
def has_bzip2_filter(self) -> bool: ...
387387
def has_szip_filter(self) -> bool: ...
388-
def __getitem__(self, elem: str) -> Any: ... # should be Group | Variable, but this causes too many problems
388+
def __getitem__(self, elem: str, /) -> Any: ... # should be Group | Variable, but this causes too many problems
389389
# __iter__ and __contains__ always error because iteration and membership ops are not allowed
390390
def __iter__(self) -> NoReturn: ...
391-
def __contains__(self, key) -> NoReturn: ...
392-
def __setattr__(self, name: str, value: Any) -> None: ...
393-
def __getattr__(self, name: str) -> Any: ...
394-
def __delattr__(self, name: str): ...
391+
def __contains__(self, key, /) -> NoReturn: ...
392+
def __setattr__(self, name: str, value: Any, /) -> None: ...
393+
def __getattr__(self, name: str, /) -> Any: ...
394+
def __delattr__(self, name: str, /): ...
395395
def __reduce__(self) -> NoReturn: ...
396396
def __enter__(self) -> Self: ...
397397
def __exit__(self, atype, value, traceback) -> None: ...
@@ -585,11 +585,11 @@ class Variable(Generic[VarT]):
585585
def set_ncstring_attrs(self, ncstring_attrs: bool) -> None: ...
586586
def set_collective(self, value: bool) -> None: ...
587587
def get_dims(self) -> tuple[Dimension, ...]: ...
588-
def __delattr__(self, name: str) -> None: ...
589-
def __setattr__(self, name: str, value: Any) -> None: ...
590-
def __getattr__(self, name: str) -> Any: ...
591-
def __getitem__(self, elem: Any) -> Any: ...
592-
def __setitem__(self, elem: Any, data: npt.ArrayLike) -> None: ...
588+
def __delattr__(self, name: str, /) -> None: ...
589+
def __setattr__(self, name: str, value: Any, /) -> None: ...
590+
def __getattr__(self, name: str, /) -> Any: ...
591+
def __getitem__(self, elem: Any, /) -> Any: ...
592+
def __setitem__(self, elem: Any, data: npt.ArrayLike, /) -> None: ...
593593
def __array__(self) -> np.ndarray: ...
594594
def __len__(self) -> int: ...
595595
def __iter__(self) -> Iterator[Any]: ... # faux method so mypy believes Variable is iterable

0 commit comments

Comments
 (0)