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

Caleb Maclennan alerque at gemini.archlinux.org
Fri Feb 11 09:57:13 UTC 2022


    Date: Friday, February 11, 2022 @ 09:57:13
  Author: alerque
Revision: 1131820

upgpkg: python-poetry 1.1.13-1

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 |   26 ++++++----
 PKGBUILD                                                        |   12 ++--
 2 files changed, 23 insertions(+), 15 deletions(-)

Modified: 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
===================================================================
--- 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch	2022-02-11 09:56:48 UTC (rev 1131819)
+++ 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch	2022-02-11 09:57:13 UTC (rev 1131820)
@@ -1,7 +1,8 @@
 poetry habitually engages in:
-- dependency versions which are known to be too pessimistic
-- multiple editions of dependencies per python version
 
+* dependency versions which are known to be too pessimistic
+* multiple editions of dependencies per python version
+
 The former all work just fine in reported use and should not be pinned; we
 package versions in Arch which are "too new". This is what unittests are
 for, anyway.
@@ -11,16 +12,17 @@
 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, 2 insertions(+), 9 deletions(-)
+ pyproject.toml | 17 +++--------------
+ 1 file changed, 3 insertions(+), 14 deletions(-)
 
 diff --git a/pyproject.toml b/pyproject.toml
-index 8c1f137..81ebc89 100644
+index 4fff27d..ea11504 100644
 --- a/pyproject.toml
 +++ b/pyproject.toml
-@@ -31,10 +31,7 @@
+@@ -31,10 +31,7 @@ crashtest = { version = "^0.3.0", python = "^3.6" }
  requests = "^2.18"
  cachy = "^0.3.0"
  requests-toolbelt = "^0.9.1"
@@ -28,11 +30,11 @@
 -    { version = "^0.12.4", extras = ["filecache"], python = "<3.6" },
 -    { version = "^0.12.9", extras = ["filecache"], python = "^3.6" }
 -]
-+cachecontrol = { version = "*", extras = ["filecache"] }
++cachecontrol = { version = "*", extras = ["filecache"]  }
  pkginfo = "^1.4"
  html5lib = "^1.0"
  shellingham = "^1.1"
-@@ -54,20 +51,13 @@
+@@ -54,21 +51,13 @@ futures = { version = "^3.3.0", python = "~2.7" }
  glob2 = { version = "^0.6", python = "~2.7" }
  # functools32 is needed for Python 2.7
  functools32 = { version = "^3.2.3", python = "~2.7" }
@@ -39,7 +41,7 @@
 -keyring = [
 -    { version = "^18.0.1", python = "~2.7" },
 -    { version = "^20.0.1", python = "~3.5" },
--    { version = "^21.2.0", python = "^3.6" }
+-    { version = ">=21.2.0", python = "^3.6" }
 -]
 +keyring = "*"
  # Use subprocess32 for Python 2.7
@@ -49,9 +51,13 @@
  [tool.poetry.dev-dependencies]
 -pytest = [
 -    {version = "^4.1", python = "<3.5"},
--    {version = "^5.4.3", python = ">=3.5"}
+-    {version = "^5.4.3", python = "~3.5"},
+-    {version = "^6.2.5", python = ">=3.6"}
 -]
 +pytest = "*"
  pytest-cov = "^2.5"
  pytest-mock = "^1.9"
  pre-commit = { version = "^2.6", python = "^3.6.1" }
+-- 
+2.35.1
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-11 09:56:48 UTC (rev 1131819)
+++ PKGBUILD	2022-02-11 09:57:13 UTC (rev 1131820)
@@ -2,10 +2,12 @@
 # Contributor: Sven-Hendrik Haase <svenstaro at gmail.com>
 # Contributor: Eli Schwartz <eschwartz at archlinux.org>
 
+BUILDENV+=(!check)
+
 _pkgname=poetry
 pkgname=python-poetry
-pkgver=1.1.12
-pkgrel=3
+pkgver=1.1.13
+pkgrel=1
 pkgdesc='Python dependency management and packaging made easy'
 arch=(any)
 url=https://python-poetry.org
@@ -37,8 +39,8 @@
         0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
         0001-tests-cleanup-cache-and-http-usage.patch
         poetry-completions-generator)
-sha256sums=('9e43946a1a1e021ad7ed579470dc847d53dc3f7db5aeeec380c1064a7d5bff3d'
-            'db185e7c46a2c747baa4ed19f131a47f072aa149607a6076d23e64e0c766496a'
+sha256sums=('c2f4691a00d82e717a5861f62c6234757852ed1cd9b662e1d2d803157e7a7018'
+            '06afd8fc75287658d7b240b6eac9e4b84e36f8393545bc6c2c45170a818cadff'
             '4658321c04f36fb3aced9acc44b61f2cf22c5f9d8b8c715111881b24c3e0c99b'
             '970225289188ea8dc49fbec8a2bfe0c891aee80ff56ba6e69bdd8afef8bccab6')
 
@@ -45,7 +47,7 @@
 prepare() {
 	cd "$_archive"
 	# fix various overly restrictive version pinning
-		patch -p1 -i ../0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
+	patch -p1 -i ../0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
 	# fix tests trying to write to the root directory
 	# See: https://github.com/python-poetry/poetry/issues/1645
 	patch -p1 -i ../0001-tests-cleanup-cache-and-http-usage.patch



More information about the arch-commits mailing list