[petsc-dev] PETSc-3.16.3 and Python-3.11
Antonio T. sagitter
sagitter at fedoraproject.org
Sat Jan 15 09:03:38 CST 2022
Hi all.
Please, can you adapt petsc4py-3.16.3 to Python-3.11?
We have a special development branch where we move up the use of
Python-3.11 (Python-3.11 is expected for Fedora 37).
In file included from src/PETSc.c:4:
src/petsc4py.PETSc.c:318:11: error: too few arguments to function
‘PyCode_New’
318 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell,
fn, name, fline, lnos)
| ^~~~~~~~~~
src/petsc4py.PETSc.c:341687:34: note: in expansion of macro
‘__Pyx_PyCode_New’
341687 | __pyx_codeobj__23 = (PyObject*)__Pyx_PyCode_New(0, 0, 3, 0,
CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes,
__pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__22,
__pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_PETSc_Log_pyx,
__pyx_n_s_wrapped_func, 110, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__23)) __PYX_ERR(28, 110, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~
Red Hat Bugzilla's bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2039365#c3
--
---
Antonio Trande
Fedora Project
mailto: sagitter at fedoraproject.org
GPG key: 0xCC1CFEF30920C8AE
GPG key server: https://keyserver1.pgp.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xCC1CFEF30920C8AE.asc
Type: application/pgp-keys
Size: 1797 bytes
Desc: OpenPGP public key
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20220115/0ff1ab69/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20220115/0ff1ab69/attachment.sig>
More information about the petsc-dev
mailing list