[opensuse-packaging] What results in python-bytecode-wrong-magic-value for some builds?
Hi, any idea, where these dreaded: [ 310s] python3-nose2.noarch: W: python-bytecode-wrong-magic-value /usr/lib/python3.7/site-packages/nose2/tools/__pycache__/such.cpython-37.pyc expected 3390 or 3391 or 3392 or 3393 (3.7), found 3394 (unknown) [ 310s] The "magic" ABI version embedded in this python bytecode file isn't equal to [ 310s] that of the corresponding runtime, which will force the interpreter to [ 310s] recompile the .py source every time, ignoring the saved bytecode. stem from in some builds? E.g. here: https://build.opensuse.org/package/live_build_log/home:frispete:python/pytho... Thanks, Pete -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Nov 17 2019, Hans-Peter Jansen wrote:
any idea, where these dreaded:
[ 310s] python3-nose2.noarch: W: python-bytecode-wrong-magic-value /usr/lib/python3.7/site-packages/nose2/tools/__pycache__/such.cpython-37.pyc expected 3390 or 3391 or 3392 or 3393 (3.7), found 3394 (unknown) [ 310s] The "magic" ABI version embedded in this python bytecode file isn't equal to [ 310s] that of the corresponding runtime, which will force the interpreter to [ 310s] recompile the .py source every time, ignoring the saved bytecode.
stem from in some builds?
You are using your own version of python3, which is using a different ABI than the the official version. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am Montag, 18. November 2019, 10:10:41 CET schrieb Andreas Schwab:
On Nov 17 2019, Hans-Peter Jansen wrote:
any idea, where these dreaded:
[ 310s] python3-nose2.noarch: W: python-bytecode-wrong-magic-value
/usr/lib/python3.7/site-packages/nose2/tools/__pycache__/such.cpy thon-37.pyc expected 3390 or 3391 or 3392 or 3393 (3.7), found 3394 (unknown)
[ 310s] The "magic" ABI version embedded in this python bytecode file isn't equal to [ 310s] that of the corresponding runtime, which will force the interpreter to [ 310s] recompile the .py source every time, ignoring the saved bytecode.
stem from in some builds?
You are using your own version of python3, which is using a different ABI than the the official version.
Well, it's rpmlint, that's misguided. Will try to workaround it over night. Thanks, Pete -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Andreas Schwab
-
Hans-Peter Jansen