8000 fix build by TimotheusBachinger · Pull Request #27836 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

fix build #27836

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 644 commits into from
Closed

fix build #27836

wants to merge 644 commits into from

Conversation

TimotheusBachinger
Copy link
  • DOC: Try to clarify the NPY_TARGET_VERSION release note
  • Update doc/source/release/1.25.0-notes.rst
  • MAINT: Update download-wheels.
  • NEP: Fix NEP 53 file format and minor formatting issue
  • DOC: Fix reference in NEP 53
  • DOC: update distutils migration guide (DOC: update distutils migration guide #23836)
  • TYP: Add annotations for the np.dtype metadata parameter
  • DOC: Document the metadata parameter of the dtype constructor
  • MAINT: Use --allow-downgrade option for rtools.
  • BUG: Allow np.info on non-hashable objects with a dtype (BUG: Allow np.info on non-hashable objects with a dtype #23911)
  • Disable SIMD based code for float64 sin/cos
  • Modify max ulp error for sin/cos in validation data set
  • BUG: Fixup for win64 fwrite issue
  • BUG: Fix NpyIter cleanup in einsum error path
  • DOC: Update required C++ version in building.rst (and copy-edit). (DOC: Update required C++ version in building.rst (and copy-edit). #23943)
  • fix for vec_st error
  • MAINT: Upgrade install-rtools version
  • Bump array API version in numpy.array_api
  • Add complex dtypes to numpy.array_api result_type
  • Add complex dtypes to the array_api top-level namespace
  • Update numpy.array_api magic methods for complex numbers
  • Add conj, imag, and real functions to numpy.array_api
  • Update numpy.array_api sum() and prod() to handle complex dtypes
  • Add isdtype() to numpy.array_api
  • Add a release notes entry
  • Update dtype strictness for complex numbers in array_api elementwise functions
  • Update dtype strictness for array_api statistical functions
  • Update dtype strictness in array_api searching and sorting functions
  • Add the dtype argument to numpy.array_api.linalg.trace
  • Add dtype to the output of array_api finfo and iinfo
  • Add a note that we are skipping numpy.array_api.fft for now
  • Fix complex type annotation
  • BUG: Fix AVX2 intrinsic npyv_store2_till_s64 on MSVC > 19.29
  • BUG: add copy parameter for api.reshape function
  • fixup: linting issue
  • fixup: linting issue
  • enable copy=False
  • fixup: more linter issues
  • release note
  • Shorten release note to single point
  • delete 23789.new_feature.rst from this PR
  • TEST: change subprocess call to capture stderr too
  • REL: Prepare for the NumPy 1.25.0 release
  • MAINT: prepare 1.25.x for further development
  • BLD: Port long double identification to C for meson
  • BUG: Fix reduction return NULL to be goto fail
  • BUG: Avoid undefined behavior in array.astype()
  • TST: add test for empty astype call
  • BUG: Ensure array_ufunc works without any kwargs passed
  • MAINT: Pin urllib3 to avoid anaconda-client bug.
  • TST: Pin pydantic<2 in Pyodide workflow
  • put pinning in quotes
  • MAINT: Bump pypa/cibuildwheel from 2.13.0 to 2.13.1
  • MAINT: Bump actions/checkout from 3.5.2 to 3.5.3
  • BUG: Multiple or Divides using SIMD without a full vector can cause divide-by-zero
  • MAINT: testing for IS_MUSL
  • BUG: Only replace dtype temporarily if dimensions changed
  • TST: Its currently the itemsize (probably some weird leftover)
  • MAINT: Bump actions/setup-node from 3.6.0 to 3.7.0
  • BUG: fix BUG: f2py wraps private entities  #23879 for private procedures
  • TST: f2py BUG: f2py wraps private entities  #23879 on private module proceedures
  • BUG: Fix overly aggressive skipfuncs additions
  • MAINT: No printing in f2py tests
  • MAINT: Cleaner formatting
  • REL: Prepare for the NumPy 1.25.1 release.
  • MAINT: prepare 1.25.x for further development
  • ENH: Improve clang-cl compliance
  • ENH: Enable FPU Mode return for clang-cl
  • TST: Add clang-cl run
  • TST: Xfail tests when using clang-cl
  • MAINT: Update test_einsum from main.
  • MAINT: Update test_requirements.txt from main.
  • MAINT: Update {doc|test}_requirements.txt
  • MAINT: Bump larsoner/circleci-artifacts-redirector-action
  • MAINT: Bump pypa/cibuildwheel from 2.13.1 to 2.14.0
  • MAINT: Bump actions/setup-python from 4.6.1 to 4.7.0
  • MAINT: Update cibuildwheel to 2.14.0
  • BLD: use -ftrapping-math with Clang on macOS
  • BUG: properly handle negative indexes in ufunc_at fast path
  • BUG: PyObject_IsTrue and PyObject_Not error handling in setflags
  • BUG: histogram small range robust
  • MAINT: Update meson.build files from main branch
  • BLD: also backport additions to meson_options.txt
  • BLD: put back install of two files still needed for tests
  • MAINT: Ignore 16 bit avx512 for old versions of binutils.
  • MAINT: exclude min, max and round from np.__all__
  • MAINT: Bump pypa/cibuildwheel from 2.14.0 to 2.14.1
  • MAINT: Bump larsoner/circleci-artifacts-redirector-action
  • BUG: Fix the signature for np.array_api.take
  • BLD: update OpenBLAS to an intermeidate commit
  • Fix reference count leak in str(scalar).
  • BUG: fix invalid function pointer conversion error
  • BUG: Factor out slow getenv call used for memory policy warning
  • MAINT: Fix naming conflict in backport of moving getenv mempolicy warning
  • CI: correct URL in cirrus.star [skip cirrus]
  • BUG: Fix C types in scalartypes
  • TST: add failing test
  • BUG: fix for modifying the index arg in ufunc_at
  • BUG: Further fixes to indexing loop and added tests
  • REL: Prepare for the NumPy 1.25.2 release.
  • REL: Begin NumPy 1.26.0 development
  • MAINT: Prepare 1.26.x branch for development (MAINT: Prepare 1.26.x branch for development #24305)
  • MAINT: Massive update of files from main for numpy 1.26 (MAINT: Massive update of files from main for numpy 1.26 #24308)
  • BLD: update tools/wheels/ for the move to Meson
  • CI: ensure tests in cibuildwheel jobs run in parallel
  • TST: disable mypy tests in test suite unless an environment variable is set
  • BLD: silence a build warning from a run_command call
  • CI: also build PyPy 3.9 wheels
  • TST: fix issues with Python 3.12 support [wheel build]
  • BLD: update openblas to newer version
  • TYP: Trim down the _NestedSequence.__getitem__ signature
  • BUG: fix choose refcount leak
  • BUG: PR 24188 revisions
  • MAINT: PR 24188 revisions
  • MAINT: Use explicit copy path in choose based on refcheck
  • BUG: Remove unnecessary (and now also segfaulting) iterator creation
  • ENH: Use memcpy and swap order
  • TST: fix running the test suite in builds without BLAS/LAPACK
  • BUG: random: Fix generation of nan by dirichlet.
  • MAINT: Dependabot updates from main
  • MAINT: Add back NPY_RUN_MYPY_IN_TESTSUITE=1
  • MAINT: Update extbuild.py from main.
  • TST: fix distutils tests for deprecations in recent setuptools versions
  • MAINT: Fix long line
  • MAINT: Bump pypa/cibuildwheel from 2.14.1 to 2.15.0
  • MAINT: Update cibuildwheel for cirrus builds
  • MAINT: Fix codespaces setup.sh script (MAINT: Fix codespaces setup.sh script #24381)
  • VENDOR: vendor our friendly fork of Meson
  • BLD: build with our numpy fork of meson
  • DEV: disable auto-invoking pip on building docs with spin
  • CI: fix sdist and musllinux jobs
  • BLD: use numpy's friendly fork of meson-python
  • DEV: vendor spin's meson.py, modified to use our vendored Meson
  • CI: fix Windows GHA jobs for vendored meson-python and spin
  • BLD, SIMD: The meson CPU dispatcher implementation (BLD, SIMD: The meson CPU dispatcher implementation  #23096)
  • MAINT: Remove versioneer (MAINT: Remove versioneer #24196)
  • REL: Prepare for the NumPy 1.26.0b1 release.
  • MAINT: Pin upper version of sphinx.
  • ENH: Add prefix to _ALIGN Macro
  • BUG: cleanup warnings [skip azp][skip circle][skip travis][skip cirrus]
  • Upgrade to spin 0.5
  • BUG: asv dev has been removed, use asv run.
  • BUG: Fix meson build failure due to uncleaned inplace auto-generated dispatch config headers
  • BUG: fix issue with git-version script, needs a shebang to run
  • use a default assignment for git_hash [skip ci]
  • BUG: fix NPY_cast_info error handling in choose
  • BUG: Hotfix for handling common blocks in f2py
  • TST: Add a test for BUG: crackfortran.py fails with 'common' blocks with Numpy version > 1.20 #22648
  • CI,TYP: Bump mypy to 1.3.0
  • TYP: Improve function-based annotations with typing.Concatenate
  • CI: Avoid overriding MYPYPATH
  • TYP: Bump mypy to 1.5.1
  • TYP: Lower the mypy pin to 1.4.1
  • TYP,TST: Adapt the typing test suite to mypy >=1.4 changes
  • TYP: guard typing_extensions usage for <py310, add it back in environment.yml
  • BUG: Fix f2py F77 assumed length issues
  • TST: Add a test for assumed length F77
  • MAINT: move gh24008 to test_character
  • BUG: Rework character array assignments (BUG: f2py cannot compile files it used to be able to compile  #24008)
  • TST: Stop marking small f2py tests as slow
  • MAINT: Harmonize fortranobject (MAINT: Harmonize fortranobject, drop C99 style for loop #24517)
  • TYP: add kind argument to numpy.isin type specification (TYP: add kind argument to numpy.isin type specification #24527)
  • BUG: fix comparisons between masked and unmasked structured arrays
  • BUG: ensure mask on comparison results always has properly broadcast shape
  • BUG: ensure nomask in comparison result is not broadcast
  • CI: Exclude import libraries from list of DLLs on Cygwin.
  • BLD: fix _umath_linalg dependencies (BLD: fix _umath_linalg dependencies #24584)
  • MAINT: Stop testing on ppc64le.
  • BLD: meson-cpu: fix SIMD support on platforms with no features
  • BUG: Change Cython binding directive to "False".
  • ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including ILP64 (ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including ILP64 #24053)
  • DOC: Update building docs to use Meson (DOC: Update building docs to use Meson #24573)
  • TYP: Add the missing casting keyword to np.clip
  • TST: convert cython test from setup.py to meson (TST: convert remaining setup.py tests to meson instead #24206)
  • MAINT: Fixup fromnumeric.pyi
  • MAINT: fix ISO_C type maps in f2py
  • TST: Add a test for BUG,MAINT: f2py doesn't map iso_c_binding values by default #24553
  • DOC: Add a news fragment for iso_c_binding [f2py]
  • MAINT: Rework to keep older logic
  • MAINT: Move into private module
  • MAINT: Add a kind_map for function use
  • ENH: Rework bind(c) detection
  • ENH: Add bind(c) to function subroutine bindings
  • MAINT: Do not use bind(c) for subroutine wrappers
  • MAINT: Use iso_c_binding where necessary
  • ENH: Load iso_c_binding module only when needed
  • MAINT: Fix regep for bind matches
  • MAINT: More robust test for using iso_c_binding
  • MAINT: Be more forgiving with bindc matches
  • TST: Add more tests for iso_c_binding
  • DOC: Add a release note
  • MAINT: Rename docstring, modify tests
  • TYP: Allow binary_repr to accept any object implementing __index__
  • TYP: Explicitly declare dtype and generic hashable
  • TYP: Refactor the typing reveal-test cases using typing.assert_type
  • TYP: Refactor the typing misc-tests cases using typing.assert_type
  • TYP: Overhaul the typing test suite
  • TYP: Bump mypy to 1.5.1
  • TYP: More np.ctypeslib test fixes for windows
  • MAINT: Bump actions/checkout from 3.6.0 to 4.0.0
  • ENH: meson backend for f2py (ENH: meson backend for f2py #24532)
  • SIMD: Refactor partial load Workaround for Clang
  • REL: Prepare for the NumPy 1.26.0rc1 release.
  • BLD: allow specifying the long double format to avoid the runtime check
  • BLD: fix bug in random.mtrand extension, don't link libnpyrandom
  • TST: random: skip test for extending with Cython on 32-bit Windows
  • BLD: build wheels for 32-bit Python on Windows, using MSVC [wheel build]
  • BLD: fix issue with compiler selection during cross compilation
  • TST: Add test for BUG: f2py data statement not parsed correctly for arrays #23276
  • BUG: Simplify and fix BUG: f2py data statement not parsed correctly for arrays #23276
  • TST: Add tests for edge case with data statements
  • MAINT: Add a helper
  • BUG: Handle data statements in pyf files correctly
  • TYP: Add annotations for the py3.12 buffer protocol
  • TYP: Use collections.abc.Buffer in the Array API
  • TYP: Use collections.abc.Buffer in the npt.ArrayLike definition
  • DOC: Fix doc build warning for random.
  • DOC: fix two cross-references to SciPy docs in "building from source"
  • DEV: improve spin docs command
  • REL: Prepare for the NumPy 1.26.0 release
  • MAINT: prepare 1.26.x for further development
  • MAINT: Update cibuildwheel-version
  • MAINT: fix version string in wheels built with setup.py
  • BLD, BUG: Fix build failure for host flags e.g. -march=native on unsupported architectures
  • DOC: Updated the meson page to reflect the new meson defaults related to DOC: the f2py meson backend no longer passes -fimplicit-none #24550
  • BUG: Fix SIMD f32 trunc test on s390x when baseline is none
  • BLD: add libquadmath to licences and other tweaks (BLD: add libquadmath to licences and other tweaks #24753)
  • MAINT: Activate use-compute-credits for Cirrus.
  • BLD: updated vendored-meson/meson for mips64 fix
  • MAINT: fix licence path win
  • BUG: Fix order of Windows OS detection macros. (BUG: Fix order of Windows OS detection macros. #24762)
  • align test_dispatcher s390x targets with _umath_tests_mtargets
  • BUG, SIMD: use scalar cmul on bad Apple clang x86_64 (BUG, SIMD: use scalar cmul on bad Apple clang x86_64 #24828)
  • TMP: Hide in a try except
  • TST: Add examples for BUG: f2py DATA statement failures #24746
  • BUG,MAINT: Fallback to old behavior on F77
  • MAINT: Minor cleanup
  • MAINT: Refactor changes to be clearer
  • TST: More tests for BUG: f2py DATA statement failures #24746
  • BUG: Fix handling of data statements
  • MAINT: Cleanup as per review
  • ENH: Fix DATA with * statements
  • TST: Add check for multipliers in data [f2py]
  • Add NumpyUnpickler
  • MAINT: Xfail test failing on PyPy.
  • BLD: fix math func feature checks, fix FreeBSD build, add CI job (BLD: fix math func feature checks, fix FreeBSD build, add CI job #24876) (BLD: fix math func feature checks, fix FreeBSD build, add CI job  #24879)
  • ENH: meson: implement BLAS/LAPACK auto-detection and many CI jobs [wheel build]
  • MAINT: Update spin/cmds.py from main.
  • MAINT: Use linux_musl.yml from main.
  • MAINT: Update pyproject.toml
  • DEV: backport _distributor_init.py change to support scipy-openblas
  • BLD: update setup.py 8000 build for changes to ILP64 build config
  • DOC: add a 1.26.1 release notes section for BLAS/LAPACK build changes
  • MAINT: Backport numpy._core stubs. Remove NumpyUnpickler
  • MAINT: Bump pypa/cibuildwheel from 2.16.1 to 2.16.2
  • BUG: loongarch doesn't use REAL(10)
  • REL: Prepare for the NumPy 1.26.1 release
  • MAINT: Revert cibuildwheel update
  • REL: Update release versions
  • REL: prepare 1.26.x for further development
  • ENH: Add Cython enumeration for NPY_FR_GENERIC (ENH: Add Cython enumeration for NPY_FR_GENERIC #24923)
  • REL: Remove Python upper version from the release branch
  • BLD: Use the correct Python interpreter when running tempita.py
  • MAINT: Remove unhelpful error replacements from import_array()
  • BLD: use classic linker on macOS, the new one in XCode 15 has issues
  • BLD: only check for scipy-openblas dependency with pkg-config
  • BLD: musllinux_aarch64 [wheel build]
  • MAINT: Update mailmap
  • MAINT: Split up .github/workflows to match main
  • MAINT: Fix spelling error that slipped in somewhere
  • CI: Switch SIMD tests to meson
  • MAINT: Update vendored-meson/meson to ea5809096.
  • MAINT: Update meson build infrastructure. (MAINT: Update meson build infrastructure. #25049)
  • BUG: Resolve build issue on ppc64 with Power9 or higher as baseline
  • Add VX targets for dispatch-able sources of the umath multi-targets tests
  • BLD: Fix features.h detection for Meson builds
  • BUG: Avoid intp conversion regression in Cython 3 (backport)
  • TST: Check that Cython intp conversion uses normal integer rules
  • TST: add a test
  • BLD: blocklist complex trig functions on musl
  • CI: remove GHA job that built with setup.py and ILP64 OpenBLAS
  • CI: move conda and macOS Azure job to Meson
  • CI: factor out custom code checks (ninja, vulture, test_* installed)
  • CI: remove macOS and conda jobs from Azure
  • CI: Provides cross-compile builds for armhf, ppc64le, and s390x
  • CI: Fix the cache path of Linux QEMU
  • MAINT: Remove .travis.yml.
  • BUG: Fix build on ppc64 when the baseline set to Power9 or higher
  • MAINT: Fix flaky test and update windows.yml action.
  • MAINT: Update .spin/cmds.py from main.
  • DOC: Visually divide main license and bundled licenses in wheels
  • DOC: Visually divide main license and bundled licenses in wheels
  • MAINT: Add missing noexcept to shuffle helpers
  • DOC: Fix license identifier for OpenBLAS
  • DOC: Fix license identifier for OpenBLAS
  • DOC: Fix license identifier for OpenBLAS
  • CI: add a split Netlib BLAS job, no pkg-config, with OpenSUSE container
  • CI: add blas, cblas and lapack to FreeBSD CI job
  • MAINT: Make bitfield integers unsigned
  • BUG: Make n a long int for np.random.multinomial
  • BLD: change default of the allow-noblas option to true.
  • BUG: ensure passing np.dtype to itself doesn't crash
  • REL: Prepare for the NumPy 1.26.2 release
  • MAINT: prepare 1.26.x for further development
  • MAINT: Pin scipy-openblas version.
  • TYP: add None to __getitem__ in numpy.array_api (TYP: add None to __getitem__ in numpy.array_api #25022)
  • BLD,BUG: quadmath required where available [f2py]
  • DOC: Add a pointer to the SciPy fortran doc
  • DOC: Adapt comment on supported toolchains
  • BUG: alpha doesn't use REAL(10)
  • BUG: Fix FP overflow error in division when the divisor is scalar
  • ENH: Disable SIMD single-precision division optimization on armv7
  • BUG: Fix numpy.f2py to enable use of string optional inout argument
  • MAINT: Be explicit about failure modes [f2py-str]
  • TST: Add MAINT, DOC: fix typos found by codespell #24781 for string inout optional [f2py]
  • TST: Add a check for non-ndarray string types
  • Fix -fsanitize=alignment issue in numpy/_core/src/multiarray/arraytypes.c.src
  • TST: Build cython checks testing module only once
  • TST: Explicitly pass NumPy path to cython during tests
  • BUG: fix issues with newaxis and linalg.solve in numpy.array_api
  • TST: Add one for DOC: Clarify the interaction between -m MODULENAME and .pyf files #22819
  • BUG: Correctly disallow shadowed modulenames
  • MAINT: Strengthen the validation of pyf files
  • TST: Add tests for CLI .pyf file work
  • MAINT: Fix implementation for gh22819 [f2py]
  • DOC: Add an entry to the changelog [f2py]
  • DOC: Rework documentation on -m [f2py]
  • MAINT: Handle case where -m is None
  • MAINT: Fix sneaky typo [f2py]
  • TST: Ensure f2py defaults are tested
  • MAINT: Fix misspelling of _backends
  • MAINT: Don't escape newlines from f2py [f2py]
  • MAINT: Create a useblocks function [f2py]
  • BUG: Add use-block handling for common blocks
  • TST: Add a test for f2py - f2cmap fails on common blocks in f90 #19161 [f2py]
  • DOC: Add a note to the release [f2py] common-kind
  • BUG: Don't try to grab callback modules
  • TST: Add one for gh25211
  • BUG: Fix moving compiled executable to root with f2py -c on Windows
  • BUG: Fix single to half-precision conversion on PPC64/VSX3
  • TST: f2py: fix issue in test skip condition
  • Revert "MAINT: Pin scipy-openblas version."
  • MNT: do not use long type
  • BLD: sync azure buld commands with main
  • Restore missing asstr import
  • TST: PyPy needs another gc.collect on latest versions
  • CI: Install Lapack runtime on Cygwin.
  • MAINT: Bump conda-incubator/setup-miniconda from 2.2.0 to 3.0.0
  • MAINT: Bump conda-incubator/setup-miniconda from 3.0.0 to 3.0.1
  • BLD: update vendored Meson for AIX shared library fix
  • Init base in cpu_avx512_kn
  • Update C syntax
  • Fix failing test_features on SapphireRapids
  • BUG: Fix non-contiguous memory load when ARM/Neon is enabled
  • MAINT,BUG: Never import distutils above 3.12 [f2py] (MAINT,BUG: Never import distutils above 3.12 [f2py] #25123)
  • MAINT: make the import-time check for old Accelerate more specific
  • BUG: fix macOS version checks for Accelerate support
  • MAINT: Bump actions/setup-node from 3.8.1 to 4.0.1
  • MAINT: Bump larsoner/circleci-artifacts-redirector-action
  • BUG: avoid seg fault from OOB access in RandomState.set_state()
  • TST: Add one for BUG: f2py does not generate wrappers for modules when compiling multiple files (regression) #25337
  • BUG: Fix BUG: f2py does not generate wrappers for modules when compiling multiple files (regression) #25337 [f2py]
  • BUG: Fix two errors related to not checking for failed allocations
  • CI: enables tests on spr and tgl using Intel SDE
  • Add inline keywork to avx512_qsort _Float16
  • Include 16-bit qsort for both dispatches
  • BLD: fix uninitialized variable warnings from simd/neon/memory.h
  • TST: Add one for BUG: c2capi_map entries missing for iso_c_binding in f2py #25207
  • BUG: Work with the ISOC_BINDINGS more consisently
  • MAINT: Kill now unused deep-merge [f2py]
  • ENH: Populate all maps for iso_c bindings
  • MAINT: Correctly return mapped types [f2py]
  • DOC: Add a note on the iso_c2py_map implementation
  • MAINT: Reduce chatter to pass tests
  • BUG: Map to types with bindings [f2py]
  • TST: Add a another test for BUG: c2capi_map entries missing for iso_c_binding in f2py #25207
  • BUG: Fix module name bug in signature files [urgent] [f2py] (BUG: Fix module name bug in signature files [urgent] [f2py] #25267)
  • BUG: Handle .pyf.src again
  • MAINT: Migrate pyf.src from distutils [skip-ci]
  • Revert "BUG: Handle .pyf.src again"
  • BUG: Ensure defines are on newlines [f2py]
  • BUG: Don't lower .pyf files
  • TST: Add a test mimicing some flapack checks
  • BUG: Don't autogenerate untitled modules [f2py]
  • MAINT: Overwrite compiled extensions with meson
  • DOC: Rework the build tools page [f2py]
  • DOC: Cleanup and add some examples
  • DOC: Update example list and sources [f2py]
  • DOC: Cleanup F2Py doc with reduced distutils info
  • DOC: More directives and reworked [f2py] text
  • DOC: Begin disutils to meson cheatsheet
  • DOC: Aggressively link to new document
  • BUG: Add external library handling for meson [f2py]
  • Run f2py's meson backend with the same python that ran f2py
  • MAINT: Update numpy/f2py/_backends from main.
  • MAINT: Easy updates of f2py/*.py from main.
  • MAINT: Update crackfortran.py and f2py2e.py from main
  • REL: Prepare for the NumPy 1.26.3 release
  • MAINT: prepare 1.26.x for further development
  • BUG: array_api: fix cholesky upper decomp for complex dtypes [skip travis] [skip azp] [skip circle] [skip cirrus]
  • CI: Bump azure pipeline timeout to 120 minutes
  • MAINT, BLD: Fix unused inline functions warnings on clang
  • MAINT: Comment in the unused overload of call_geev
  • BLD: include fix for MinGW platform detection
  • TST: Fix test_numeric on riscv64
  • BLD: fix building for windows ARM64
  • MAINT: add newaxis to __all__ in numpy.array_api
  • BUG: Use large file fallocate on 32 bit linux platforms
  • TST: Fix test_warning_calls on Python 3.12
  • TST: Bump pytz to 2023.3.post1
  • BUG: Fix AVX512 build flags on Intel Classic Compiler
  • MAINT: Bump actions/checkout in macos.yml
  • BLD: fix potential issue with escape sequences in __config__.py
  • CI: pin cygwin python to 3.9.16-1 [skip cirrus][skip azp][skip circle]
  • TST: marks on a fixture have no effect
  • MAINT: Bump cibuildwheel to v2.16.4
  • BLD: remove last usage of distutils in _core/code_generators/
  • BLD: unvendor meson-python [wheel build]
  • CI: upgrade cibuildwheel from 2.16.4 to 2.16.5 [wheel build]
  • MAINT: Include header defining backtrace
  • BUG: Fix np.quantile([Fraction(2,1)], 0.5) (BUG: Fix np.quantile([Fraction(2,1)], 0.5) #24711)
  • REL: Prepare for the NumPy 1.26.4 release
  • Pin ninja in build requirements

charris and others added 30 commits October 18, 2023 18:56
ENH: Add Cython enumeration for NPY_FR_GENERIC
While the upper version is technically correct for the released
version of NumPy (we are sure it will not work on Python 3.13)
advertising it creates some problems, mostly for locking resolvers.
They try to guess correct versions for non-released Python versions...

This is probably an ecosystem or just "reasons", but it seems less
useful than trouble to do the correct advertising here.

See numpygh-24810 for *way* too much discussion about the why (and you will
still be confused afterwards probably, so...).
This needs to be fixed or at least documented clearer upstream by
PyPA or similar, but...

Closes numpygh-24810
REL: Remove Python upper version from the release branch
When a program located by find_program is executable directly, meson
will execute it. If it is a script, its shebang (#!) line will control
which interpreter is used. tempita.py specifies a standard shebang line
of #!/usr/bin/env python3, so that python3 can be located by PATH
lookup.

In cases where python3 as found in the PATH is not correct, such as on
systems that have multiple copies of python3 installed when building
numpy for one that is not the python3 found by searching PATH, this
interpreter will be wrong. When the python3 found by this mechanism
doesn't have Cython available, it will cause the numpy build to fail.

With the executable bit removed from tempita.py, meson will scan the
script when attempting to execute it, locating the shebang line and
substituting the appropriate sys.executable. See
https://github.com/numpy/meson/blob/22df45a31981874310a78dde0df59a6a7c5ebb29/mesonbuild/programs.py#L179.
Replacing the original error is just not useful and actively unhelpful
since the original array may have more information.

We could chain the error, but there seems little reason to do so.
BLD: Use the correct Python interpreter when running tempita.py
MAINT: Remove unhelpful error replacements from ``import_array()``
This is a custom-built wheel that can only be detected through
pkg-config. So trying other methods just costs time and increases
the size of `meson-log.txt`.
BLD: use classic linker on macOS, the new one in XCode 15 has issues
BLD: musllinux_aarch64 [wheel build]
This is a backport of numpy#24493 and numpy#24291. The purpose of
this is to ease future backports that expect these files.

- CI: move some jobs in `build_test.yml` to Meson

- CI: split `build_test.yml` into three GHA jobs files

  Also documents better what is being run. See numpygh-24410 for the
  overall restructuring plan for GitHub Actions CI.

- CI: merge `linux_meson.yml` into `linux_blas.yml`

- TST: disable mypy tests in test suite unless an environment variable is set

  These tests are super slow, and they're effectively always passing in CI.
  Running them on all "full" test suite runs is too expensive. Note that
  SciPy has an XSLOW mark, NumPy does not. So use an env var for now.

- CI: add new GHA CI jobs to run MyPy across OS/Python flavors
typing_nptensions -> typing_extensions
MAINT: Split up .github/workflows to match main
Backports of numpy#24969, numpy#24979, numpy#24968, numpy#25068.

* apply 24969.diff

* apply 24979.diff

* apply 24968.diff

* TST: skip flaky test in test_histogram

---------

Co-authored-by: mattip <matti.picus@gmail.com>
  This fix addresses two issues:
   * Corrects the use of unsupported instructions by the assembler
     in half-precision to double-precision conversion.
   * Resolves a code error related to variable naming during conversion.

  It also:
   * Implement a compile-time test on PPC64 to determine support for Half/Double
     VSX3 instructions by the assembler
   * Modify half-precision tests to deal with FP HW exceptions
MAINT: align test_dispatcher s390x targets with _umath_tests_mtargets
BUG: Backport fix build on ppc64 when the baseline set to Power9 or higher
Fixes function blocklisting for glibc<2.18, reported in issue numpygh-25087.

Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
This is the minimal backport version of numpygh-25094, which simply aligns
the Cython 2 and Cython 3 definitions.
Signed-off-by: mattip <matti.picus@gmail.com>
BUG: Avoid intp conversion regression in Cython 3 (backport)
charris and others added 29 commits January 18, 2024 16:05
Using a local prototype for fallocate instead of the fcntl.h header
meant that the redirect triggered by -D_FILE_OFFSET_BITS=64 was not
triggered.

The prototypes in feature_detection_stdio.h should only be used by
functions in setup_common.py. If they are used by the feature
discovery code they might trigger false positives.
It currently raises a warning:
```
DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
```
AFAICT, the `value` attribute has always existed (at least in supported
versions of Python 3.)
This version fixes the DeprecationWarning in Python 3.12:
```
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated
and scheduled for removal in a future version. Use timezone-aware
objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
```
TST: Fix test_warning_calls on Python 3.12
BUG: Fix AVX512 build flags on Intel Classic Compiler
Backport of numpy#25669.

The current code isn't robust to backslashes (from path segments on
Windows) in linker flags. No bug report for NumPy, but the same problem
did show up in SciPy already. Fix is the same as scipy/scipy#19945.

This actually pulls in all of `__config__.py` from main because there
have been a number of other changes.

[skip cirrus] [skip circle]
BLD: fix potential issue with escape sequences in ``__config__.py``
BUG: Use large file fallocate on 32 bit linux platforms
CI: pin cygwin python to 3.9.16-1 and fix typing tests [skip cirrus][skip azp][skip circle]
MAINT: Bump cibuildwheel to v2.16.4
The meson-python 0.15.0 release added the ability to configure a
custom `meson` in `pyproject.toml`. So there's no longer a need for
us to vendor it.

(cherry picked from commit 6544e33,
 adding a version range to depend on meson-python 0.15.x)
This fixes issues with Windows wheel builds; a new GitHub Actions
runner image caused argument escaping to break.
BLD: unvendor meson-python on 1.26.x and upgrade to meson-python 0.15
* BUG: Fix np.quantile([Fraction(2,1)], 0.5)

* address review comments

* pass type instead of dtype instance
MAINT: Include header defining backtrace
BUG: Fix np.quantile([Fraction(2,1)], 0.5) (numpy#24711)
BUG: Restore missing asstr import
- Create 1.26.4-changelog.rst
- Update 1.26.4-notes.rst
- Remove old fragments from doc/release/upcoming_changes

[wheel build]
REL: Prepare for the NumPy 1.26.4 release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0