Debian Patches

Status for numba/0.56.4+dfsg-2

Patch Description Author Forwarded Bugs Origin Last update
python3.11/0032-Temporarily-disable-compilation-warnings.patch Temporarily disable compilation warnings Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-26
python3.11/0033-Unbreak-python-3.11.patch Unbreak python <3.11 Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-26
python3.11/0034-Unbreak-py3.10-builds.patch Unbreak py3.10 builds Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-26
python3.11/0022-Partially-support-MAKE_FUNCTION.patch Partially support MAKE_FUNCTION
Not sure why MakeFunctionToJitFunction is picking up the <listcomp> in the failing test:

- numba.tests.test_looplifting.TestLoopLiftingInAction.test_lift_listcomp_block0
Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-14
python3.11/0023-Leave-comment-about-co_qualname-changes-in-MAKE_FUNC.patch Leave comment about co_qualname changes in MAKE_FUNCTION Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-14
skip-armhf-tests-on-arm64.patch Debian builds packages on armv7l systems which don't support unaligned memory access and upstream tested for armv7l to
avoid the tests that would trigger that problem. Unfortunately Debian
runs the CI tests in a 32-bit user space on arm64 machines. The
archecture reported on those machines is armv8l and so the skipIf
test wasn't being triggered.
Diane Trout <diane@ghic.org> yes
skip-unicode-buserror-armhf.patch Skip tests triggering bus errors when running armhf on arm64 when hash() accesses complex multibyte unicode strings. Diane Trout <diane@ghic.org> no upstream
python3.11/0024-Support-BEFORE_WITH.patch Support BEFORE_WITH Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-20
use-python3-test-nonsense-gdb-binary.patch By default Debian doesn't have a python executable installed use the default python3 name instead.
upstream issue)
Diane Trout <diane@ghic.org> invalid
reorder-setuptools-import.patch Setup.py build_ext failed, but earlier on there was an warning message about distutils being imported before setuptools, but setuptools replaces parts of
distutils and undesierable behavior may occur.
Changing the order did fix my problem with running the build_ext step.
Diane Trout <diane@ghic.org> no
add-test-tags.patch no
add-gdb-test-check.patch no
numpy-1-24-pr8691.patch [PATCH 01/13] CUDA intrinsics tests: correct np.float -> np.float16
I believe this was written in error and should always have been float16.
Graham Markall <gmarkall@nvidia.com> no 2022-11-24
python3.11/0011-Comment-out-all-C-level-changes.patch Comment out all C-level changes
This will make Numba compile against the Python 3.11 code-base and
C-level API. Note that some of the Numba functionality may not be
available as a result.
esc <esc@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-07-29
python3.11/0025-Support-with-lifting.patch Support with-lifting
test_withlifting tests report errors=31, skipped=2, expected failures=2 out of 68 tests.
A lot of the tests are failing due to cloudpickle incompatibility.
Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-28
python3.11/0026-Support-JUMP_IS_NONE.patch Support JUMP_IS_NONE Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-28
python3.11/0035-Fix-py3.10-failure.patch Fix py3.10 failure
failng test numba.tests.test_parfors.TestParforChunksizing.test_all_iterations_reset_chunksize
Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-26
python3.11/0012-implement-new-Python-3.11-opcode-RESUME.patch implement new Python 3.11 opcode: RESUME
With Python 3.11 a new Bytecode has been introduced: `RESUME`.

The documentation states that:

```
RESUME has been added. It is a no-op. Performs internal tracing, debugging and optimization checks.
```

And so, this is implemented as a `NOP` (no-operation) in Numba.
esc <esc@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-08-22
python3.11/0013-bump-max-python-version.patch bump max python version
As title
esc <esc@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-02-25
python3.11/0014-Minimal-changes-to-get-a-basic-integer-sum-reduction.patch Minimal changes to get a basic integer sum reduction for loop working in py3.11 Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-08-24
python3.11/0015-Get-more-jump-opcodes.patch Get more jump opcodes Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-08-26
python3.11/0036-Restore-7388-fixes.patch Restore #7388 fixes Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-27
python3.11/0016-Ignore-the-NULL-push-from-LOAD_GLOBAL.patch Ignore the NULL push from LOAD_GLOBAL.
It's only used in CALL which checks if the TOS is a NULL.
Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-08-29
python3.11/0017-Add-more-BACKWARD-jump-and-PUSH_NULL.patch Add more BACKWARD jump and PUSH_NULL. Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-09
python3.11/0018-Fix-backward-jump-offset.patch Fix backward jump offset Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-09
python3.11/0037-Fix-try-except-in-py-3.11.patch Fix try except in py<3.11 Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-02
python3.11/0038-Fix-inplace-op.patch Fix inplace op Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-08
python3.11/0019-Support-KW_NAMES-and-getting-looplifting-to-work.patch Support KW_NAMES and getting looplifting to work Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-14
python3.11/0020-Support-RETURN_GENERATOR.patch Support RETURN_GENERATOR Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-14
python3.11/0021-Don-t-dump-CACHE-bytecode.patch Don't dump CACHE bytecode Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-14
python3.11/0039-Fix-hashing-support-in-py-3.11.patch Fix hashing support in py<3.11 Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-09
python3.11/0040-Skip-testing-by-git-diff-for-now.patch Skip testing by git diff for now Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-15
python3.11/0041-Fix-CI-test-run.patch Fix CI test run Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-15
python3.11/0027-Upgrade-cloudpickle-to-version-v2.2.0.patch Upgrade cloudpickle to version v2.2.0
from commit
https://github.com/cloudpipe/cloudpickle/commit/f31859b1dd83fa691f4f7f797166b262c9acb8e7
Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-09-29
python3.11/0028-Support-py3.11-try-except.patch Support py3.11 try-except Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-07
python3.11/0029-Flake8-fixes.patch Flake8 fixes Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-26
python3.11/0030-More-flake8-fix.patch More flake8 fix Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-26
python3.11/0031-Fix-older-python.patch Fix older python Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-10-26
no-git-in-generate_lower_listing.patch prevent to query the Git history whatsoever
===================================================================
Daniel Stender <stender@debian.org> no <upstream|backport|vendor|other>, <URL, required except if Author is present> 2018-03-21
doc-no-git.patch diff --git a/docs/source/_ext/ghfiles.py b/docs/source/_ext/ghfiles.py
index 2a71982..72bcbc6 100644
no
llvm_long_name_PR4373.patch [PATCH] Set maximum name size to maximum allowable value
Fix for #3876 without needing to patch LLVM.

This is upstream PR4373 for fixing LLVM handling of long names.

See also upstream Issue#5771, and LLVM review at
https://reviews.llvm.org/D41296
Todd <toddrme2178@gmail.com> no 2019-07-27
32bit_skip_64bit_hashing_tests.patch no
python3.11/0042-Copy-in-struct-_frame-from-cpython-3.11-source-code-.patch Copy in struct _frame from cpython 3.11 source code to regain access to the f_lineno Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-21
python3.11/0043-Adds-compiler-warning-for-stub-code.patch Adds compiler warning for stub code Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-21
python3.11/0044-Use-_FIXED_OFFSET-instead-of-a-inline-literal-number.patch Use _FIXED_OFFSET instead of a inline literal number Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-21
python3.11/0045-Rename-base-ByteCode-class-to-_ByteCode.patch Rename base ByteCode class to _ByteCode Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-23
python3.11/0046-Apply-some-review-suggestions-in-byteflow.py.patch Apply some review suggestions in byteflow.py Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-23
python3.11/0047-Address-reviews-on-byteflow.py.patch Address reviews on byteflow.py Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-29
python3.11/0048-Make-PYVERSION-check-more-consistent.patch Make PYVERSION check more consistent Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-29
python3.11/0049-Rewrite-peep_hole_split_at_pop_block.-so-it-does-not.patch Rewrite peep_hole_split_at_pop_block. so it does not mutate in-place, does better at assigning labels,
and does better with multiple POP_BLOCK.
Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-29
python3.11/0050-Address-reviews-in-interpreter.py.patch Address reviews in interpreter.py Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-30
python3.11/0051-Remove-dead-code-StaticReraise.patch Remove dead code: StaticReraise Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-30
python3.11/0052-Address-review-in-transforms.py.patch Address review in transforms.py Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-30
python3.11/0053-One-more-PYVERSION-guard-for-newer-versions.patch One more PYVERSION guard for newer versions Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-11-30
python3.11/0054-Apply-suggestions-from-code-review.patch Apply suggestions from code review Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8545 2022-12-01
python3.11/0055-Fix-arrayexprs-for-py3.11.patch [PATCH 01/14] Fix arrayexprs for py3.11 - fixes all of numba.tests.test_array_exprs - fixes some of numba.tests.test_parfors Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-09
python3.11/0056-Fix-LOAD_GLOBAL-arg-use-in-test_parfors-for-py3.11.patch [PATCH 02/14] Fix LOAD_GLOBAL arg use in test_parfors for py3.11
otherwise, sometests may segfault
Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-09
python3.11/0057-Move-_fix_LOAD_GLOBAL-arg-to-bytecode-module-and-use-it-in-_compute_used_globals.patch [PATCH 03/14] Move _fix_LOAD_GLOBAL_arg to bytecode module and use it in _compute_used_globals Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-09
python3.11/0058-Fix-text_flow_control-for-py3.11.patch [PATCH 04/14] Fix test_flow_control for py3.11 Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-09
python3.11/0059-Not-a-py311-change-stop-printing-source-code.patch [PATCH 05/14] (Not a py311 change) stop printing source code in errmsg when lineno is unavail Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-16
python3.11/0060-Attempt-to-fix-cellvars.patch [PATCH 06/14] Attempt to fix cellvars Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-16
python3.11/0061-Fix-CodeType-usage.patch [PATCH 07/14] Fix CodeType usage Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-16
python3.11/0062-Remove-duplicated-handling-of-CodeType.patch [PATCH 08/14] Remove duplicated handling of CodeType.
Make new module for codetype handling across different python versions.
Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-17
python3.11/0063-Flake8-fixes.patch [PATCH 09/14] Flake8 fixes Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-18
python3.11/0064-More-flake8-fixes.patch [PATCH 10/14] More flake8 fixes Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-18
python3.11/0065-Enable-list_to_tuple-peephole-for-py3.11.patch [PATCH 11/14] Enable list_to_tuple peephole for py3.11 Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-11-22
python3.11/0067-Update-numba-core-byteflow.py.patch [PATCH 13/14] Update numba/core/byteflow.py Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-12-02
python3.11/0068-Get-rid-of-custom-copy_code_type.-Use-CodeType.Replace-instead.patch [PATCH 14/14] Get rid of custom copy_code_type. Use CodeType.replace instead. Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8590 2022-12-02
python3.11/201-Update-string-bytes-hash-algs-to-siphash13-for-Python.patch [PATCH 01/20] Update string/bytes hash algs to siphash13 for Python 3.11

Python 3.11 uses siphash13 as its internal hashing algorithm,
this impacts Numba in the case of string and byte types. This
patch updates the hashing implementations to accommodate this
change and adds new tests based on "golden" values obtained from
the cPython test suite.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-21
python3.11/202-Fix-flake8.patch [PATCH 02/20] Fix flake8
As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-22
python3.11/203-Attempt-to-fix-closures.patch [PATCH 03/20] Attempt to fix closures.
As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-24
python3.11/204-Enable-more-peephole-rewrites-in-3.11.patch [PATCH 04/20] Enable more peephole rewrites in 3.11
As title
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-24
python3.11/205-Fix-test_dump_bytecode.patch [PATCH 05/20] Fix test_dump_bytecode.
Updates the test to look for the Python 3.11 version of BINARY_ADD.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-25
python3.11/206-Fix-f-string-const-name-interp.patch [PATCH 06/20] Fix f-string const name interp.
As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-25
python3.11/207-Rewrite-_jump_if_none-to-match-pre-py3.11.patch [PATCH 07/20] Rewrite _jump_if_none to match pre-py3.11
As title
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-25
python3.11/208-Fix-near-and-far-jump-target-ordering.patch [PATCH 08/20] Fix near and far jump target ordering.
This fixes the true branch to be fall through and the false branch
to be a jump. It seems to fix branch pruning but there's something
strange about it.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-25
python3.11/209-Add-more-new-op-code-handling.patch [PATCH 09/20] Add more new op code handling.
* `POP_JUMP_BACKWARD_IF_NONE`
* `POP_JUMP_BACKWARD_IF_NOT_NONE`
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-25
python3.11/210-Fix-issue-with-EXTENDED_ARG-test-and-update-test.patch [PATCH 10/20] Fix issue with EXTENDED_ARG test and update test support for code obj.

As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-25
python3.11/211-Add-pop-NULL-to-CALL_FUNCTION_EX-byteflow-analysis.patch [PATCH 11/20] Add pop NULL to CALL_FUNCTION_EX byteflow analysis.
The cPython compiler seems to add a PUSH_NULL ahead of a CALL-like
instruction irrespective of whether it will be used. This causes
confusion in the byteflow analysis in the case of a loop containing
a CALL-like that doesn't consume the NULL as the state at the end
of the loop has the NULL on the stack and so it appears to be a
"new" state with the same PC offset.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-28
python3.11/212-Fix-out-of-bounds-loop-index-in-test.patch [PATCH 12/20] Fix out of bounds loop index in test.
As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-28
python3.11/213-Accommodate-multiple-bytecodes-at-block-start-with-no.patch [PATCH 13/20] Accommodate multiple bytecodes at block start with no line number.

As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-28
python3.11/214-Fix-parfors-prange-test-generator-LOAD_GLOBAL-args.patch [PATCH 14/20] Fix parfors prange test generator LOAD_GLOBAL args.
As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-28
python3.11/215-Update-assertion-for-Python-3.11-style-error-messages.patch [PATCH 15/20] Update assertion for Python 3.11 style error messages
As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-29
python3.11/216-Fix-bytecode-iteration-to-handle-EXTENDED_ARG-as-jump.patch [PATCH 16/20] Fix bytecode iteration to handle EXTENDED_ARG as jump target.

As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-11-29
python3.11/217-Fix-rebase-error-in-op_LOAD_DEREF.patch [PATCH 17/20] Fix rebase error in op_LOAD_DEREF
Branches for Python ==3.11 vs <3.11 were the wrong way around.

Also fixes flake8 in numba.core.interpreter.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-12-05
python3.11/218-Respond-to-feedback-RE-use-of-_is_null_temp_reg-in.patch [PATCH 18/20] Respond to feedback RE use of `_is_null_temp_reg` in byteflow.py

As title.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-12-05
python3.11/219-Fix-binop-names-to-be-legal-variable-names.patch [PATCH 19/20] Fix binop names to be legal variable names.
This fetches the "name" of the binop operator function to use as
a name such that Numba IR variable names can also be legal Python
variable names. i.e. it turns `binop_+<>` into `binop_add<>`.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-12-05
python3.11/220-Update-test_extended_arg-to-use-CodeType.replace.patch [PATCH 20/20] Update `test_extended_arg` to use CodeType.replace()
As title. This also permits the removal of
`numba.tests.support.tweak_code`.

The `test_extended_arg.py` file is made flake8 compliant.
Stuart Archibald <stuartarchibald@users.noreply.github.com> no https://github.com/numba/numba/pull/8639 2022-12-05
python3.11/301-Fix-bare-reraise-support.patch [PATCH] Fix bare reraise support Siu Kwan Lam <1929845+sklam@users.noreply.github.com> no https://github.com/numba/numba/pull/8644 2022-12-05
tests-failing-python3.patch avoid tests that are causing significant trouble on with the Python 3.11 patches applied. The issues need to be fixed upstream. Diane Trout <diane@ghic.org> no

All known versions for source package 'numba'

Links