Thanks to visit codestin.com
Credit goes to github.com

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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
644 commits
Select commit Hold shift + click to select a range
87e1706
Merge pull request #24955 from charris/backport-24923
charris Oct 19, 2023
82d7657
REL: Remove Python upper version from the release branch
seberg Oct 19, 2023
4649a05
Merge pull request #24962 from seberg/no-upper-py-pin
rgommers Oct 20, 2023
18278b1
BLD: Use the correct Python interpreter when running tempita.py
markmentovai Oct 20, 2023
a0f6999
MAINT: Remove unhelpful error replacements from `import_array()`
seberg Oct 19, 2023
aca4819
Merge pull request #24971 from charris/backport-24970
rgommers Oct 21, 2023
9d6694e
Merge pull request #24972 from charris/backport-24958
rgommers Oct 21, 2023
e5b1ce1
BLD: use classic linker on macOS, the new one in XCode 15 has issues
rgommers Oct 20, 2023
b93e52e
BLD: only check for scipy-openblas dependency with pkg-config
rgommers Oct 20, 2023
7b0719c
Merge pull request #24977 from charris/backport-24967
charris Oct 21, 2023
af23419
BLD: musllinux_aarch64 [wheel build]
andyfaff Oct 24, 2023
2a83b1f
Merge pull request #25003 from charris/backport-24993
charris Oct 26, 2023
25d8f0e
MAINT: Update mailmap
charris Oct 31, 2023
1989099
Merge pull request #25043 from charris/update-mailmap
charris Oct 31, 2023
6bb799b
MAINT: Split up .github/workflows to match main
rgommers Aug 13, 2023
81f1758
MAINT: Fix spelling error that slipped in somewhere
charris Nov 5, 2023
c40e98c
CI: Switch SIMD tests to meson
charris Nov 5, 2023
39d854f
MAINT: Update vendored-meson/meson to ea5809096.
charris Nov 6, 2023
7387600
Merge pull request #25071 from charris/backport-24291-24493
charris Nov 6, 2023
df93b11
MAINT: Update meson build infrastructure. (#25049)
charris Nov 6, 2023
809d00d
BUG: Resolve build issue on ppc64 with Power9 or higher as baseline
seiko2plus Oct 5, 2023
1c21b68
Add VX targets for dispatch-able sources of the umath multi-targets t…
seiko2plus Nov 7, 2023
ce1adca
Merge pull request #24814 from charris/backport-24772
charris Nov 7, 2023
55d3f26
Merge pull request #25083 from seiko2plus/backport_24806
charris Nov 7, 2023
8463bc9
BLD: Fix features.h detection for Meson builds
mbargull Nov 8, 2023
af2c4cf
BUG: Avoid intp conversion regression in Cython 3 (backport)
seberg Nov 9, 2023
09eb7d5
TST: Check that Cython intp conversion uses normal integer rules
seberg Nov 9, 2023
8bbc858
TST: add a test
mattip Nov 9, 2023
aadc2c7
BLD: blocklist complex trig functions on musl
mattip Nov 9, 2023
86c2863
Merge pull request #25095 from seberg/backport-cy-fix
charris Nov 10, 2023
28775a6
CI: remove GHA job that built with setup.py and ILP64 OpenBLAS
rgommers Aug 24, 2023
5ff4da2
CI: move conda and macOS Azure job to Meson
rgommers Aug 24, 2023
5d33131
CI: factor out custom code checks (ninja, vulture, `test_*` installed)
rgommers Aug 25, 2023
967e533
CI: remove macOS and conda jobs from Azure
rgommers Aug 25, 2023
02d47a9
Merge pull request #25107 from charris/backport-24520
charris Nov 10, 2023
0160b41
CI: Provides cross-compile builds for armhf, ppc64le, and s390x
seiko2plus Aug 21, 2023
ea4a4fb
CI: Fix the cache path of Linux QEMU
seiko2plus Aug 24, 2023
882a5a0
MAINT: Remove .travis.yml.
charris Nov 10, 2023
ba1e504
BUG: Fix build on ppc64 when the baseline set to Power9 or higher
charris Nov 11, 2023
19d5b69
MAINT: Fix flaky test and update windows.yml action.
charris Nov 11, 2023
29c2030
Merge pull request #25108 from charris/add-qemu-tests
charris Nov 11, 2023
31e2c8a
MAINT: Update .spin/cmds.py from main.
charris Nov 11, 2023
1faa0f0
Merge pull request #25112 from charris/backport-spin-cmds
charris Nov 11, 2023
535a802
DOC: Visually divide main license and bundled licenses in wheels
stefan6419846 Oct 25, 2023
b92293d
DOC: Visually divide main license and bundled licenses in wheels
stefan6419846 Oct 25, 2023
c2f0c44
MAINT: Add missing `noexcept` to shuffle helpers
seberg Oct 30, 2023
81af826
DOC: Fix license identifier for OpenBLAS
stefan6419846 Nov 10, 2023
29d46b0
DOC: Fix license identifier for OpenBLAS
stefan6419846 Nov 10, 2023
f6906d8
DOC: Fix license identifier for OpenBLAS
stefan6419846 Nov 10, 2023
60edd98
CI: add a split Netlib BLAS job, no pkg-config, with OpenSUSE container
rgommers Oct 31, 2023
2a057fd
CI: add blas, cblas and lapack to FreeBSD CI job
rgommers Nov 2, 2023
ea72d88
Merge pull request #25115 from charris/backport-25032
charris Nov 11, 2023
6d974a5
Merge pull request #25116 from charris/backport-25099
charris Nov 11, 2023
1d5ff21
Merge pull request #25117 from charris/backport-25055
charris Nov 11, 2023
a7552b2
Merge pull request #25113 from charris/backport-25001
charris Nov 11, 2023
249b5be
Merge pull request #25093 from mbargull/1.26.x-fix-meson-HAVE_FEATURES_H
charris Nov 11, 2023
2359aec
MAINT: Make bitfield integers unsigned
seberg Nov 1, 2023
9887c9c
Merge pull request #25118 from charris/backport-25051
charris Nov 11, 2023
12b7b35
BUG: Make n a long int for np.random.multinomial
thalassemia Nov 8, 2023
0035b44
BLD: change default of the `allow-noblas` option to true.
rgommers Nov 3, 2023
ae77d67
Merge pull request #25119 from charris/backport-25090
charris Nov 11, 2023
cefdd34
Merge pull request #25120 from charris/backport-25063
charris Nov 12, 2023
766d5a8
BUG: ensure passing `np.dtype` to itself doesn't crash
ngoldbaum Oct 31, 2023
d81f0ae
Merge pull request #25121 from charris/backport-25042
charris Nov 12, 2023
6961f60
REL: Prepare for the NumPy 1.26.2 release
charris Nov 12, 2023
03b6260
Merge pull request #25128 from charris/prepare-1.26.2
charris Nov 12, 2023
d2ee296
MAINT: prepare 1.26.x for further development
charris Nov 13, 2023
4962e22
Merge pull request #25130 from charris/begin-1.26.3
charris Nov 13, 2023
fc324e3
MAINT: Pin scipy-openblas version.
charris Nov 19, 2023
91cede9
Merge pull request #25192 from charris/pin-scipy-openblas-1.26.x
charris Nov 19, 2023
699c7f0
TYP: add None to `__getitem__` in `numpy.array_api` (#25022)
Illviljan Nov 13, 2023
b2550d1
BLD,BUG: quadmath required where available [f2py]
HaoZeke Nov 5, 2023
a7ebf65
DOC: Add a pointer to the SciPy fortran doc
HaoZeke Nov 5, 2023
1996f87
DOC: Adapt comment on supported toolchains
HaoZeke Nov 5, 2023
8f1ff41
BUG: alpha doesn't use REAL(10)
matoro Nov 6, 2023
f54454f
BUG: Fix FP overflow error in division when the divisor is scalar
seiko2plus Nov 13, 2023
c6e29c8
ENH: Disable SIMD single-precision division optimization on armv7
seiko2plus Nov 15, 2023
f0c22fe
Merge pull request #25188 from charris/backport-25022
charris Nov 19, 2023
9d49d1b
Merge pull request #25191 from charris/backport-25129
charris Nov 19, 2023
66c631d
Merge pull request #25190 from charris/backport-25078
charris Nov 19, 2023
f975164
Merge pull request #25189 from charris/backport-25073
charris Nov 19, 2023
04730b1
BUG: Fix numpy.f2py to enable use of string optional inout argument
Sep 11, 2023
2aff313
MAINT: Be explicit about failure modes [f2py-str]
HaoZeke Nov 19, 2023
7f43591
TST: Add gh-24781 for string inout optional [f2py]
HaoZeke Nov 19, 2023
6c2615e
TST: Add a check for non-ndarray string types
HaoZeke Nov 19, 2023
02ae267
Fix -fsanitize=alignment issue in numpy/_core/src/multiarray/arraytyp…
hawkinsp Nov 13, 2023
b446db6
TST: Build cython checks testing module only once
seberg Nov 14, 2023
eaa5a6c
TST: Explicitly pass NumPy path to cython during tests
seberg Nov 14, 2023
fdfbbfb
BUG: fix issues with `newaxis` and `linalg.solve` in `numpy.array_api`
rgommers Nov 14, 2023
dcea252
Merge pull request #25203 from charris/backport-25141
charris Nov 20, 2023
a1e5e79
Merge pull request #25201 from charris/backport-24791
charris Nov 20, 2023
dfa7e0d
Merge pull request #25202 from charris/backport-25136
charris Nov 20, 2023
89313d2
Merge pull request #25204 from charris/backport-25146
charris Nov 20, 2023
d5e84c3
TST: Add one for gh-22819
HaoZeke Nov 18, 2023
69e95bd
BUG: Correctly disallow shadowed modulenames
HaoZeke Nov 19, 2023
f28a905
MAINT: Strengthen the validation of pyf files
HaoZeke Nov 19, 2023
b169db9
TST: Add tests for CLI .pyf file work
HaoZeke Nov 19, 2023
989cd8c
MAINT: Fix implementation for gh22819 [f2py]
HaoZeke Nov 19, 2023
0715b0d
DOC: Add an entry to the changelog [f2py]
HaoZeke Nov 19, 2023
db6bdf6
DOC: Rework documentation on -m [f2py]
HaoZeke Nov 19, 2023
bd22a3f
MAINT: Handle case where -m is None
HaoZeke Nov 19, 2023
2b9fb88
MAINT: Fix sneaky typo [f2py]
HaoZeke Nov 19, 2023
659751b
TST: Ensure f2py defaults are tested
HaoZeke Nov 19, 2023
95b941d
MAINT: Fix misspelling of _backends
charris Nov 20, 2023
80ecf9f
Merge pull request #25205 from charris/backport-25181
charris Nov 20, 2023
497af3c
MAINT: Don't escape newlines from f2py [f2py]
HaoZeke Nov 19, 2023
5e79262
MAINT: Create a useblocks function [f2py]
HaoZeke Nov 19, 2023
abdcb43
BUG: Add use-block handling for common blocks
HaoZeke Nov 19, 2023
33fcf1d
TST: Add a test for gh-19161 [f2py]
HaoZeke Nov 19, 2023
3b9c5d6
DOC: Add a note to the release [f2py] common-kind
HaoZeke Nov 19, 2023
3ab268d
BUG: Don't try to grab callback modules
HaoZeke Nov 20, 2023
dbd96e9
TST: Add one for gh25211
HaoZeke Nov 21, 2023
7ce7ce5
BUG: Fix moving compiled executable to root with f2py -c on Windows
jmrohwer Nov 16, 2023
75414cb
BUG: Fix single to half-precision conversion on PPC64/VSX3
seiko2plus Nov 20, 2023
f83786d
Merge pull request #25217 from charris/backport-25186-25212
charris Nov 21, 2023
52388f8
Merge pull request #25218 from charris/backport-25160
charris Nov 21, 2023
bb01ee8
Merge pull request #25219 from charris/backport-25195
charris Nov 21, 2023
4b55141
TST: f2py: fix issue in test skip condition
rgommers Nov 22, 2023
80e0195
Merge pull request #25227 from charris/backport-25221
charris Nov 22, 2023
c3bfe18
Revert "MAINT: Pin scipy-openblas version."
charris Nov 23, 2023
8d46859
MNT: do not use `long` type
tacaswell Nov 18, 2023
455cc92
Merge pull request #25249 from charris/backport-25238
charris Nov 24, 2023
f9b6c2f
BLD: sync azure buld commands with main
mattip Nov 26, 2023
af5a399
Merge pull request #25240 from charris/show-openblas-failure
charris Dec 5, 2023
cd29a90
Restore missing asstr import
stefanor Dec 6, 2023
4a06d14
TST: PyPy needs another gc.collect on latest versions
mattip Nov 26, 2023
df814ca
CI: Install Lapack runtime on Cygwin.
DWesl Nov 30, 2023
94c19ba
MAINT: Bump conda-incubator/setup-miniconda from 2.2.0 to 3.0.0
dependabot[bot] Nov 27, 2023
3e280eb
MAINT: Bump conda-incubator/setup-miniconda from 3.0.0 to 3.0.1
dependabot[bot] Nov 30, 2023
8213a51
Merge pull request #25378 from charris/backport-25284
charris Dec 13, 2023
dc31bb5
Merge pull request #25377 from charris/backport-25257
charris Dec 13, 2023
de36b9a
Merge pull request #25379 from charris/backport-25261-25282
charris Dec 13, 2023
e6b2fb3
BLD: update vendored Meson for AIX shared library fix
rgommers Dec 7, 2023
c340007
Merge pull request #25380 from charris/backport-25338
charris Dec 13, 2023
d31c733
Init `base` in cpu_avx512_kn
Flamefire Dec 13, 2023
716e587
Update C syntax
Flamefire Dec 13, 2023
62174a2
Fix failing test_features on SapphireRapids
Flamefire Dec 12, 2023
bfde240
BUG: Fix non-contiguous memory load when ARM/Neon is enabled
seiko2plus Nov 24, 2023
df7b026
Merge pull request #25422 from charris/backport-25243
charris Dec 18, 2023
a4cc400
Merge pull request #25420 from charris/backport-25372
charris Dec 18, 2023
ba4cc02
Merge pull request #25419 from charris/backport-25383
charris Dec 18, 2023
20fb4e4
MAINT,BUG: Never import distutils above 3.12 [f2py] (#25123)
HaoZeke Nov 22, 2023
aa78349
Merge pull request #25428 from charris/backport-25123
charris Dec 20, 2023
b532bbd
MAINT: make the import-time check for old Accelerate more specific
rgommers Dec 21, 2023
e72e53d
Merge pull request #25452 from charris/backport-25450
charris Dec 22, 2023
9e3059a
BUG: fix macOS version checks for Accelerate support
rgommers Dec 22, 2023
f290d7f
Merge pull request #25458 from charris/backport-25455
charris Dec 22, 2023
460b179
MAINT: Bump actions/setup-node from 3.8.1 to 4.0.1
dependabot[bot] Dec 18, 2023
610917e
MAINT: Bump larsoner/circleci-artifacts-redirector-action
dependabot[bot] Dec 18, 2023
fa79acf
BUG: avoid seg fault from OOB access in RandomState.set_state()
ngoldbaum Dec 18, 2023
9d27974
TST: Add one for gh-25337
HaoZeke Dec 10, 2023
657263a
BUG: Fix gh-25337 [f2py]
HaoZeke Dec 10, 2023
791fdc0
Merge pull request #25465 from charris/backport-25417-25418
charris Dec 22, 2023
20c4771
Merge pull request #25466 from charris/backport-25426
charris Dec 22, 2023
b400a52
BUG: Fix two errors related to not checking for failed allocations
seberg Dec 18, 2023
35e58a8
Merge pull request #25468 from charris/backport-25361
charris Dec 22, 2023
c9d1a10
Merge pull request #25467 from charris/backport-25425
charris Dec 22, 2023
7120147
CI: enables tests on spr and tgl using Intel SDE
r-devulap Dec 22, 2023
8c9254c
Add inline keywork to avx512_qsort _Float16
r-devulap Dec 22, 2023
a8f153b
Include 16-bit qsort for both dispatches
r-devulap Dec 23, 2023
9eca8ce
Merge pull request #25475 from r-devulap/cpu-baseline-spr
charris Dec 23, 2023
2e0200a
BLD: fix uninitialized variable warnings from simd/neon/memory.h
rgommers Dec 22, 2023
d20e353
Merge pull request #25478 from charris/backport-25459
charris Dec 23, 2023
3e6606e
TST: Add one for gh-25207
HaoZeke Nov 22, 2023
d7e78b6
BUG: Work with the ISOC_BINDINGS more consisently
HaoZeke Nov 22, 2023
47dfd65
MAINT: Kill now unused deep-merge [f2py]
HaoZeke Nov 22, 2023
05d161f
ENH: Populate all maps for iso_c bindings
HaoZeke Nov 22, 2023
1e127aa
MAINT: Correctly return mapped types [f2py]
HaoZeke Nov 22, 2023
62676de
DOC: Add a note on the iso_c2py_map implementation
HaoZeke Nov 22, 2023
2368305
MAINT: Reduce chatter to pass tests
HaoZeke Nov 22, 2023
599e427
BUG: Map to types with bindings [f2py]
HaoZeke Nov 26, 2023
da7713d
TST: Add a another test for gh-25207
HaoZeke Nov 26, 2023
b56c7d5
BUG: Fix module name bug in signature files [urgent] [f2py] (#25267)
HaoZeke Nov 30, 2023
0a39198
Merge pull request #25480 from charris/backport-25226
charris Dec 23, 2023
b6df150
BUG: Handle .pyf.src again
HaoZeke Nov 30, 2023
285668a
MAINT: Migrate pyf.src from distutils [skip-ci]
HaoZeke Dec 1, 2023
23f0de7
Revert "BUG: Handle .pyf.src again"
HaoZeke Dec 1, 2023
b625eb1
BUG: Ensure defines are on newlines [f2py]
HaoZeke Dec 1, 2023
1f5b05e
BUG: Don't lower .pyf files
HaoZeke Dec 1, 2023
c3551a1
TST: Add a test mimicing some flapack checks
HaoZeke Dec 1, 2023
a12802f
BUG: Don't autogenerate untitled modules [f2py]
HaoZeke Dec 1, 2023
37ec06b
MAINT: Overwrite compiled extensions with meson
HaoZeke Dec 1, 2023
466d66a
Merge pull request #25481 from charris/backport-25267
charris Dec 23, 2023
9142d78
Merge branch 'maintenance/1.26.x' into backport-25287
charris Dec 23, 2023
502737f
Merge pull request #25482 from charris/backport-25287
charris Dec 24, 2023
70a8efe
DOC: Rework the build tools page [f2py]
HaoZeke Nov 20, 2023
203fa05
DOC: Cleanup and add some examples
HaoZeke Nov 20, 2023
4142123
DOC: Update example list and sources [f2py]
HaoZeke Nov 20, 2023
0c214d0
DOC: Cleanup F2Py doc with reduced distutils info
HaoZeke Nov 20, 2023
1b7216e
DOC: More directives and reworked [f2py] text
HaoZeke Nov 20, 2023
39d2b90
DOC: Begin disutils to meson cheatsheet
HaoZeke Nov 20, 2023
4c194e2
DOC: Aggressively link to new document
HaoZeke Nov 20, 2023
de6d2c1
Merge pull request #25483 from charris/backport-25196
charris Dec 24, 2023
75d9e85
BUG: Add external library handling for meson [f2py]
andrea-bia Dec 2, 2023
6158be3
Run f2py's meson backend with the same python that ran f2py
stefanor Dec 6, 2023
34f5031
Merge pull request #25485 from charris/backport-25297
charris Dec 24, 2023
8184462
Merge pull request #25486 from charris/backport-25321
charris Dec 24, 2023
bf7265c
MAINT: Update ``numpy/f2py/_backends`` from main.
charris Dec 24, 2023
44467f2
MAINT: Easy updates of ``f2py/*.py`` from main.
charris Dec 24, 2023
c84d3d9
Merge pull request #25489 from charris/backport-f2py-backends
charris Dec 24, 2023
296dd8b
Merge pull request #25490 from charris/backport-f2py-toplevel-easy
charris Dec 24, 2023
6b270fb
MAINT: Update crackfortran.py and f2py2e.py from main
charris Dec 24, 2023
08dac26
Merge pull request #25491 from charris/backport-f2py-toplevel-hard
charris Dec 24, 2023
c8d8c24
REL: Prepare for the NumPy 1.26.3 release
charris Jan 1, 2024
b4bf93b
Merge pull request #25517 from charris/prepare-1.26.3
charris Jan 2, 2024
864f503
MAINT: prepare 1.26.x for further development
charris Jan 2, 2024
b5fbbdc
Merge pull request #25523 from charris/prepare-1.26.4
charris Jan 3, 2024
999f530
BUG: array_api: fix cholesky upper decomp for complex dtypes
lucascolley Sep 22, 2023
8fc784e
Merge pull request #25539 from charris/backport-24777
charris Jan 4, 2024
209be15
CI: Bump azure pipeline timeout to 120 minutes
seberg Jan 14, 2024
6630f0f
MAINT, BLD: Fix unused inline functions warnings on clang
seiko2plus Jan 9, 2024
f947f41
MAINT: Comment in the unused overload of call_geev
seiko2plus Jan 9, 2024
7010699
Merge pull request #25584 from charris/backport-25582
charris Jan 14, 2024
36cdc0b
Merge pull request #25585 from charris/backport-25555
charris Jan 15, 2024
97d1af9
BLD: include fix for MinGW platform detection
rgommers Jan 16, 2024
aeb63c8
Merge pull request #25599 from charris/backport-25598
charris Jan 16, 2024
f4e606a
TST: Fix test_numeric on riscv64
markdryan Dec 19, 2023
e7f6ac3
BLD: fix building for windows ARM64
ngoldbaum Jan 18, 2024
a1c69ef
MAINT: add `newaxis` to `__all__` in `numpy.array_api`
rgommers Jan 18, 2024
f03488c
Merge pull request #25620 from charris/backport-25615
charris Jan 18, 2024
623a403
Merge pull request #25619 from charris/backport-25613
charris Jan 18, 2024
59c97a0
Merge pull request #25618 from charris/backport-25430
charris Jan 18, 2024
f49c6f9
BUG: Use large file fallocate on 32 bit linux platforms
snogge Jan 19, 2024
7ef4843
TST: Fix test_warning_calls on Python 3.12
QuLogic Jan 19, 2024
a4f3c22
TST: Bump pytz to 2023.3.post1
QuLogic Jan 19, 2024
3294b18
Merge pull request #25643 from charris/backport-25628
charris Jan 20, 2024
fe24aba
Merge pull request #25645 from charris/backport-25629
charris Jan 20, 2024
043ff7a
BUG: Fix AVX512 build flags on Intel Classic Compiler
seiko2plus Jan 22, 2024
7baac4d
MAINT: Bump actions/checkout in macos.yml
charris Jan 22, 2024
1d50085
Merge pull request #25658 from charris/backport-25652
charris Jan 22, 2024
cb3171c
BLD: fix potential issue with escape sequences in ``__config__.py``
charris Jan 23, 2024
e48572e
Merge pull request #25670 from charris/backport-25669
charris Jan 23, 2024
dc12cf1
Merge pull request #25630 from snogge/fallocate64-1.26
charris Jan 24, 2024
76b0a2f
CI: pin cygwin python to 3.9.16-1 [skip cirrus][skip azp][skip circle]
mattip Jan 29, 2024
cb6488d
TST: marks on a fixture have no effect
mattip Jan 27, 2024
c5ba99c
MAINT: Bump cibuildwheel to v2.16.4
charris Jan 29, 2024
861110d
Merge pull request #25718 from charris/backport-25716
charris Jan 29, 2024
052165e
Merge pull request #25720 from charris/backport-25503
charris Jan 29, 2024
5a0cd8e
BLD: remove last usage of `distutils` in `_core/code_generators/`
rgommers Oct 26, 2023
3548f9d
BLD: unvendor meson-python [wheel build]
rgommers Oct 26, 2023
f984240
CI: upgrade cibuildwheel from 2.16.4 to 2.16.5 [wheel build]
rgommers Feb 2, 2024
837cd38
Merge pull request #25748 from rgommers/unvendor-mesonpython
charris Feb 2, 2024
659be68
MAINT: Include header defining backtrace
stefanv Jan 27, 2024
fee88ab
BUG: Fix np.quantile([Fraction(2,1)], 0.5) (#24711)
eendebakpt Jan 30, 2024
f62dfc6
Merge pull request #25755 from charris/backport-25709
charris Feb 3, 2024
ce89a0a
Merge pull request #25756 from charris/backport-24711
charris Feb 3, 2024
2fae4d3
Merge pull request #25323 from stefanor/import-asstr
charris Feb 5, 2024
114ed25
REL: Prepare for the NumPy 1.26.4 release
charris Feb 5, 2024
9815c16
Merge pull request #25770 from charris/prepare-1.26.4
charris Feb 5, 2024
60edb77
Pin ninja in build requirements
TimotheusBachinger Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ jobs:
name: build numpy
command: |
. venv/bin/activate
pip install --progress-bar=off --upgrade pip 'setuptools<49.2.0'
pip install --progress-bar=off -r test_requirements.txt
pip install --progress-bar=off -r doc_requirements.txt
pip install .
pip install . --config-settings=setup-args="-Dallow-noblas=true"

- run:
name: create release notes
Expand Down
31 changes: 23 additions & 8 deletions .cirrus.star
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,31 @@ def main(ctx):
# only contains the actual commit message on a non-PR trigger event.
# For a PR event it contains the PR title and description.
SHA = env.get("CIRRUS_CHANGE_IN_REPO")
url = "https://api.github.com/repos/scipy/scipy/git/commits/" + SHA
url = "https://api.github.com/repos/numpy/numpy/git/commits/" + SHA
dct = http.get(url).json()
# if "[wheel build]" in dct["message"]:
# return fs.read("ci/cirrus_wheels.yml")

if "[skip cirrus]" in dct["message"] or "[skip ci]" in dct["message"]:
commit_msg = dct["message"]
if "[skip cirrus]" in commit_msg or "[skip ci]" in commit_msg:
return []

# add extra jobs to the cirrus run by += adding to config
config = fs.read("tools/ci/cirrus_wheels.yml")
config += fs.read("tools/ci/cirrus_macosx_arm64.yml")
wheel = False
labels = env.get("CIRRUS_PR_LABELS", "")
pr_number = env.get("CIRRUS_PR", "-1")
tag = env.get("CIRRUS_TAG", "")

return config
if "[wheel build]" in commit_msg:
wheel = True

# if int(pr_number) > 0 and ("14 - Release" in labels or "36 - Build" in labels):
# wheel = True

if tag.startswith("v") and "dev0" not in tag:
wheel = True

if wheel:
return fs.read("tools/ci/cirrus_wheels.yml")

if int(pr_number) < 0:
return []

return fs.read("tools/ci/cirrus_arm.yml")
6 changes: 5 additions & 1 deletion .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

curl micro.mamba.pm/install.sh | bash
"${SHELL}" <(curl -Ls micro.mamba.pm/install.sh) < /dev/null

conda init --all
micromamba shell init -s bash
Expand All @@ -11,3 +11,7 @@ micromamba env create -f environment.yml --yes
# user (same applies to `conda activate`)

git submodule update --init

# Enables users to activate environment without having to specify the full path
echo "envs_dirs:
- /home/codespace/micromamba/envs" > /opt/conda/.condarc
5 changes: 2 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ numpy/core/src/common/dlpack/dlpack.h linguist-vendored
# Mark some files as generated
numpy/linalg/lapack_lite/f2c_*.c linguist-generated
numpy/linalg/lapack_lite/lapack_lite_names.h linguist-generated
numpy/_version.py linguist-generated

# versioneer config
numpy/_version.py export-subst
# version generated from pyproject.toml during build
numpy/version.py linguist-generated

# Configuration files
*.ini text
Expand Down
1 change: 0 additions & 1 deletion .github/actions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ runs:
echo DOWNLOAD_OPENBLAS $DOWNLOAD_OPENBLAS
echo USE_DEBUG $USE_DEBUG
echo NPY_USE_BLAS_ILP64 $NPY_USE_BLAS_ILP64
echo NUMPY_EXPERIMENTAL_ARRAY_FUNCTION $NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
echo USE_ASV $USE_ASV
echo PATH $PATH
echo python `which python`
Expand Down
37 changes: 37 additions & 0 deletions .github/meson_actions/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: MesonBuildTest
description: "checkout repo, build, and test numpy"
runs:
using: composite
steps:
- name: Build
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
env:
TERM: xterm-256color
PKG_CONFIG_PATH: ./.openblas
run: |
echo "::group::Installing Build Dependencies"
pip install -r build_requirements.txt
echo "::endgroup::"
echo "::group::Building NumPy"
spin build --clean -- ${MESON_ARGS[@]}
echo "::endgroup::"

- name: Meson Log
shell: bash
if: always()
run: |
echo "::group::Meson Log"
cat build/meson-logs/meson-log.txt
echo "::endgroup::"

- name: Test
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
env:
TERM: xterm-256color
run: |
echo "::group::Installing Test Dependencies"
pip install pytest pytest-xdist hypothesis typing_extensions setuptools
echo "::endgroup::"
echo "::group::Test NumPy"
spin test
echo "::endgroup::"
Loading
Loading