Mailinglist Archive: opensuse-packaging (97 mails)

< Previous Next >
[opensuse-packaging] Re: What results in python-bytecode-wrong-magic-value for some builds?
  • From: Andreas Schwab <schwab@xxxxxxx>
  • Date: Mon, 18 Nov 2019 10:10:41 +0100
  • Message-id: <mvmo8x9v9bi.fsf@suse.de>
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@xxxxxxx
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References