8000 DEP: Deprecate setting the strides and dtype of a numpy array by eendebakpt · Pull Request #28901 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DEP: Deprecate setting the strides and dtype of a numpy array #28901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from

ruff

e52e6ca
Select commit
Loading
Failed to load commit list.
Closed

DEP: Deprecate setting the strides and dtype of a numpy array #28901

ruff
e52e6ca
Select commit
Loading
Failed to load commit list.
Cirrus CI / freebsd_test failed Jun 19, 2025 in 1m 14s

Task Summary

Instruction clone failed in 00:19

Details

✅ 00:51 install_devtools
❌ 00:19 clone

if [ -z "$CIRRUS_PR" ]; then
  # if you're not in a PR then clone against the branch name that was pushed to.
  git clone --recursive --branch=$CIRRUS_BRANCH https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR
  git reset --hard $CIRRUS_CHANGE_IN_REPO
else
  # it's a PR so clone the main branch then merge the changes from the PR
  git clone https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR
  git fetch origin pull/$CIRRUS_PR/head:pull/$CIRRUS_PR

  # CIRRUS_BASE_BRANCH will probably be `main` for the majority of the time
  # However, if you do a PR against a maintenance branch we will want to
  # merge the PR into the maintenance branch, not main
  git checkout $CIRRUS_BASE_BRANCH

  # alpine git package needs default user.name and user.email to be set before a merge
  git -c user.email="you@example.com" merge --no-commit pull/$CIRRUS_PR
  git submodule update --init --recursive
fi
Cloning into '/tmp/cirrus-ci-build'...
From https://github.com/numpy/numpy
 * [new ref]               refs/pull/28901/head -> pull/28901
Already on 'main'
Your branch is up to date with 'origin/main'.
Auto-merging numpy/__init__.pyi
Auto-merging numpy/_core/tests/test_api.py
CONFLICT (content): Merge conflict in numpy/_core/tests/test_api.py
Auto-merging numpy/_core/tests/test_deprecations.py
Auto-merging numpy/_core/tests/test_dtype.py
Auto-merging numpy/_core/tests/test_half.py
Auto-merging numpy/_core/tests/test_multiarray.py
Auto-merging numpy/_core/tests/test_nditer.py
Auto-merging numpy/_core/tests/test_regression.py
Auto-merging numpy/lib/_npyio_impl.py
Auto-merging numpy/ma/core.py
Auto-merging numpy/typing/__init__.py
Automatic merge failed; fix conflicts and then commit the result.
0