unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [core-updates-frozen] python2-google-api-client and sanity-check
@ 2021-08-31  7:18 zimoun
  2021-08-31 12:39 ` Lars-Dominik Braun
  0 siblings, 1 reply; 5+ messages in thread
From: zimoun @ 2021-08-31  7:18 UTC (permalink / raw)
  To: Guix Devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-31 17:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31  7:18 [core-updates-frozen] python2-google-api-client and sanity-check zimoun
2021-08-31 12:39 ` Lars-Dominik Braun
2021-08-31 13:01   ` zimoun
2021-08-31 16:41     ` Lars-Dominik Braun
2021-08-31 17:00       ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).