From f8458a228224942298e0967a099f872c13713ede Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 30 Jul 2021 15:54:31 +0200 Subject: build-system/python: Handle missing metadata on Python 2. * gnu/packages/aux-files/python/sanity-check.py: Catch the less specific EnvironmentError rather than FileNotFoundError as the latter is Python 3 only. --- gnu/packages/aux-files/python/sanity-check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/aux-files/python/sanity-check.py b/gnu/packages/aux-files/python/sanity-check.py index 83b6d583ca..a84f8f03c0 100644 --- a/gnu/packages/aux-files/python/sanity-check.py +++ b/gnu/packages/aux-files/python/sanity-check.py @@ -51,7 +51,7 @@ for dist in ws: # Try to load top level modules. This should not have any side-effects. try: metalines = dist.get_metadata_lines('top_level.txt') - except (KeyError, FileNotFoundError): + except (KeyError, EnvironmentError): # distutils (i.e. #:use-setuptools? #f) will not install any metadata. # This file is also missing for packages built using a PEP 517 builder # such as poetry. -- cgit v1.2.3 href='/guix/'>summaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
AgeCommit message (Expand)Author
2020-01-23Merge branch 'staging' into core-updatesMarius Bakke
2020-01-23gnu: sassc/libsass-3.5: Hide....Tobias Geerinckx-Rice
2020-01-23gnu: libnslog: Use check@0.12....Eric Bavier
2020-01-22gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'....Marius Bakke
2020-01-21Merge branch 'staging' into core-updatesMarius Bakke
2020-01-20gnu: guix-data-service: Update to 0.0.1-17.bf25a8d....Christopher Baines
2020-01-20gnu: stunnel: Update to 5.56....Tobias Geerinckx-Rice
2020-01-19gnu: arc-theme: Fix build....Tobias Geerinckx-Rice
2020-01-17gnu: Add perl-lwp-useragent-cached....Eric Bavier
2020-01-17gnu: Use HTTPS for sass-lang.com everywhere....Tobias Geerinckx-Rice
2020-01-11Merge branch 'master' into core-updatesMarius Bakke