Mailinglist Archive: opensuse-packaging (97 mails)

< Previous Next >
Re: [opensuse-packaging] Re: What results in python-bytecode-wrong-magic-value for some builds?
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Mon, 18 Nov 2019 12:36:18 +0100
  • Message-id: <3882348.RhAyzA0lqf@xrated>
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >