[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-packaging
Subject: [opensuse-packaging] Packaging python: W: python-bytecode-inconsistent-mtime
From: Hans-Peter Jansen <hpj () urpla ! net>
Date: 2020-09-28 8:00:53
Message-ID: 3260423.DWBl93vmOp () xrated
[Download RAW message or body]
Hi,
I'm packaging a couple of python3 modules for Leaps with a current
Python 3.8, and noticed, that Leap builds tend to warn about:
python3-pysnmp-apps.noarch: W: python-bytecode-inconsistent-mtime
/usr/lib/python3.8/site-packages/pysnmp_apps/__pycache__/__init__.cpython-38.opt-1.pyc \
1970-01-01T00:00:03
/usr/lib/python3.8/site-packages/pysnmp_apps/__init__.py 2018-01-07T08:15:27
eg. here:
https://build.opensuse.org/package/live_build_log/home:frispete:python/python-pysnmp-apps/openSUSE_Leap_15.2/x86_64
My gut feeling is, that the zeroed timestamp is enforced by Python 3.8, and
hence a false warning. Or do I have to expect:
[ 4s] The timestamp embedded in this python bytecode file isn't equal to the mtime
[ 4s] of the original source file, which will force the interpreter to recompile \
the [ 4s] .py source every time, ignoring the saved bytecode.
Cheers,
Pete
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic