Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911709 - dev-python/future-0.18.3 fails tests: SyntaxError: source code string cannot contain null bytes
Summary: dev-python/future-0.18.3 fails tests: SyntaxError: source code string cannot ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-08-04 13:32 UTC by Agostino Sarubbo
Modified: 2024-04-13 14:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,645.06 KB, text/plain)
2023-08-04 13:32 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-08-04 13:32:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/future-0.18.3 fails tests (PYTHON-3.12-SYSTEM).
Discovered on: amd64 (internal ref: python-3.12_tinderbox)

NOTE:
(PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-04 13:32:31 UTC
Created attachment 867019 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-04 13:32:32 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       SyntaxError: source code string cannot contain null bytes
FAILED tests/test_future/test_builtins.py::BuiltinTest::test_compile - Syntax...
Comment 3 Eli Schwartz gentoo-dev 2024-02-02 04:29:33 UTC
Not a blocker for python 3.12 porting, the test failure happens on python 3.11.

The title is inaccurate -- the use of python 3.12 on the system doesn't matter and isn't related to the PYTHON_TARGETS used.