[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/45: gnu: python-flask-combo-jsonapi: Fix build.
From: |
guix-commits |
Subject: |
28/45: gnu: python-flask-combo-jsonapi: Fix build. |
Date: |
Wed, 12 Jan 2022 17:58:42 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 60bcbfba148c75f1883c2c4f73d8a1793ed81176
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 12 18:51:14 2022 +0100
gnu: python-flask-combo-jsonapi: Fix build.
* gnu/packages/python-web.scm (python-flask-combo-jsonapi)[arguments]:
Remove
version pinning, and override check phase.
[propagated-inputs]: Change from PYTHON-SQLALCHEMY-1.3 to PYTHON-SQLALCHEMY.
Change PYTHON-MARSHMALLOW-3.2 to PYTHON-MARSHMALLOW.
---
gnu/packages/python-web.scm | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 951ab10903..220a93f344 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2016, 2017, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2016, 2017, 2019-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus
<rekado@elephly.net>
;;; Copyright © 2017, 2021 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2017, 2020 Julien Lepiller <julien@lepiller.eu>
@@ -6306,12 +6306,24 @@ provides well-defined APIs to talk to websites lacking
one.")
(sha256
(base32 "07fhcjiyif80z1vyh35za29sqx1mmqh568jrbrrs675j4a797sj1"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ ;; Don't pin specific versions of dependencies.
+ (substitute* "requirements.txt"
+ (("^sqlalchemy[=<>].*") "sqlalchemy\n")
+ (("^marshmallow[=<>].*") "marshmallow\n")
+ (("^Flask[=<>].*") "Flask\n"))))
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv"))))))
(propagated-inputs
(list python-flask
- python-marshmallow-3.2
+ python-marshmallow
python-marshmallow-jsonapi
python-simplejson
- python-sqlalchemy-1.3
+ python-sqlalchemy
python-apispec
python-simplejson
python-six))
- 18/45: gnu: python-pari-jupyter: Update to 1.4.0., (continued)
- 18/45: gnu: python-pari-jupyter: Update to 1.4.0., guix-commits, 2022/01/12
- 04/45: gnu: python-readme-renderer: Update to 32.0., guix-commits, 2022/01/12
- 08/45: gnu: python-bleach: Update to 4.1.0., guix-commits, 2022/01/12
- 14/45: gnu: abjad-ext-ipython: Fix build., guix-commits, 2022/01/12
- 07/45: gnu: Remove python2-twine., guix-commits, 2022/01/12
- 31/45: gnu: python-marshmallow: Remove 3.2.1., guix-commits, 2022/01/12
- 23/45: gnu: python-isort: Do not depend on 'git'., guix-commits, 2022/01/12
- 30/45: gnu: python-marshmallow-jsonapi: Use python-marshmallow., guix-commits, 2022/01/12
- 27/45: gnu: python-black: Update to 21.12b0., guix-commits, 2022/01/12
- 36/45: gnu: python-oslo.serialization: Update to 4.2.0., guix-commits, 2022/01/12
- 28/45: gnu: python-flask-combo-jsonapi: Fix build.,
guix-commits <=
- 29/45: gnu: python-sqlalchemy: Remove 1.3., guix-commits, 2022/01/12
- 41/45: gnu: python-base58: Update to 2.1.1., guix-commits, 2022/01/12
- 26/45: gnu: diffoscope: Don't run Black tests., guix-commits, 2022/01/12
- 24/45: gnu: python-isort: Simplify inputs., guix-commits, 2022/01/12