unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Subject: [core-updates-frozen] python2-google-api-client and sanity-check
Date: Tue, 31 Aug 2021 09:18:54 +0200	[thread overview]
Message-ID: <86bl5edqu9.fsf@gmail.com> (raw)

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



             reply	other threads:[~2021-08-31  7:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-31  7:18 zimoun [this message]
2021-08-31 12:39 ` [core-updates-frozen] python2-google-api-client and sanity-check Lars-Dominik Braun
2021-08-31 13:01   ` zimoun
2021-08-31 16:41     ` Lars-Dominik Braun
2021-08-31 17:00       ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bl5edqu9.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).