diff --git a/.github/workflows/pytest-builds.yml b/.github/workflows/pytest-builds.yml
index fb6a76b..fadc2e5 100644
--- a/.github/workflows/pytest-builds.yml
+++ b/.github/workflows/pytest-builds.yml
@@ -105,16 +105,16 @@ jobs:
run: |
pytest --cov openjpeg openjpeg/tests
- - name: Install pydicom release and rerun pytest
+ - name: Install pydicom dev and rerun pytest (3.10+)
+ if: ${{ contains('3.10 3.11 3.12', matrix.python-version) }}
run: |
- pip install pydicom pylibjpeg
+ pip install git+https://github.com/pydicom/pydicom
pytest --cov openjpeg openjpeg/tests
- - name: Switch to pydicom dev and rerun pytest (3.10+)
- if: ${{ contains('3.10 3.11 3.12', matrix.python-version) }}
+ - name: Switch to current pydicom release and rerun pytest
run: |
pip uninstall -y pydicom
- pip install git+https://github.com/pydicom/pydicom
+ pip install pydicom pylibjpeg
pytest --cov openjpeg openjpeg/tests
- name: Send coverage results
diff --git a/.github/workflows/release-wheels.yml b/.github/workflows/release-wheels.yml
index 18e0697..fda718d 100644
--- a/.github/workflows/release-wheels.yml
+++ b/.github/workflows/release-wheels.yml
@@ -241,24 +241,18 @@ jobs:
name: Upload wheels to PyPI
needs: [ test-package ]
runs-on: ubuntu-latest
- timeout-minutes: 10
+ environment:
+ name: pypi
+ url: https://pypi.org/project/pylibjpeg-openjpeg/
+ permissions:
+ id-token: write
steps:
- name: Download the wheels
uses: actions/download-artifact@v4
with:
- name: wheels
path: dist/
-
- #- name: Publish package to Test PyPi
- # uses: pypa/gh-action-pypi-publish@master
- # with:
- # user: __token__
- # password: ${{ secrets.TEST_PYPI_PASSWORD }}
- # repository_url: https://test.pypi.org/legacy/
+ merge-multiple: true
- name: Publish package to PyPi
- uses: pypa/gh-action-pypi-publish@master
- with:
- user: __token__
- password: ${{ secrets.PYPI_PASSWORD }}
+ uses: pypa/gh-action-pypi-publish@release/v1
diff --git a/README.md b/README.md
index 32d64fa..3f09b55 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,16 @@
-[![Build Status](https://github.com/pydicom/pylibjpeg-openjpeg/workflows/unit-tests/badge.svg)](https://github.com/pydicom/pylibjpeg-openjpeg/actions?query=workflow%3Aunit-tests)
-[![codecov](https://codecov.io/gh/pydicom/pylibjpeg-openjpeg/branch/master/graph/badge.svg)](https://codecov.io/gh/pydicom/pylibjpeg-openjpeg)
-[![PyPI version](https://badge.fury.io/py/pylibjpeg-openjpeg.svg)](https://badge.fury.io/py/pylibjpeg-openjpeg)
-[![Python versions](https://img.shields.io/pypi/pyversions/pylibjpeg-openjpeg.svg)](https://img.shields.io/pypi/pyversions/pylibjpeg-openjpeg.svg)
+
+
+
+
+
+
+
+
## pylibjpeg-openjpeg
A Python 3.8+ wrapper for
-[openjpeg](https://github.com/uclouvain/openjpeg), with a focus on use as a
-plugin for [pylibjpeg](http://github.com/pydicom/pylibjpeg).
+[openjpeg](https://github.com/uclouvain/openjpeg), with a focus on use as a plugin for [pylibjpeg](http://github.com/pydicom/pylibjpeg).
Linux, OSX and Windows are all supported.
@@ -36,7 +39,6 @@ python -m pip install pylibjpeg-openjpeg
| ISO/IEC Standard | ITU Equivalent | JPEG Format |
| --- | --- | --- |
| [15444-1](https://www.iso.org/standard/78321.html) | [T.800](https://www.itu.int/rec/T-REC-T.800/en) | [JPEG 2000](https://jpeg.org/jpeg2000/) |
-| [15444-1](https://www.iso.org/standard/78321.html) | [T.800](https://www.itu.int/rec/T-REC-T.800/en) | [High-Throughput JPEG 2000](https://jpeg.org/jpeg2000/) |
#### Encoding
Encoding of JPEG 2000 images is not currently supported
diff --git a/openjpeg/_openjpeg.c b/openjpeg/_openjpeg.c
index 5bc7c7c..d357049 100644
--- a/openjpeg/_openjpeg.c
+++ b/openjpeg/_openjpeg.c
@@ -4,16 +4,16 @@
{
"distutils": {
"depends": [
- "/tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h",
- "/tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/arrayscalars.h",
- "/tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h",
- "/tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h",
- "/tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/ufuncobject.h"
+ "/tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h",
+ "/tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h",
+ "/tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h",
+ "/tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h",
+ "/tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h"
],
"include_dirs": [
"/home/dean/Coding/src/pylibjpeg-openjpeg/lib/openjpeg/src/lib/openjp2",
"/home/dean/Coding/src/pylibjpeg-openjpeg/lib/interface",
- "/tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/core/include"
+ "/tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/core/include"
],
"language": "c",
"name": "_openjpeg",
@@ -21,35 +21,35 @@
"/home/dean/Coding/src/pylibjpeg-openjpeg/openjpeg/_openjpeg.pyx",
"lib/interface/decode.c",
"lib/interface/color.c",
- "lib/openjpeg/src/lib/openjp2/function_list.c",
- "lib/openjpeg/src/lib/openjp2/pi.c",
- "lib/openjpeg/src/lib/openjp2/t2.c",
- "lib/openjpeg/src/lib/openjp2/t1_generate_luts.c",
- "lib/openjpeg/src/lib/openjp2/ht_dec.c",
- "lib/openjpeg/src/lib/openjp2/bio.c",
- "lib/openjpeg/src/lib/openjp2/j2k.c",
- "lib/openjpeg/src/lib/openjp2/tgt.c",
+ "lib/openjpeg/src/lib/openjp2/openjpeg.c",
+ "lib/openjpeg/src/lib/openjp2/cio.c",
"lib/openjpeg/src/lib/openjp2/sparse_array.c",
- "lib/openjpeg/src/lib/openjp2/jp2.c",
- "lib/openjpeg/src/lib/openjp2/mct.c",
- "lib/openjpeg/src/lib/openjp2/opj_malloc.c",
- "lib/openjpeg/src/lib/openjp2/event.c",
- "lib/openjpeg/src/lib/openjp2/ppix_manager.c",
- "lib/openjpeg/src/lib/openjp2/dwt.c",
- "lib/openjpeg/src/lib/openjp2/t1_ht_generate_luts.c",
- "lib/openjpeg/src/lib/openjp2/t1.c",
- "lib/openjpeg/src/lib/openjp2/phix_manager.c",
+ "lib/openjpeg/src/lib/openjp2/tgt.c",
+ "lib/openjpeg/src/lib/openjp2/mqc.c",
"lib/openjpeg/src/lib/openjp2/thread.c",
+ "lib/openjpeg/src/lib/openjp2/t1_ht_generate_luts.c",
+ "lib/openjpeg/src/lib/openjp2/t2.c",
+ "lib/openjpeg/src/lib/openjp2/pi.c",
"lib/openjpeg/src/lib/openjp2/image.c",
+ "lib/openjpeg/src/lib/openjp2/opj_malloc.c",
"lib/openjpeg/src/lib/openjp2/tcd.c",
- "lib/openjpeg/src/lib/openjp2/opj_clock.c",
- "lib/openjpeg/src/lib/openjp2/tpix_manager.c",
- "lib/openjpeg/src/lib/openjp2/mqc.c",
- "lib/openjpeg/src/lib/openjp2/openjpeg.c",
+ "lib/openjpeg/src/lib/openjp2/event.c",
+ "lib/openjpeg/src/lib/openjp2/cidx_manager.c",
+ "lib/openjpeg/src/lib/openjp2/mct.c",
"lib/openjpeg/src/lib/openjp2/thix_manager.c",
+ "lib/openjpeg/src/lib/openjp2/bio.c",
"lib/openjpeg/src/lib/openjp2/invert.c",
- "lib/openjpeg/src/lib/openjp2/cio.c",
- "lib/openjpeg/src/lib/openjp2/cidx_manager.c"
+ "lib/openjpeg/src/lib/openjp2/jp2.c",
+ "lib/openjpeg/src/lib/openjp2/phix_manager.c",
+ "lib/openjpeg/src/lib/openjp2/j2k.c",
+ "lib/openjpeg/src/lib/openjp2/tpix_manager.c",
+ "lib/openjpeg/src/lib/openjp2/ppix_manager.c",
+ "lib/openjpeg/src/lib/openjp2/ht_dec.c",
+ "lib/openjpeg/src/lib/openjp2/t1.c",
+ "lib/openjpeg/src/lib/openjp2/function_list.c",
+ "lib/openjpeg/src/lib/openjp2/dwt.c",
+ "lib/openjpeg/src/lib/openjp2/t1_generate_luts.c",
+ "lib/openjpeg/src/lib/openjp2/opj_clock.c"
]
},
"module_name": "_openjpeg"
@@ -1550,7 +1550,7 @@ static const char *__pyx_f[] = {
/* #### Code section: numeric_typedefs ### */
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":731
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":730
* # in Cython to enable them only on the right systems.
*
* ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
@@ -1559,7 +1559,7 @@ static const char *__pyx_f[] = {
*/
typedef npy_int8 __pyx_t_5numpy_int8_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":732
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":731
*
* ctypedef npy_int8 int8_t
* ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
@@ -1568,7 +1568,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
*/
typedef npy_int16 __pyx_t_5numpy_int16_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":733
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":732
* ctypedef npy_int8 int8_t
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
@@ -1577,7 +1577,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
*/
typedef npy_int32 __pyx_t_5numpy_int32_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":734
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":733
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t
* ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
@@ -1586,7 +1586,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
*/
typedef npy_int64 __pyx_t_5numpy_int64_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":738
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":737
* #ctypedef npy_int128 int128_t
*
* ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
@@ -1595,7 +1595,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
*/
typedef npy_uint8 __pyx_t_5numpy_uint8_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":739
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":738
*
* ctypedef npy_uint8 uint8_t
* ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
@@ -1604,7 +1604,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
*/
typedef npy_uint16 __pyx_t_5numpy_uint16_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":740
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":739
* ctypedef npy_uint8 uint8_t
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
@@ -1613,7 +1613,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
*/
typedef npy_uint32 __pyx_t_5numpy_uint32_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":741
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":740
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t
* ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
@@ -1622,7 +1622,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
*/
typedef npy_uint64 __pyx_t_5numpy_uint64_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":745
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":744
* #ctypedef npy_uint128 uint128_t
*
* ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
@@ -1631,7 +1631,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
*/
typedef npy_float32 __pyx_t_5numpy_float32_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":746
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":745
*
* ctypedef npy_float32 float32_t
* ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
@@ -1640,61 +1640,43 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
*/
typedef npy_float64 __pyx_t_5numpy_float64_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":755
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":754
* # The int types are mapped a bit surprising --
* # numpy.int corresponds to 'l' and numpy.long to 'q'
* ctypedef npy_long int_t # <<<<<<<<<<<<<<
- * ctypedef npy_longlong long_t
* ctypedef npy_longlong longlong_t
+ *
*/
typedef npy_long __pyx_t_5numpy_int_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":756
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":755
* # numpy.int corresponds to 'l' and numpy.long to 'q'
* ctypedef npy_long int_t
- * ctypedef npy_longlong long_t # <<<<<<<<<<<<<<
- * ctypedef npy_longlong longlong_t
- *
- */
-typedef npy_longlong __pyx_t_5numpy_long_t;
-
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":757
- * ctypedef npy_long int_t
- * ctypedef npy_longlong long_t
* ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
*
* ctypedef npy_ulong uint_t
*/
typedef npy_longlong __pyx_t_5numpy_longlong_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":759
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":757
* ctypedef npy_longlong longlong_t
*
* ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
- * ctypedef npy_ulonglong ulong_t
* ctypedef npy_ulonglong ulonglong_t
+ *
*/
typedef npy_ulong __pyx_t_5numpy_uint_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":760
- *
- * ctypedef npy_ulong uint_t
- * ctypedef npy_ulonglong ulong_t # <<<<<<<<<<<<<<
- * ctypedef npy_ulonglong ulonglong_t
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":758
*
- */
-typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
-
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":761
* ctypedef npy_ulong uint_t
- * ctypedef npy_ulonglong ulong_t
* ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
*
* ctypedef npy_intp intp_t
*/
typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":763
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":760
* ctypedef npy_ulonglong ulonglong_t
*
* ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
@@ -1703,7 +1685,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
*/
typedef npy_intp __pyx_t_5numpy_intp_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":764
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":761
*
* ctypedef npy_intp intp_t
* ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
@@ -1712,7 +1694,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
*/
typedef npy_uintp __pyx_t_5numpy_uintp_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":766
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":763
* ctypedef npy_uintp uintp_t
*
* ctypedef npy_double float_t # <<<<<<<<<<<<<<
@@ -1721,7 +1703,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
*/
typedef npy_double __pyx_t_5numpy_float_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":767
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":764
*
* ctypedef npy_double float_t
* ctypedef npy_double double_t # <<<<<<<<<<<<<<
@@ -1730,7 +1712,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
*/
typedef npy_double __pyx_t_5numpy_double_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":768
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":765
* ctypedef npy_double float_t
* ctypedef npy_double double_t
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
@@ -1767,7 +1749,7 @@ static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(do
/*--- Type declarations ---*/
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":770
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":767
* ctypedef npy_longdouble longdouble_t
*
* ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
@@ -1776,7 +1758,7 @@ static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(do
*/
typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":771
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":768
*
* ctypedef npy_cfloat cfloat_t
* ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
@@ -1785,7 +1767,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
*/
typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":772
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":769
* ctypedef npy_cfloat cfloat_t
* ctypedef npy_cdouble cdouble_t
* ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
@@ -1794,7 +1776,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
*/
typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":774
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":771
* ctypedef npy_clongdouble clongdouble_t
*
* ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
@@ -3387,7 +3369,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_codeobj__11 __pyx_mstate_global->__pyx_codeobj__11
/* #### Code section: module_code ### */
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":245
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
*
* @property
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -3398,7 +3380,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
PyObject *__pyx_r;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":248
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":248
* """Returns a borrowed reference to the object owning the data/memory.
* """
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
@@ -3408,7 +3390,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
__pyx_r = PyArray_BASE(__pyx_v_self);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":245
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":245
*
* @property
* cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -3421,7 +3403,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":251
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
*
* @property
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -3435,7 +3417,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
PyArray_Descr *__pyx_t_1;
__Pyx_RefNannySetupContext("descr", 1);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":254
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":254
* """Returns an owned reference to the dtype of the array.
* """
* return PyArray_DESCR(self) # <<<<<<<<<<<<<<
@@ -3448,7 +3430,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":251
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":251
*
* @property
* cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -3463,7 +3445,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":257
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
*
* @property
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -3474,7 +3456,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
int __pyx_r;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":260
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":260
* """Returns the number of dimensions in the array.
* """
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
@@ -3484,7 +3466,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
__pyx_r = PyArray_NDIM(__pyx_v_self);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":257
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":257
*
* @property
* cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -3497,7 +3479,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":263
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
*
* @property
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -3508,7 +3490,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
npy_intp *__pyx_r;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":268
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":268
* Can return NULL for 0-dimensional arrays.
* """
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
@@ -3518,7 +3500,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
__pyx_r = PyArray_DIMS(__pyx_v_self);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":263
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":263
*
* @property
* cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -3531,7 +3513,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":271
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
*
* @property
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -3542,7 +3524,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
npy_intp *__pyx_r;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":275
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":275
* The number of elements matches the number of dimensions of the array (ndim).
* """
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
@@ -3552,7 +3534,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
__pyx_r = PyArray_STRIDES(__pyx_v_self);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":271
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":271
*
* @property
* cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -3565,7 +3547,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":278
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
*
* @property
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -3576,7 +3558,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
npy_intp __pyx_r;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":281
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":281
* """Returns the total size (in number of elements) of the array.
* """
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
@@ -3586,7 +3568,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
__pyx_r = PyArray_SIZE(__pyx_v_self);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":278
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":278
*
* @property
* cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -3599,7 +3581,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":284
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
*
* @property
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -3610,7 +3592,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
char *__pyx_r;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":290
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":290
* of `PyArray_DATA()` instead, which returns a 'void*'.
* """
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
@@ -3620,7 +3602,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
__pyx_r = PyArray_BYTES(__pyx_v_self);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":284
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":284
*
* @property
* cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -3633,7 +3615,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":776
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -3650,7 +3632,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":777
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":774
*
* cdef inline object PyArray_MultiIterNew1(a):
* return PyArray_MultiIterNew(1, a) # <<<<<<<<<<<<<<
@@ -3658,13 +3640,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
* cdef inline object PyArray_MultiIterNew2(a, b):
*/
__Pyx_XDECREF(__pyx_r);
- __pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 777, __pyx_L1_error)
+ __pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 774, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":776
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":773
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -3683,7 +3665,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":779
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
* return PyArray_MultiIterNew(1, a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -3700,7 +3682,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":780
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":777
*
* cdef inline object PyArray_MultiIterNew2(a, b):
* return PyArray_MultiIterNew(2, a, b) # <<<<<<<<<<<<<<
@@ -3708,13 +3690,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
* cdef inline object PyArray_MultiIterNew3(a, b, c):
*/
__Pyx_XDECREF(__pyx_r);
- __pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 780, __pyx_L1_error)
+ __pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 777, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":779
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":776
* return PyArray_MultiIterNew(1, a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -3733,7 +3715,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":782
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
* return PyArray_MultiIterNew(2, a, b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -3750,7 +3732,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":783
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":780
*
* cdef inline object PyArray_MultiIterNew3(a, b, c):
* return PyArray_MultiIterNew(3, a, b, c) # <<<<<<<<<<<<<<
@@ -3758,13 +3740,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
*/
__Pyx_XDECREF(__pyx_r);
- __pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 783, __pyx_L1_error)
+ __pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 780, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":782
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":779
* return PyArray_MultiIterNew(2, a, b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -3783,7 +3765,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":785
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
* return PyArray_MultiIterNew(3, a, b, c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -3800,7 +3782,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":786
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":783
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
* return PyArray_MultiIterNew(4, a, b, c, d) # <<<<<<<<<<<<<<
@@ -3808,13 +3790,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
*/
__Pyx_XDECREF(__pyx_r);
- __pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 786, __pyx_L1_error)
+ __pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 783, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":785
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":782
* return PyArray_MultiIterNew(3, a, b, c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -3833,7 +3815,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":788
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
* return PyArray_MultiIterNew(4, a, b, c, d)
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -3850,7 +3832,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":789
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":786
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
* return PyArray_MultiIterNew(5, a, b, c, d, e) # <<<<<<<<<<<<<<
@@ -3858,13 +3840,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
* cdef inline tuple PyDataType_SHAPE(dtype d):
*/
__Pyx_XDECREF(__pyx_r);
- __pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 789, __pyx_L1_error)
+ __pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 786, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":788
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":785
* return PyArray_MultiIterNew(4, a, b, c, d)
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -3883,7 +3865,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":791
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
* return PyArray_MultiIterNew(5, a, b, c, d, e)
*
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -3897,7 +3879,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
int __pyx_t_1;
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":792
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
*
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -3907,7 +3889,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
if (__pyx_t_1) {
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":793
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":790
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d):
* return d.subarray.shape # <<<<<<<<<<<<<<
@@ -3919,7 +3901,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":792
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":789
*
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -3928,7 +3910,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
*/
}
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":795
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":792
* return d.subarray.shape
* else:
* return () # <<<<<<<<<<<<<<
@@ -3942,7 +3924,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
goto __pyx_L0;
}
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":791
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":788
* return PyArray_MultiIterNew(5, a, b, c, d, e)
*
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -3957,7 +3939,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
return __pyx_r;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":970
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
* int _import_umath() except -1
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -3966,8 +3948,12 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
*/
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
+ int __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":971
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":969
*
* cdef inline void set_array_base(ndarray arr, object base):
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
@@ -3976,16 +3962,16 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
*/
Py_INCREF(__pyx_v_base);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":972
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":970
* cdef inline void set_array_base(ndarray arr, object base):
* Py_INCREF(base) # important to do this before stealing the reference below!
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
*
* cdef inline object get_array_base(ndarray arr):
*/
- (void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
+ __pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 970, __pyx_L1_error)
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":970
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":968
* int _import_umath() except -1
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -3994,9 +3980,13 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
*/
/* function exit code */
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("numpy.set_array_base", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
}
-/* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":974
+/* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":972
* PyArray_SetBaseObject(arr, base)
*
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -4011,7 +4001,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
int __pyx_t_1;
__Pyx_RefNannySetupContext("get_array_base", 1);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":975
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":973
*
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
@@ -4020,7 +4010,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
*/
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":976
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr)
* if base is NULL: # <<<<<<<<<<<<<<
@@ -4030,7 +4020,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
__pyx_t_1 = (__pyx_v_base == NULL);
if (__pyx_t_1) {
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":977
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":975
* base = PyArray_BASE(arr)
* if base is NULL:
* return None # <<<<<<<<<<<<<<
@@ -4041,7 +4031,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":976
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":974
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr)
* if base is NULL: # <<<<<<<<<<<<<<
@@ -4050,7 +4040,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
*/
}
- /* "../../../../../tmp/tmpkhqunq9n/.venv/lib/python3.8/site-packages/numpy/__init__.cython-30.pxd":978
+ /* "../../../../../tmp/pip-build-env-x4mieqja/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd":976
* if base is NULL:
* return None
* return