8000 ENH: Virtually implement __buffer__ for Python < 3.12 by Andrej730 · Pull Request #26784 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Virtually implement __buffer__ for Python < 3.12 #26784

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 3 commits into from

simplify Buffer import in array_constructors.pyi

57fd75b
Select commit
Loading
Failed to load commit list.
Closed

ENH: Virtually implement __buffer__ for Python < 3.12 #26784

simplify Buffer import in array_constructors.pyi
57fd75b
Select commit
Loading
Failed to load commit list.
Cirrus CI / linux_aarch64_test failed Sep 2, 2024 in 23s

Task Summary

Instruction clone failed in 00:21

Details

❌ 00:21 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/26784/head -> pull/26784
Already on 'main'
Your branch is up to date with 'origin/main'.
Auto-merging numpy/__init__.pyi
CONFLICT (content): Merge conflict in numpy/__init__.pyi
Auto-merging numpy/_typing/_array_like.py
CONFLICT (content): Merge conflict in numpy/_typing/_array_like.py
Auto-merging numpy/typing/tests/data/reveal/array_constructors.pyi
Automatic merge failed; fix conflicts and then commit the result.
0