Skip to content
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

Py3.11 sync branch with main #8814

Closed
wants to merge 497 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
497 commits
Select commit Hold shift + click to select a range
24c72a2
remove setting for 3.7 for the NumbaPickler
esc Dec 9, 2022
0afb220
remove unused imports
esc Dec 9, 2022
3cc6322
remove numba/core/overload_glue.py to fix conflict with main
esc Dec 9, 2022
f4bc00a
Partial revert of 0afb220
esc Dec 9, 2022
45d4e45
Merge branch 'main' into drop-python-3.7
esc Dec 9, 2022
9b0f931
Make external compiler discovery lazy in the test suite.
stuartarchibald Dec 9, 2022
7dd2c39
Fix functools.lru_cache invocation on Python 3.7.
stuartarchibald Dec 9, 2022
2f2e2c1
Merge pull request #8319 from jamesobutler/drop-python-3.7
esc Dec 9, 2022
47e46c9
Add nbytes attr to np.ndarray
alanhdu Dec 10, 2022
0e667cc
Add tests
alanhdu Dec 10, 2022
5cbf62e
Clean up and fix PyTypeObject struct definitions.
stuartarchibald Dec 7, 2022
d2eb443
Migrate to use CodeType.replace() where possible.
stuartarchibald Dec 12, 2022
5eb0a7d
Fix loop bound in IR test.
stuartarchibald Dec 12, 2022
4de6e11
flake8 compliance in test_extended_arg.py
stuartarchibald Dec 12, 2022
fe8003d
Merge pull request #8666 from stuartarchibald/wip/py38_baseline_migra…
sklam Dec 13, 2022
7e92e22
Merge pull request #8659 from neilflood/jitclass-preserve-modulename
sklam Dec 13, 2022
645c84c
Make the initialisation of the NRT more lazy for the njit decorator.
stuartarchibald Sep 14, 2022
0340cd0
Enable the CUDA simulator tests on Windows builds in Azure CI.
stuartarchibald Dec 16, 2022
1cd6e81
Enable CUDASIM in the Azure Windows test listing phase
stuartarchibald Dec 16, 2022
81cd582
Temporary commit to switch on verbose output in Windows Azure CI.
stuartarchibald Dec 16, 2022
75b8328
Revert "Temporary commit to switch on verbose output in Windows Azure…
stuartarchibald Dec 16, 2022
8d5b70b
Make `always_run` test decorator a tag and improve shard tests.
stuartarchibald Dec 16, 2022
46c3aaa
Add support for min and max on boolean types.
DrTodd13 Dec 16, 2022
8fc20e2
Merge pull request #8626 from dlee992/da/fast_search
sklam Dec 16, 2022
61e4b01
Merge pull request #8673 from stuartarchibald/wip/Azure_CUDASIM_on_wi…
sklam Dec 16, 2022
5fb17e7
Merge remote-tracking branch 'upstream/main' into nan_to_num
thomasjpfan Dec 19, 2022
cda3318
ENH Adds support for complex values
thomasjpfan Dec 20, 2022
8d2d552
TST Lower lines of code for tests
thomasjpfan Dec 20, 2022
8f2f83a
TST Adds test on numpy scalar and copy=False
thomasjpfan Dec 20, 2022
ac47c5a
CLN Remove untrue comment
thomasjpfan Dec 20, 2022
926e934
TST Remove unneeded test since there is already one with asarray
thomasjpfan Dec 20, 2022
cc9058a
TST Use array instead of asarray
thomasjpfan Dec 20, 2022
09cf42a
STY Fixes flake8 error
thomasjpfan Dec 20, 2022
f14d7e0
Adjust flake8 config to be compatible with 6.0
thomasjpfan Dec 20, 2022
9fc71e4
Separate min bool implementation from IndexType.
DrTodd13 Dec 21, 2022
4e8b942
Better namings.
DrTodd13 Dec 22, 2022
daa2068
repr implementation for some types incl containers
luk-f-a Dec 28, 2022
3562ad3
first pass at tests
luk-f-a Dec 28, 2022
9ec2356
fix overlap between str and repr
luk-f-a Dec 28, 2022
da93d54
support and tests for set, typed list, dict
luk-f-a Dec 28, 2022
ea9fa84
flake8 fixes
luk-f-a Dec 28, 2022
c036694
changing error msg to use `str` instead of `repr
luk-f-a Dec 28, 2022
17b6d6b
Update docs
alanhdu Jan 3, 2023
9a6554a
CUDA intrinsics tests: correct np.float -> np.float16
gmarkall Nov 24, 2022
83d08f6
TestLinalgSvd.test_no_input_mutation: use reconstruction if necessary
gmarkall Dec 22, 2022
4c619e6
test_comp_nest_with_dependency: skip on NumPy 1.24
gmarkall Nov 24, 2022
f5f5b74
Avoid use of np.bool in stencilparfor.py
gmarkall Nov 24, 2022
90afbca
test_hypot: Tweak regex so it matches NumPy 1.24
gmarkall Nov 24, 2022
99966f4
Don't test summing with timedelta dtype
gmarkall Nov 24, 2022
937f7f8
Replace use of deprecated np.bool with np.bool_
gmarkall Nov 24, 2022
cd867db
Overload np.MachAr only for NumPy < 1.24
gmarkall Nov 24, 2022
8d8abd1
_internal.c: Remove NPY_API_VERSION checks
gmarkall Nov 25, 2022
9ef54ce
Ensure that `gc.collect` is called before checking refcounts.
stuartarchibald Jan 3, 2023
915a237
init_ufunc_dispatch: Handle unexpected ufunc methods gracefully
gmarkall Jan 3, 2023
da739e1
init_ufunc_dispatch: Update for NumPy 1.24
gmarkall Jan 3, 2023
a4a0b8d
Update NumPy version support documentation
gmarkall Jan 3, 2023
9ffee5d
Mody test matrix to test NumPy versions 1.21-1.24
gmarkall Jan 3, 2023
4e3cd47
Update numba/tests/test_builtins.py
DrTodd13 Jan 3, 2023
ea9cdac
Update numba/tests/test_builtins.py
DrTodd13 Jan 3, 2023
d04901e
Update numba/tests/test_builtins.py
DrTodd13 Jan 3, 2023
e92fc85
Update numba/cpython/builtins.py
DrTodd13 Jan 3, 2023
8ba8b26
Update numba/cpython/builtins.py
DrTodd13 Jan 3, 2023
20df331
Close stale issues after 7 days
gmarkall Jan 5, 2023
8a4f776
Merge pull request #8623 from thomasjpfan/nan_to_num
sklam Jan 10, 2023
afd725b
Merge pull request #8662 from alanhdu/alan/nbytes
sklam Jan 10, 2023
cec5c44
Merge pull request #8677 from IntelLabs/min_max_bool
sklam Jan 10, 2023
8e43a67
Remove extra blank line.
stuartarchibald Jan 10, 2023
bcafb26
Relaxed ULP testing precision for NumPy Generator tests across all sy…
kc611 Jan 10, 2023
97c507a
Apply suggestions from code review
kc611 Jan 10, 2023
597eb88
Fixed line wrapping
kc611 Jan 10, 2023
84df01f
Merge branch 'numba:main' into fix_issue_8370
bszollosinagy Jan 10, 2023
61fb113
rephrased the comment about how we ensure identical behaviour with NumPy
bszollosinagy Jan 10, 2023
8f64f1b
typo: NumPy
bszollosinagy Jan 10, 2023
b1fd752
* removed the name of the exception expected when the test fails, bec…
bszollosinagy Jan 10, 2023
ab9d64f
fixes
luk-f-a Jan 10, 2023
c1afb27
added line
luk-f-a Jan 10, 2023
8c4ea12
moved file
luk-f-a Jan 10, 2023
6f9fda4
Merge branch 'main' into testhound/get_max_threads_6448
testhound Jan 11, 2023
91e992a
Fix flake8 issues
testhound Jan 11, 2023
9dd5062
Merge pull request #8661 from stuartarchibald/wip/lazy_aot_compiler_c…
sklam Jan 11, 2023
009ae4e
Merge pull request #8697 from gmarkall/bot-updates-1
sklam Jan 11, 2023
f3299a8
Re-add missing @property
testhound Jan 11, 2023
18016cc
Rename local variable to accurately reflect its use
testhound Jan 11, 2023
3772028
Merge 'main' into fix/8657
stuartarchibald Jan 11, 2023
228112a
Fix up comment from merge of 'main', slice->shard.
stuartarchibald Jan 11, 2023
47be4be
Replace list comp with loops.
stuartarchibald Jan 11, 2023
39dd873
Merge 'main' into wip/hasattr_str_repr
stuartarchibald Jan 11, 2023
b819f01
Remove objmode fall back in `repr` implementation.
stuartarchibald Jan 11, 2023
0acd540
Supply concrete timeline for objmode fallback deprecation.
stuartarchibald Jan 6, 2023
ea8f5e8
* now uses np.testing.assert_array_equal for more detailed error repo…
bszollosinagy Jan 11, 2023
fd1cca1
Fix failing tests.
stuartarchibald Jan 11, 2023
14bc3ff
Fix failing warning checking tests.
stuartarchibald Jan 11, 2023
b4081c1
Remove superfluous assertion.
stuartarchibald Jan 11, 2023
77a7c68
Add missing comma after get_max_threads_per_block
testhound Jan 11, 2023
5203a3a
Add update_wrapper to dufunc.
sklam Jan 11, 2023
ba31f71
Add test for docstring.
sklam Jan 11, 2023
334be3b
Docs: Correct NumPy upper bound for 0.57 release
gmarkall Jan 11, 2023
1304e64
Update comment on skipped test
gmarkall Jan 11, 2023
39319a7
Merge branch 'main' into testhound/cuda_flags_cc_7954
testhound Jan 11, 2023
6ac0826
Remove duplicate tanh/tanhf implementation and simplify code
testhound Jan 11, 2023
a4cf0d0
test_tanhf does not need to be restricted to a particular compute cap…
testhound Jan 11, 2023
a6a1501
moved file (2)
luk-f-a Jan 11, 2023
c080205
remove forced fail test
luk-f-a Jan 11, 2023
6c6fe2b
Merge pull request #8376 from bszollosinagy/fix_issue_8370
sklam Jan 11, 2023
7449be6
Merge pull request #8544 from stuartarchibald/wip/remove_npy_ufunc_lo…
sklam Jan 11, 2023
fb41749
Merge pull request #8675 from stuartarchibald/fix/8657
sklam Jan 11, 2023
edca9fb
Merge pull request #8701 from kc611/np_gen_prec_fix
sklam Jan 11, 2023
1a07d27
Remove cpu NRT init guard, rtsys.initialize already has this.
stuartarchibald Jan 12, 2023
6a6fa6c
Implement cleanups suggested in PR #8120 feedback
gmarkall Jan 12, 2023
209bcaa
Merge remote-tracking branch 'numba/main' into cuda-lineinfo-fixes
gmarkall Jan 12, 2023
583561f
Fix test case regressions
testhound Jan 13, 2023
28bb957
Run test unconditionally
testhound Jan 13, 2023
cac3178
CI: Use `set -e` in "Before Install" step and fix install
gmarkall Jan 16, 2023
1e2fa2b
Add -e to all Azure script steps
gmarkall Jan 16, 2023
ca04af8
applying review suggestions
luk-f-a Jan 16, 2023
0ec2e72
Merge pull request #8716 from gmarkall/ci-miniconda-issues
sklam Jan 17, 2023
90b9d8a
Merge pull request #8438 from stuartarchibald/wip/lazy_nrt_init
sklam Jan 17, 2023
6ba6680
Merge pull request #8442 from stuartarchibald/wip/hasattr_str_repr
sklam Jan 17, 2023
a9ffa8c
CUDA: Warn when requesting debug and lineinfo
gmarkall Jan 18, 2023
08e5e79
Update docstring for prepare_cuda_kernel to match args
gmarkall Jan 18, 2023
3825fdc
Enforce whitespace checks in test_lineinfo a bit more aggressively
gmarkall Jan 18, 2023
b75097e
CUDA: break in search loops in test_lineinfo when a match is found
gmarkall Jan 18, 2023
3095486
Enable coverage for subprocess testing
sklam Jan 18, 2023
98a4d30
Merge pull request #8702 from stuartarchibald/wip/deprecate_objmode_f…
sklam Jan 18, 2023
435ddd3
Merge pull request #8706 from sklam/fix/doctest
sklam Jan 18, 2023
f3ee600
Check for void return type in compile_ptx
brandonwillard Jan 21, 2023
d1cc6fc
Make Numba dependency check run ahead of Numba internal imports.
stuartarchibald Jan 18, 2023
45fb8e6
Apply suggestions from PR #8120 review
gmarkall Jan 25, 2023
2cdfc9a
Use nonzero data in tests of Issue #3158
gmarkall Jan 25, 2023
276a8d1
Merge pull request #8473 from dlee992/optimize_include_style_2
sklam Jan 25, 2023
88be4da
Merge pull request #8680 from thomasjpfan/flake8_6.0_error
sklam Jan 25, 2023
fbc31a1
Merge pull request #8685 from luk-f-a/feature/repr
sklam Jan 25, 2023
2ca22c2
Merge pull request #8723 from brandonwillard/ptx-check-return-type
sklam Jan 25, 2023
bb9c1d8
Fix flake8 checks since upgrade to flake8=6.x
stuartarchibald Jan 26, 2023
0edfefc
Run flake8 CI step in multiple processes.
stuartarchibald Jan 26, 2023
d708ce3
Correct sequence in test_issue_3158_1
gmarkall Jan 26, 2023
e0c1e4c
Merge pull request #8728 from stuartarchibald/wip/fixes_for_flake8_ve…
esc Jan 26, 2023
8e2063b
Merge pull request #8120 from gmarkall/issue-1469
sklam Jan 27, 2023
99d4905
Merge pull request #8513 from kc611/np_newaxis
sklam Jan 27, 2023
fcdb0ee
Merge pull request #8726 from stuartarchibald/fix/8718
sklam Jan 27, 2023
444fa1a
Merge remote-tracking branch 'numba/main' into np-124-review
gmarkall Jan 27, 2023
a0a8300
Correct name of ufunc method in fastcall flags error
gmarkall Jan 27, 2023
5192cdb
Add numpy argpartition function support
Jan 28, 2023
4b1346e
Update bot to stale PRs
guilhermeleobas Jan 31, 2023
28573bb
Merge pull request #8729 from stuartarchibald/wip/flake8_concurrent
sklam Jan 31, 2023
5ecf0d4
LLVM14
apmasell Oct 24, 2022
f0e9adb
DO NOT MERGE: LLVM14 TESTING INFRASTRUCTURE
apmasell Feb 2, 2023
e22f7cf
Implement np.lib.stride_tricks.sliding_window_view
bcb-hsu Feb 3, 2023
fbec218
Merge remote-tracking branch 'numba/main' into np-124-review
gmarkall Feb 6, 2023
7597c93
address reviewer comments
guilhermeleobas Feb 6, 2023
aafee0e
sliding_window_view: add version guard for NumPy >= 1.20
bcb-hsu Feb 7, 2023
b526d7f
sliding_window_view: flake8 fixes
bcb-hsu Feb 7, 2023
193ec50
Change default parameter to None
Feb 7, 2023
413f2d5
Change logic based on default parameter
Feb 7, 2023
257caca
Fix failing test_dispatcher test case
testhound Feb 9, 2023
c12bbf4
Merge pull request #8746 from testhound/testhound/fix_ambiguous_resol…
sklam Feb 9, 2023
66e14e0
Recycle test runners more aggressively
apmasell Feb 10, 2023
d5a66ed
Add boolean argpartition argument to partition factory
Feb 10, 2023
5b45803
Add additional refprune test
apmasell Feb 10, 2023
eefac1a
Fix line length error from flake8
Feb 11, 2023
b6f4633
Merge remote-tracking branch 'numba/main' into nvidia-conda-pkgs
gmarkall Feb 14, 2023
09d6fc1
Updates based on PR #7255 feedback
gmarkall Feb 14, 2023
08c3366
Use better assertion logic
apmasell Feb 15, 2023
7f5bfd7
Update .github/workflows/stale.yml
guilhermeleobas Feb 15, 2023
9169f39
Update numba/tests/support.py
sklam Feb 15, 2023
cf72e84
Merge pull request #8720 from sklam/misc/cov_subproc
sklam Feb 15, 2023
7d0e129
Merge pull request #8735 from guilhermeleobas/guilhermeleobas/stale-prs
sklam Feb 15, 2023
386a8f9
Merge pull request #8751 from apmasell/mulitprocess_recycling
sklam Feb 15, 2023
238367d
Merge remote-tracking branch 'numba/main' into np.union1d
gmarkall Feb 16, 2023
e03fc0b
CUDA tidy-up: remove some unneeded methods
gmarkall Feb 16, 2023
0dafa70
CUDA: Fix performance regression when lineinfo is enabled
gmarkall Jan 31, 2023
f434f90
BLD: remove distutils
fangchenli Feb 16, 2023
51c5978
refactor build_ext
fangchenli Feb 16, 2023
b228eb3
Stale bot: Use `abandoned - stale` label for closed PRs
gmarkall Feb 16, 2023
cc6fa68
fix import
fangchenli Feb 16, 2023
8dbdf7d
Merge branch 'main' into testhound/get_max_threads_6448
testhound Feb 16, 2023
435bc68
Correct grammar in comment
testhound Feb 16, 2023
6c859de
add build_doc back, fix compiler arg
fangchenli Feb 16, 2023
f762b2b
fix compiler arg, revert build script
fangchenli Feb 16, 2023
d401435
Merge pull request #5544 from shangbol/np.union1d
sklam Feb 16, 2023
c1b22c2
Merge pull request #8387 from testhound/testhound/cuda_flags_cc_7954
sklam Feb 16, 2023
566336c
Merge pull request #8766 from gmarkall/stale-prs-use-abandoned-stale
sklam Feb 16, 2023
0d95edb
Merge remote-tracking branch 'numba/main' into np-124-review
gmarkall Feb 17, 2023
39ccdd5
revert some changes
fangchenli Feb 17, 2023
d83875b
add empty line back
fangchenli Feb 17, 2023
e9045ef
revert build_ext change
fangchenli Feb 17, 2023
3c2cedc
Update vendored Versioneer from 0.14 to 0.28
gmarkall Feb 20, 2023
36527f3
Update `inspector._get_commit()` for recent Versioneer
oscargus Feb 20, 2023
76c10b1
Merge remote-tracking branch 'numba/main' into cuda-mvc
gmarkall Feb 20, 2023
f358642
CUDA Docs: Refine MVC docs based on PR #8180 feedback
gmarkall Feb 20, 2023
cb163aa
CUDA driver.py: PR #8180 feedback
gmarkall Feb 20, 2023
135d150
Merge pull request #8764 from gmarkall/cuda-dispatcher-delete-methods
sklam Feb 20, 2023
a746630
Revert "Merge pull request #8751 from apmasell/mulitprocess_recycling"
sklam Feb 22, 2023
71a9589
Correct documentation for CAS
MiloniAtal Feb 23, 2023
c8f20ea
Ensure gc.collect() is called before checking refcount in tests.
sklam Feb 22, 2023
7b2637f
Merge pull request #8775 from sklam/fix/main_ci
sklam Feb 23, 2023
6ec85af
Changed wording of the escape error
MiloniAtal Feb 23, 2023
70cedbc
Address code review. Simplify the loop . Don't need enumerate.
sklam Feb 24, 2023
9992d56
Merge pull request #8180 from gmarkall/cuda-mvc
sklam Feb 25, 2023
2f54c1b
Merge pull request #8348 from testhound/testhound/get_max_threads_6448
sklam Feb 25, 2023
de4cd6c
Merge pull request #8732 from rragundez/np-argpartition
sklam Feb 25, 2023
f631baf
Merge pull request #8765 from fangchenli/remove-distutil
sklam Feb 25, 2023
495586a
Merge pull request #8780 from MiloniAtal/cas-doc
sklam Feb 25, 2023
720b357
Merge pull request #8782 from MiloniAtal/Escape
sklam Feb 25, 2023
9d04211
Merge remote-tracking branch 'numba/main' into np-124-review
gmarkall Feb 28, 2023
958cc2e
Upgrade stale GitHub action
apmasell Feb 28, 2023
1e42a0b
Change LLVM version in documentation
apmasell Feb 28, 2023
0830ee8
Merge pull request #8786 from apmasell/update_stale
sklam Feb 28, 2023
e4b546b
CUDA compare and swap with index
ianthomas23 Mar 2, 2023
caeab05
sliding_window_view tests: use njit on test function, use subtests.
bcb-hsu Mar 3, 2023
0c0f2b5
Merge pull request #8736 from bcbnz/sliding-window-view
sklam Mar 3, 2023
5faf0ea
Add pending-deprecation warnings for ``numba.pycc``
stuartarchibald Mar 6, 2023
e5e84fa
Fix flake8. Deliberate unused import in tests.
stuartarchibald Mar 6, 2023
9f1f8b8
Fix syntax error in docs.
stuartarchibald Mar 6, 2023
2f72663
Merge remote-tracking branch 'numba/main' into np-124-review
gmarkall Mar 6, 2023
2d0f930
Use conda-forge for NumPy 1.24
gmarkall Mar 6, 2023
158033b
Attempt to correct syntax for NumPy package channel setting on Windows
gmarkall Mar 6, 2023
ad4f623
Updates following review
ianthomas23 Mar 6, 2023
4c1aef5
Merge pull request #8339 from sklam/fix/iss8291_parfor_leak
sklam Mar 6, 2023
9ffe080
Merge pull request #8691 from gmarkall/np-124-review
sklam Mar 6, 2023
7cab2c4
Merge pull request #8781 from sklam/fix/refcount_gc_collect
sklam Mar 6, 2023
291269b
Merge pull request #8790 from ianthomas23/6702_cas
sklam Mar 8, 2023
b126d68
Merge remote-tracking branch 'numba/main' into nvidia-conda-pkgs
gmarkall Mar 8, 2023
a109b00
CUDA: Add 12.0 and 12.1 supported compute capabilities to nvvm.py
gmarkall Mar 8, 2023
bd92dd2
Document that MVC is not supported on CUDA 12 yet
gmarkall Mar 8, 2023
1d1609a
Line-wrap docs/source/cuda/minor_version_compatibility.rst
gmarkall Mar 8, 2023
bb9b0d9
Revise lineinfo tests based on PR #8594 feedback
gmarkall Mar 8, 2023
2f104ea
Fix docs build
stuartarchibald Mar 8, 2023
c583a83
Merge pull request #7255 from gmarkall/nvidia-conda-pkgs
sklam Mar 9, 2023
c4424fb
Merge pull request #8024 from apmasell/datetime_conversion
sklam Mar 9, 2023
b2b466a
Merge pull request #8594 from gmarkall/cuda-lineinfo-fixes
sklam Mar 9, 2023
f2008e1
Merge pull request #8771 from gmarkall/versioneer-028
sklam Mar 9, 2023
ce69f30
Merge pull request #8795 from stuartarchibald/wip/pending_deprecation…
sklam Mar 9, 2023
e09828b
Allow LLVM 14 for Linux AArch64 compatibility
apmasell Mar 10, 2023
1f22e7a
Merge remote-tracking branch 'origin/main' into llvm14
apmasell Mar 10, 2023
bcf35f2
Remove LLVM14 build scaffolding
apmasell Mar 13, 2023
7dd0ab6
Add documentation for LLVM 14 passes
apmasell Mar 13, 2023
03cf859
Remove more LLVM 14 build scaffolding
apmasell Mar 13, 2023
c66a986
Merge pull request #8535 from apmasell/llvm14
sklam Mar 13, 2023
0fec27d
Fix llvmlite dependency in meta.yaml
sklam Mar 13, 2023
ec52102
Merge pull request #8810 from sklam/fix/build_meta
sklam Mar 13, 2023
2c7926d
Merge remote-tracking branch 'origin/main' into py3.11
sklam Mar 14, 2023
99c41f5
Bump python version guard
sklam Mar 14, 2023
23aca12
Fix missing import
sklam Mar 14, 2023
b15941b
Fix py3.10
sklam Mar 14, 2023
a67fa65
Unblock test for python 3.11
sklam Mar 15, 2023
d5cc2a2
Fix buildscripts
sklam Mar 14, 2023
72664d4
Simplify per-python-version splits in reraise_exc_is_none for readabi…
sklam Mar 16, 2023
e823aab
Remove dead code since 3.7 removal
sklam Mar 16, 2023
b140a6f
Remove dead comments from merge conflict.
sklam Mar 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildscripts/incremental/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -v -e

git clone https://github.com/numba/llvmlite
pushd llvmlite
git fetch origin pull/907/head:pr/907
git fetch origin pull/907/merge:pr/907
git checkout pr/907
python -m pip install .
popd
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/incremental/setup_conda_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ elif [[ $(uname) == Darwin ]]; then
fi

# Install latest correct build
$CONDA_INSTALL conda-forge::llvmdev=11
$CONDA_INSTALL -c conda-forge numba/label/pynext_ci::llvmdev=14
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't have the llvmlite buildout for py3.11 yet.


# Install importlib-metadata for Python < 3.9
if [ $PYTHON \< "3.9" ]; then $CONDA_INSTALL importlib_metadata; fi
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/incremental/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@ echo "INFO: Running slice of discovered tests: ($TEST_START_INDEX,None,$TEST_COU
# else
# NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -j "$TEST_START_INDEX,None,$TEST_COUNT" --exclude-tags='long_running' -m $TEST_NPROCS -- numba.tests
# fi
NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -j "$TEST_START_INDEX,None,$TEST_COUNT" --exclude-tags='long_running' -m $TEST_NPROCS -- numba.tests
NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -j "$TEST_START_INDEX:$TEST_COUNT" --exclude-tags='long_running' -m $TEST_NPROCS -- numba.tests

2 changes: 1 addition & 1 deletion numba/_devicearray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ PyTypeObject DeviceArrayType = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down
6 changes: 3 additions & 3 deletions numba/_dispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ call_trace_protected(Py_tracefunc func, PyObject *obj,
{
PyObject *type, *value, *traceback;
int err;
_PyErr_Fetch(&type, &value, &traceback);
PyErr_Fetch(&type, &value, &traceback);
err = call_trace(func, obj, tstate, frame, trace_info, what, arg);
if (err == 0)
{
_PyErr_Restore(type, value, traceback);
PyErr_Restore(type, value, traceback);
return 0;
}
else
Expand Down Expand Up @@ -1270,7 +1270,7 @@ static PyTypeObject DispatcherType = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down
6 changes: 3 additions & 3 deletions numba/_dynfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ static PyTypeObject EnvironmentType = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down Expand Up @@ -279,7 +279,7 @@ static PyTypeObject ClosureType = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10 || (PY_MINOR_VERSION == 11)))
#error "Python minor version is not supported."
#endif
#else
Expand Down Expand Up @@ -506,7 +506,7 @@ static PyTypeObject GeneratorType = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down
2 changes: 1 addition & 1 deletion numba/core/runtime/_nrt_python.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static PyTypeObject MemInfoType = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down
2 changes: 1 addition & 1 deletion numba/experimental/jitclass/_box.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static PyTypeObject BoxType = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down
2 changes: 1 addition & 1 deletion numba/mviewbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static PyTypeObject MemAllocType = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down
4 changes: 2 additions & 2 deletions numba/np/ufunc/_internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ PyTypeObject PyUFuncCleaner_Type = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down Expand Up @@ -778,7 +778,7 @@ PyTypeObject PyDUFunc_Type = {
/* WARNING: Do not remove this, only modify it! It is a version guard to
* act as a reminder to update this struct on Python version update! */
#if (PY_MAJOR_VERSION == 3)
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10))
#if ! ((PY_MINOR_VERSION == 8) || (PY_MINOR_VERSION == 9) || (PY_MINOR_VERSION == 10) || (PY_MINOR_VERSION == 11))
#error "Python minor version is not supported."
#endif
#else
Expand Down
2 changes: 1 addition & 1 deletion numba/tests/test_ir_inlining.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def bar(x):
# block count changes with Python version due to bytecode differences.
if utils.PYVERSION in ((3, 8), (3, 9)):
bc = 33
elif utils.PYVERSION == (3, 10):
elif utils.PYVERSION in ((3, 10), (3, 11)):
bc = 35
else:
raise ValueError(f"Unsupported Python version: {utils.PYVERSION}")
Expand Down
1 change: 1 addition & 0 deletions numba/tests/test_parfors.py
stuartarchibald marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
needs_subprocess)
from numba.core.extending import register_jitable
from numba.core.bytecode import _fix_LOAD_GLOBAL_arg
from numba.core import utils

import cmath
import unittest
Expand Down