Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
af76e0a
MAINT: Bump actions/cache from 4.3.0 to 5.0.1
dependabot[bot] Dec 12, 2025
f6cec08
TYP: avoid using `np.` in `__init__.pyi`
jorenham Dec 13, 2025
a55bc64
TYP: alias `builtins.bool` as `py_bool` in `__init__.pyi`
jorenham Dec 13, 2025
70f3afe
TYP: prefer `str` over `builtins.str` in `__init__.pyi`
jorenham Dec 13, 2025
6158cbe
TYP: ``linalg.diagonal``: shape-typing and transparent dtypes
jorenham Dec 13, 2025
9a9cd1e
TYP: disable type-test on mypy due to a bug
jorenham Dec 13, 2025
9b89b76
TYP: ``linalg.trace``: shape-typing and transparent dtypes
jorenham Dec 14, 2025
271bb66
TYP: fix typo
jorenham Dec 14, 2025
1b5ac26
fix more data races in mtrand.pyx (#30426)
kumaraditya303 Dec 14, 2025
3504b62
MAINT: Bump actions/upload-artifact from 5.0.0 to 6.0.0
dependabot[bot] Dec 15, 2025
3c7bdb2
MAINT: Update msvc-allowed-warnings.txt
charris Dec 15, 2025
1584d09
MAINT: Bump astral-sh/setup-uv from 7.1.5 to 7.1.6 (#30436)
dependabot[bot] Dec 15, 2025
ee65644
TYP: ``linalg.lstsq``: shape-typing and transparent dtypes (#30433)
jorenham Dec 16, 2025
6c07321
TYP: ``linalg.solve`` and ``tensorsolve``: improved return dtype spec…
jorenham Dec 16, 2025
3459b17
MAINT: bump mypy from 1.19.0 to 1.19.1 (#30444)
jorenham Dec 16, 2025
365b1cc
TYP: ``linalg.outer``: shape-typing and transparent dtypes (#30443)
jorenham Dec 16, 2025
53820c5
MAINT: Bump egor-tensin/cleanup-path from 4.0.1 to 4.0.2 (#30448)
dependabot[bot] Dec 16, 2025
42d2d0d
TYP: ``linalg.*norm``: shape-typing and transparent dtypes (#30446)
jorenham Dec 16, 2025
dfe4f81
MAINT: Bump egor-tensin/setup-cygwin from 4.0.1 to 4.0.2
dependabot[bot] Dec 30, 2025
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
8 changes: 4 additions & 4 deletions .github/check-warnings/msvc-allowed-warnings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
C:\a\numpy\numpy\numpy\random\src\pcg64\pcg64.h(342): warning C4146: unary minus operator applied to unsigned type, result still unsigned
D:\a\numpy\numpy\numpy\random\src\pcg64\pcg64.h(342): warning C4146: unary minus operator applied to unsigned type, result still unsigned
cl : Command line warning D9025 : overriding '/arch:SSE2' with '/arch:AVX2'
numpy/random/_generator.cp312-win32.pyd.p/numpy/random/_generator.pyx.c(26290): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
numpy/random/_generator.cp312-win32.pyd.p/numpy/random/_generator.pyx.c(38314): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
numpy/random/_generator.cp312-win_arm64.pyd.p/numpy/random/_generator.pyx.c(26290): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
numpy/random/_generator.cp312-win_arm64.pyd.p/numpy/random/_generator.pyx.c(38314): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
numpy/random/_generator.cp312-win32.pyd.p/numpy/random/_generator.pyx.c(26329): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
numpy/random/_generator.cp312-win32.pyd.p/numpy/random/_generator.pyx.c(38353): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
numpy/random/_generator.cp312-win_arm64.pyd.p/numpy/random/_generator.pyx.c(26329): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
numpy/random/_generator.cp312-win_arm64.pyd.p/numpy/random/_generator.pyx.c(38353): warning C4244: 'function': conversion from 'int64_t' to 'double', possible loss of data
6 changes: 3 additions & 3 deletions .github/workflows/cygwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fetch-tags: true
persist-credentials: false
- name: Install Cygwin
uses: egor-tensin/setup-cygwin@d2c752bab416d4b0662591bd366fc2686297c82d # v4
uses: egor-tensin/setup-cygwin@fca9069f92361187d4abfaa5d8a7490e435d8349 # v4
with:
platform: x86_64
install-dir: 'C:\tools\cygwin'
Expand All @@ -37,7 +37,7 @@ jobs:
python-setuptools-wheel liblapack-devel liblapack0 gcc-fortran
gcc-g++ git dash cmake ninja
- name: Set Windows PATH
uses: egor-tensin/cleanup-path@f04bc953e6823bf491cc0bdcff959c630db1b458 # v4.0.1
uses: egor-tensin/cleanup-path@64ef0b5036b30ce7845058a1d7a8d0830db39b94 # v4.0.2
with:
dirs: 'C:\tools\cygwin\bin;C:\tools\cygwin\lib\lapack'
- name: Verify that bash is Cygwin bash
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
cd tools
/usr/bin/python3.9 -m pytest --pyargs numpy -n2 -m "not slow"
- name: Upload wheel if tests fail
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: failure()
with:
name: numpy-cygwin-wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux_qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
sudo apt install -y ninja-build gcc-${TOOLCHAIN_NAME} g++-${TOOLCHAIN_NAME} gfortran-${TOOLCHAIN_NAME}

- name: Cache docker container
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: container-cache
with:
path: ~/docker_${{ matrix.BUILD_PROP[1] }}
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
sudo apt install -y ninja-build gcc-14-${TOOLCHAIN_NAME} g++-14-${TOOLCHAIN_NAME} gfortran-14-${TOOLCHAIN_NAME}

- name: Cache docker container
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: container-cache
with:
path: ~/docker_${{ matrix.BUILD_PROP[1] }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT

- name: Setup compiler cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: cache-ccache
with:
path: ${{ steps.prep-ccache.outputs.dir }}
Expand All @@ -73,7 +73,7 @@ jobs:
# ensure we re-solve once a day (since we don't lock versions). Could be
# replaced by a conda-lock based approach in the future.
- name: Cache conda environment
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
env:
# Increase this value to reset cache if environment.yml has not changed
CACHE_NUMBER: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
submodules: recursive
fetch-tags: true
persist-credentials: false
- uses: astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a # v7.1.5
- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
python-version: ${{ matrix.os_python[1] }}
activate-environment: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mypy_primer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ jobs:
run: |
echo ${{ github.event.pull_request.number }} | tee pr_number.txt
- name: Upload mypy_primer diff + PR number
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: ${{ matrix.shard-index == 0 }}
with:
name: mypy_primer_diffs-${{ matrix.shard-index }}
path: |
diff_${{ matrix.shard-index }}.txt
pr_number.txt
- name: Upload mypy_primer diff
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: ${{ matrix.shard-index != 0 }}
with:
name: mypy_primer_diffs-${{ matrix.shard-index }}
Expand All @@ -96,7 +96,7 @@ jobs:
contents: read
steps:
- name: Merge artifacts
uses: actions/upload-artifact/merge@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact/merge@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: mypy_primer_diffs
pattern: mypy_primer_diffs-*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable
# uploads of run results in SARIF format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: SARIF file
path: results.sarif
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stubtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
fetch-tags: true
persist-credentials: false

- uses: astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a # v7.1.5
- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
python-version: ${{ matrix.py }}
activate-environment: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
env:
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}

- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: ${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }}
path: ./wheelhouse/*.whl
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
- pytest-xdist
- hypothesis
# For type annotations
- mypy=1.19.0
- mypy=1.19.1
- orjson # makes mypy faster
# For building docs
- sphinx>=4.5.0
Expand Down
Loading