Skip to content

BUG: f2py and public API test compile failures for 1.26.0 on Python 3.12 #24750

@limburgher

Description

@limburgher

Describe the issue:

Python 3.12 rc2

Numpy 1.26.0
build.log

The Fedora RPM build runs the test suite as part of the build. 6 tests fail:

FAILED ../../f2py/tests/test_compile_function.py::test_f2py_init_compile[extra_args0]
FAILED ../../f2py/tests/test_compile_function.py::test_f2py_init_compile[--noopt --debug]
FAILED ../../f2py/tests/test_compile_function.py::test_f2py_init_compile[] - ...
FAILED ../../f2py/tests/test_compile_function.py::test_compile_from_strings[program test_f2py\nend program test_f2py0]
FAILED ../../f2py/tests/test_compile_function.py::test_compile_from_strings[program test_f2py\nend program test_f2py1]
FAILED ../../tests/test_public_api.py::test_all_modules_are_expected - Assert...
6 failed, 34469 passed, 2339 skipped, 1305 deselected, 32 xfailed, 2 xpassed, 178 errors in 851.43s (0:14:11)

Reproduce the code example:

N/A

Error message:

No response

Runtime information:

See above

Context for the issue:

This impacts the update of Numpy in Fedora to support Python 3.12, which is the default in Fedora 39 and up.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions