From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id f5s6OOCbtmPRfQAAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 10:44:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wPtmN+CbtmP0tgAA9RJhRA (envelope-from ) for ; Thu, 05 Jan 2023 10:44:00 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 726DC10BCD for ; Thu, 5 Jan 2023 10:39:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDMVZ-0004Gt-R5; Thu, 05 Jan 2023 04:25:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDMVT-0004EO-IV for help-guix@gnu.org; Thu, 05 Jan 2023 04:25:51 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDMVR-0005Bi-SC for help-guix@gnu.org; Thu, 05 Jan 2023 04:25:51 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pDMVL-000HxU-2d for help-guix@gnu.org; Thu, 05 Jan 2023 10:25:43 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pDMVJ-0004us-Rw for help-guix@gnu.org; Thu, 05 Jan 2023 10:25:42 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pDMV6-0003Vn-HI for help-guix@gnu.org; Thu, 05 Jan 2023 10:25:28 +0100 Message-ID: <74cd030c-2df7-0066-fb89-3cbfe783abb0@futurile.net> Date: Thu, 5 Jan 2023 09:25:27 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US From: Steve George To: help-guix@gnu.org Subject: Help with Python package (virtualenvwrapper) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: permerror client-ip=2a0c:5a00:149::25; envelope-from=steve@futurile.net; helo=mailtransmit04.runbox.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, TRACKER_ID=0.1, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672911561; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=20eP++lOp87EcP8KWdIUaSyzTdX3kfHrGT5G4EsRJwA=; b=bVY7ohJpRFOgvhO+l/Rj8MpUfm6RGCynYZFQaokExjdftt7w6VtjF1rOP5cLDdcI1s6yJF eZgAr6vnDBXt0NADVji5mjOPCnBOyTZt+j9MPvTd+AFlcqX/ETvRBFBmwsMRrkANsPe4rA d7wUPFQujhPX9a6LC0olZuhyP9UNg/kCq77KqEvbAvtPps0WTDb7luHylGc15AglW7/J3w at8pn2q+vginz+jXA0/0MCAOG8cOfF+canUS7kgpsePrlMf+Jdi4uQNnsIkIsAmM36EVAk Aq9O4qeLbBUQWKFmLtWKVaVFJFJkAnMOXKXA67I9cpSbZ8qErkruf92Caq0K7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672911561; a=rsa-sha256; cv=none; b=adzgQnkKm5RhpfXcNcnsWOQP61ttrnM+2eVLO0ym3EfEbp+v+xmnlhg9bE+OpJMXSVGfJS t6D81Gf00eEA6h4eevojdky2TS+7XfrSjJrwkBfa6JHyjPyD7CV/uUw3bSySixPsBvWrI/ mbibxxGWTvG0XAPPRugS3wn6mZwA7MLHVzhQnDxTbrRHufv0o3ADEyZ4EaNJxYFz16+8eV ikhexx9+zTx2fFJQb1RHqTbqqiABJ9njmvlZwMY2anCNqCsmREyS5KavfcM/aug8Iyl6AE /M1eCH/Yr4R7eUTE56Bi3zCKriLiqHY6i4mIA3qup6o+cjm6up0KxM+UDwK1mw== X-Spam-Score: -1.46 X-Migadu-Queue-Id: 726DC10BCD Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.46 X-TUID: /seglYWlu6pZ Hi, I'm working on creating packages for virtualenvwrapper. I'm having problems with the 'check' phases of both packages and could do with some help ... I think I have the correct inputs for virtualenvwrapper, the package definition is below. The error I get is: error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test") exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 0.2 seconds command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with status 1 builder for `/gnu/store/2wa2kwafx63780wnk93gbx6xr2ms7kjq-python-virtualenvwrapper-4.8.4.drv' failed with exit code 1 build of /gnu/store/2wa2kwafx63780wnk93gbx6xr2ms7kjq-python-virtualenvwrapper-4.8.4.drv failed In the build log I can see this sort of error: File "/gnu/store/65i3nhcwmz0p8rqbg48gaavyky4g4hwk-python-3.9.9/lib/python3.9/site-packages/pkg_resources/__init__ .py", line 1379, in __init__ self.module_path = os.path.dirname(getattr(module, '__file__', '')) File "/gnu/store/65i3nhcwmz0p8rqbg48gaavyky4g4hwk-python-3.9.9/lib/python3.9/posixpath.py", line 152, in dirname p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not NoneType Does anyone know how to debug this further, or has run into this sort of problem? The build command I'm using is: guix build --file=python-virtualenvwrapper.scm --keep-failed Here's the package definitions that I have: (define-module (python-virtualenvwrapper) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system python) #:use-module (gnu packages python) #:use-module (gnu packages check) #:use-module (gnu packages python-check) #:use-module (gnu packages python-xyz) #:use-module (gnu packages openstack) ;;stevedore #:use-module (gnu packages python-build) ;;#:use-module (python-virtualenv-clone) ) (define-public python-virtualenv-clone (package (name "python-virtualenv-clone") (version "0.5.7") (source (origin (method url-fetch) (uri (pypi-uri "virtualenv-clone" version)) (sha256 (base32 "06jhhf8hndcgyk9k3bjbk3vz1xpajfxj9667agqzhlk1qcsyk3j1")))) (build-system python-build-system) (arguments (list #:tests? #f)) (native-inputs (list python-pytest python-tox python-virtualenv python-coverage python-wheel python-tomli)) (home-page "https://github.com/edwardgeorge/virtualenv-clone") (synopsis "script to clone virtualenvs.") (description "script to clone virtualenvs.") (license license:expat))) (define-public python-virtualenvwrapper (package (name "python-virtualenvwrapper") (version "4.8.4") (source (origin (method url-fetch) (uri (pypi-uri "virtualenvwrapper" version)) (sha256 (base32 "1yjviwbfwgsh6dqkd8ispfppbn04nv9zj6yrplhz43zdwwsak8ai")))) (build-system python-build-system) ;;(arguments (list #:tests? #f)) (native-inputs (list python-stevedore python-virtualenv python-virtualenv-clone python-wheel python-pbr)) (home-page "https://virtualenvwrapper.readthedocs.io/") (synopsis "Enhancements to virtualenv") (description "Enhancements to virtualenv") (license license:expat))) python-virtualenvwrapper Thanks, Futurile