From 08bdef0659f53ca491d58aa86d2f702d72e69fdb538a7d8d66d359aaca4860e2 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 8 Oct 2020 14:01:20 +0000 Subject: [PATCH] - Add missing virtualenv and poetry-core runtime requirements - fix cleo dep in pyproject.toml as poetry checks that during runtime OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry?expand=0&rev=24 --- python-poetry.changes | 4 +++- python-poetry.spec | 1 + simplify-toml.patch | 15 ++++++++++++--- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/python-poetry.changes b/python-poetry.changes index 66c1269..ecaf96b 100644 --- a/python-poetry.changes +++ b/python-poetry.changes @@ -9,7 +9,9 @@ Thu Oct 8 13:29:35 UTC 2020 - Benjamin Greiner projects within project path dependencies. (#3105) * Fixed export of requirements.txt when project dependency contains git dependencies. (#3100) -- Add missing virtualenv runtime requirement +- Add missing virtualenv and poetry-core runtime requirements +- fix cleo dep in pyproject.toml as poetry checks that during + runtime ------------------------------------------------------------------- Mon Oct 5 12:17:17 UTC 2020 - Benjamin Greiner diff --git a/python-poetry.spec b/python-poetry.spec index 88c1ec4..6bd0a64 100644 --- a/python-poetry.spec +++ b/python-poetry.spec @@ -60,6 +60,7 @@ Requires: python-keyring >= 21.2.0 Requires: python-lockfile Requires: python-pexpect >= 4.7.0 Requires: python-pkginfo >= 1.4 +Requires: python-poetry-core >= 1.0.0 Requires: python-pyparsing >= 2.2 Requires: python-requests >= 2.18 Requires: python-requests-toolbelt >= 0.9.1 diff --git a/simplify-toml.patch b/simplify-toml.patch index 34ccfa8..8c781c5 100644 --- a/simplify-toml.patch +++ b/simplify-toml.patch @@ -1,7 +1,16 @@ -Index: poetry-1.1.1/pyproject.toml +Index: poetry-1.1.2/pyproject.toml =================================================================== ---- poetry-1.1.1.orig/pyproject.toml -+++ poetry-1.1.1/pyproject.toml +--- poetry-1.1.2.orig/pyproject.toml ++++ poetry-1.1.2/pyproject.toml +@@ -25,7 +25,7 @@ classifiers = [ + python = "~2.7 || ^3.5" + + poetry-core = "^1.0.0" +-cleo = "^0.8.1" ++cleo = "^0.8.0" + clikit = "^0.6.2" + crashtest = { version = "^0.3.0", python = "^3.6" } + requests = "^2.18" @@ -51,20 +51,13 @@ futures = { version = "^3.3.0", python = glob2 = { version = "^0.6", python = "~2.7" } # functools32 is needed for Python 2.7