[arch-commits] Commit in python-poetry/trunk (2 files)

Eli Schwartz eschwartz at archlinux.org
Thu Jun 11 21:31:43 UTC 2020


    Date: Thursday, June 11, 2020 @ 21:31:41
  Author: eschwartz
Revision: 642140

upgpkg: python-poetry 1.0.9-1: upstream release

Modified:
  python-poetry/trunk/0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
  python-poetry/trunk/PKGBUILD

-----------------------------------------------------------------+
 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch |   30 ++++++++--
 PKGBUILD                                                        |   12 ++--
 2 files changed, 30 insertions(+), 12 deletions(-)

Modified: 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
===================================================================
--- 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch	2020-06-11 21:30:38 UTC (rev 642139)
+++ 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch	2020-06-11 21:31:41 UTC (rev 642140)
@@ -1,4 +1,4 @@
-From 983be1fa0e0780c816147d994e97846c8a2f6db9 Mon Sep 17 00:00:00 2001
+From 1ab9a805b13959f1e8702dab919925713643500d Mon Sep 17 00:00:00 2001
 From: Eli Schwartz <eschwartz at archlinux.org>
 Date: Mon, 27 Apr 2020 21:51:57 -0400
 Subject: [PATCH] Suppress dependency versions which are known to be too
@@ -6,12 +6,20 @@
 
 These all work just fine in reported use and should not be pinned; we
 package versions in Arch which are "too new".
+
+Also fix completely broken dependency pinning which tries to enforce
+minimum versions of dependencies, but pins it twice, once with more
+relaxed pinning for older versions of python. If an old version works,
+it works irrespective of the python version, and you don't need to use
+minimum requirements as your mallet to force people to upgrade to the
+latest version anyway.
+https://github.com/dephell/dephell/issues/330
 ---
- pyproject.toml | 11 ++++-------
- 1 file changed, 4 insertions(+), 7 deletions(-)
+ pyproject.toml | 16 +++++-----------
+ 1 file changed, 5 insertions(+), 11 deletions(-)
 
 diff --git a/pyproject.toml b/pyproject.toml
-index 519fb37..06a31c3 100644
+index 7a38469..152e7af 100644
 --- a/pyproject.toml
 +++ b/pyproject.toml
 @@ -27,15 +27,15 @@ cleo = "^0.7.6"
@@ -33,7 +41,7 @@
  pexpect = "^4.7.0"
  
  # The typing module is not in the stdlib in Python 2.7 and 3.4
-@@ -49,10 +49,7 @@ glob2 = { version = "^0.6", python = "~2.7 || ~3.4" }
+@@ -49,19 +49,13 @@ glob2 = { version = "^0.6", python = "~2.7 || ~3.4" }
  virtualenv = { version = "^16.7.9", python = "~2.7" }
  # functools32 is needed for Python 2.7
  functools32 = { version = "^3.2.3", python = "~2.7" }
@@ -45,6 +53,16 @@
  # Use subprocess32 for Python 2.7 and 3.4
  subprocess32 = { version = "^3.5", python = "~2.7 || ~3.4" }
  importlib-metadata = {version = "~1.1.3", python = "<3.8"}
+ 
+ [tool.poetry.dev-dependencies]
+-pytest = [
+-    {version = "^4.1", python = "<3.5"},
+-    {version = "^5.4.3", python = ">=3.5"}
+-]
++pytest = { version = ">=4.1" }
+ pytest-cov = "^2.5"
+ mkdocs = { version = "^1.0", python = "~2.7.9 || ^3.4" }
+ pymdown-extensions = "^6.0"
 -- 
-2.26.2
+2.27.0
 

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-11 21:30:38 UTC (rev 642139)
+++ PKGBUILD	2020-06-11 21:31:41 UTC (rev 642140)
@@ -3,8 +3,8 @@
 
 _pkgname=poetry
 pkgname=python-poetry
-pkgver=1.0.5
-pkgrel=2
+pkgver=1.0.9
+pkgrel=1
 pkgdesc="Python dependency management and packaging made easy"
 arch=('any')
 url="https://poetry.eustace.io/"
@@ -21,11 +21,11 @@
 source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/sdispater/${_pkgname}/archive/${pkgver}.tar.gz"
         "0001-Suppress-dependency-versions-which-are-known-to-be-t.patch"
         "poetry-completions-generator")
-sha256sums=('9743e98177552ee6229cc05a35e6a8c7e4506280db66f0f7822ae1e48e651fdc'
-            'c53954bd03a76c72e279f046646b9144a592bd64d24717d778fda70eae75a519'
+sha256sums=('5939e2de3f0dfabd65944fa67596a3c5dd1ab2f318557633bbfdb375d0165015'
+            '14362e48099d14530905fe7b65650c7e074bfe10f05fffa516b0d0e095df16a8'
             '970225289188ea8dc49fbec8a2bfe0c891aee80ff56ba6e69bdd8afef8bccab6')
-b2sums=('7a53b6b60ec04e45b40bbf1be4147aa0f05fe34258c8dedc1235a8b2e67bdb13adc5e7fca48899a62c2fa822dc4124ac53aaabd0094244aa44ddff95bdd83173'
-        '1c4c3aa93a2be5bb586e9dbac34b808c417541261743042906a334a647103359302a5d68e9b3bd837907ea6ea3b86bc4b6b0b415cd2dff94bd64899f76aacbda'
+b2sums=('4857e946ea641454f2edeb5a297b348c85a6a9fc7e3d92794c581b22fe73aba49206db58e7494e5a62ea2f4c886ea385b44e37b6519f167c36cbd58aa929ee88'
+        '241da60804f7c9a486c3d57efe1984345fa93b697d78d494f1f339fbe27c30e072e853c12cf5def124bfccc42dcc34daa6d393f9c41284352f541956103facce'
         '3fd62e7936d7547dcd06a1a7519f176a1597553ecc959144a4be799bb7e2d688e187f14604d3e359ed10c128c722ebd588c07ca318e0be0a31d276dcb388e2e1')
 
 prepare() {



More information about the arch-commits mailing list