guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#44077] [PATCH 2/2] gnu: poetry: Update to 1.1.3.


From: Tanguy Le Carrour
Subject: [bug#44077] [PATCH 2/2] gnu: poetry: Update to 1.1.3.
Date: Mon, 19 Oct 2020 15:29:12 +0200

* gnu/packages/python-xyz.scm (poetry): Update to 1.1.3.
[arguments]: Loosen constraints on python-keyring, python-tomlkit, 
python-packaging and
python-virtualenv.
[propagated-inputs] Remove python-jsonschema, python-pyparsing and 
python-pyrsistent.
Add python-packaging and python-poetry-core. Use python-requests-toolbelt-0.9.1.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 75733f31ad..a41b4dd0d2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12896,7 +12896,7 @@ PEP 517 compatible build frontends to build Poetry 
managed projects.")
 (define-public poetry
   (package
     (name "poetry")
-    (version "1.0.10")
+    (version "1.1.3")
     ;; Poetry can only be built from source with Poetry.
     (source
      (origin
@@ -12904,7 +12904,7 @@ PEP 517 compatible build frontends to build Poetry 
managed projects.")
        (uri (pypi-uri "poetry" version))
        (sha256
         (base32
-         "1wm66xlsls4f0q4skmq96yb7aahjsqwgwvbrw4iax6rd4xfqj6sb"))))
+         "0lvj5klbjkdxzbp9ins4mads3qzb47ycxfyh2hr35c245jgfisj9"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #f ;; Pypi does not have tests.
@@ -12913,14 +12913,12 @@ PEP 517 compatible build frontends to build Poetry 
managed projects.")
          (add-before 'build 'patch-setup-py
            (lambda _
              (substitute* "setup.py"
-               ;; poetry won't update version as 21.0.0 relies on python > 3.6
-               (("keyring>=20.0.1,<21.0.0") "keyring>=21.0.0,<22.0.0")
-               (("pyrsistent>=0.14.2,<0.15.0") "pyrsistent>=0.14.2,<0.17.0")
-               ;; Reported upstream:
-               ;; <https://github.com/python-poetry/poetry/issues/2752>.
-               (("tomlkit>=0.5.11,<0.6.0") "tomlkit>=0.5.11,<0.7.0")
-               (("cleo>=0.7.6,<0.8.0") "cleo>=0.7.6,<0.9.0")
-               (("clikit>=0.4.2,<0.5.0") "clikit>=0.4.2,<0.7.0"))
+               ;; Updating the following packages would force too many packages
+               ;; to be rebuilt.
+               (("keyring>=21.2.0,<22.0.0") "keyring>=21.0.0,<22.0.0")
+               (("tomlkit>=0.7.0,<1.0.0") "tomlkit>=0.6.0,<1.0.0")
+               (("packaging>=20.4,<21.0") "packaging>=20.0,<21.0")
+               (("virtualenv>=20.0.26,<21.0.0") "virtualenv>=20.0.10,<21.0.0"))
              #t)))))
     (propagated-inputs
      `(("python-cachecontrol" ,python-cachecontrol)
@@ -12928,15 +12926,14 @@ PEP 517 compatible build frontends to build Poetry 
managed projects.")
        ("python-cleo" ,python-cleo)
        ("python-clikit" ,python-clikit)
        ("python-html5lib" ,python-html5lib)
-       ("python-jsonschema" ,python-jsonschema)
        ("python-keyring" ,python-keyring)
        ("python-msgpack-transitional" ,python-msgpack-transitional)
+       ("python-packaging" ,python-packaging)
        ("python-pexpect" ,python-pexpect)
        ("python-pkginfo" ,python-pkginfo)
-       ("python-pyparsing" ,python-pyparsing)
-       ("python-pyrsistent" ,python-pyrsistent)
+       ("python-poetry-core" ,python-poetry-core)
        ("python-requests" ,python-requests)
-       ("python-requests-toolbelt" ,python-requests-toolbelt)
+       ("python-requests-toolbelt" ,python-requests-toolbelt-0.9.1)
        ("python-shellingham" ,python-shellingham)
        ("python-tomlkit" ,python-tomlkit)
        ("python-virtualenv" ,python-virtualenv)))
-- 
2.28.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]