[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[core-updates-frozen] python2-google-api-client and sanity-check
From: |
zimoun |
Subject: |
[core-updates-frozen] python2-google-api-client and sanity-check |
Date: |
Tue, 31 Aug 2021 09:18:54 +0200 |
Hi,
Using the Mathieu’s script to pick one missing package from
core-updates-frozen, ’python2-google-api-client’ pops up. Initially, I
thought to simply remove it because it is Python 2 and Python 2 is EOL.
Well, ’python2-google-api-client’ builds fine on master. Therefore, let
try to build it locally and to be sure the removal is for good
reasons. :-) Then, the build fails because the ’sanity-check’ phase:
--8<---------------cut here---------------start------------->8---
starting phase `sanity-check'
validating 'google-api-python-client' /gnu/store/…-python2-google-api-client-1.\
6.7/lib/python2.7/site-packages
...checking requirements: OK
...trying to load module apiclient: OK
...trying to load module googleapiclient: OK
...trying to load module googleapiclient/discovery_cache: ERROR:
Traceback (most recent call last):
File "/gnu/store/…-sanity-check.py", line 69, in <module>
importlib.import_module(name)
File "/gnu/store/…-python2-2.7.18/lib/python2.7/importlib/__init__.py", line \
37, in import_module
__import__(name)
ImportError: Import by filename is not supported.
error: in phase 'sanity-check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("/gnu/store/…-sanity-c\
heck.py" "/gnu/store/…-python2-google-api-client-1.6.7/lib/python2.7/site-packa\
ges") exit-status: 1 term-signal: #f stop-signal: #f>
phase `sanity-check' failed after 1.0 seconds
--8<---------------cut here---------------end--------------->8---
Because this ’sanity-check’ is new, IIUC, my question is: is it
expected? And is it worth to fix such Python 2 packages or simply
remove them because ’sanity-check.py’ uses Python 3 only features?
Thanks in advance for any tips.
All the best,
simon
- [core-updates-frozen] python2-google-api-client and sanity-check,
zimoun <=