[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71540] [PATCH 4/8] gnu: poetry: Update to 1.8.3.
From: |
Antero Mejr |
Subject: |
[bug#71540] [PATCH 4/8] gnu: poetry: Update to 1.8.3. |
Date: |
Fri, 14 Jun 2024 20:48:02 +0000 |
* gnu/packages/python-xyz.scm (poetry): Update to 1.8.3.
[arguments]: Enable tests.
[propagated-inputs]: Remove python-html5lib, python-msgpack-transitional, and
python-poetry-core-1.0; add python-dulwich, python-fastjsonschema,
python-importlib-metadata, python-installer, python-platformdirs,
python-poetry-core-next, python-poetry-plugin-export-minimal,
python-pypa-build, python-pyproject-hooks, python-tomli,
python-trove-classifiers, and python-xattr.
[native-inputs]: Add python-deepdiff, python-httpretty, python-pytest,
python-pytest-mock, python-pytest-randomly, and python-pytest-xdist.
Change-Id: Id0f0458015d8c2036f320c91469f0406ec4ebafc
---
gnu/packages/python-xyz.scm | 83 ++++++++++++++++++++++---------------
1 file changed, 50 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3231fc9729..658edecd6e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21557,46 +21557,63 @@ (define-public python-poetry-plugin-export
(define-public poetry
(package
(name "poetry")
- (version "1.1.12")
+ (version "1.8.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "poetry" version))
(sha256
(base32
- "0rr54mvcfcv9cv6vw2122y28xvd2pwqpv2x8c8j5ayz3gwsy4rjw"))))
- (build-system python-build-system)
+ "0j2zlg838nhlk8cd08ihaflxssyg4q6s0wfc87l43awf51lfpx37"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f ;PyPI does not have tests
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'patch-setup-py
- (lambda _
- (substitute* "setup.py"
- ;; Relax some of the requirements.
- (("(keyring>=21.2.0),<22.0.0" _ keyring) keyring)
- (("(packaging>=20.4),<21.0" _ packaging) packaging)))))))
- (propagated-inputs
- (list python-cachecontrol
- python-cachy
- python-cleo
- python-crashtest
- python-entrypoints
- python-html5lib
- python-keyring
- ; Use of deprecated version of msgpack reported upstream:
- ; https://github.com/python-poetry/poetry/issues/3607
- python-msgpack-transitional
- python-packaging
- python-pexpect
- python-pip
- python-pkginfo
- python-poetry-core-1.0
- python-requests
- python-requests-toolbelt
- python-shellingham
- python-tomlkit
- python-virtualenv))
+ (list #:phases #~(modify-phases %standard-phases
+ ;; Almost every dependency is pinned too strictly.
+ (delete 'sanity-check))
+ #:test-flags
+ #~(list
+ "--ignore=tests/installation/test_executor.py"
+ "--ignore=tests/installation/test_chef.py"
+ "-k"
+ (string-append
+ "not test_create_poetry_fails_on_invalid_configuration "
+ "and not test_shell "
+ "and not test_installer_with_pypi_repository "
+ "and not test_builder_setup_generation_runs_with_pip_editable "
+ "and not test_check_invalid"))))
+ (native-inputs (list python-deepdiff
+ python-httpretty
+ python-pytest
+ python-pytest-mock
+ python-pytest-randomly
+ python-pytest-xdist))
+ (propagated-inputs (list python-cachecontrol
+ python-cachy
+ python-cleo
+ python-crashtest
+ python-dulwich
+ python-entrypoints
+ python-fastjsonschema
+ python-importlib-metadata
+ python-installer
+ python-keyring
+ python-packaging
+ python-pexpect
+ python-pip
+ python-pkginfo
+ python-platformdirs
+ python-poetry-core
+ python-poetry-plugin-export
+ python-pypa-build
+ python-pyproject-hooks
+ python-requests
+ python-requests-toolbelt
+ python-shellingham
+ python-tomli
+ python-tomlkit
+ python-trove-classifiers
+ python-virtualenv
+ python-xattr))
(home-page "https://python-poetry.org")
(synopsis "Python dependency management and packaging made easy")
(description "Poetry is a tool for dependency management and packaging
--
2.45.1
- [bug#71540] [PATCH 6/7] gnu: python-cleo: Update to 2.1.0., (continued)
- [bug#71540] [PATCH 2/8] gnu: Add python-poetry-plugin-export., Antero Mejr, 2024/06/14
- [bug#71540] [PATCH 1/8] gnu: Add python-installer., Antero Mejr, 2024/06/14
- [bug#71540] [PATCH 3/8] gnu: python-poetry-core: Update to 1.9.0., Antero Mejr, 2024/06/14
- [bug#71540] [PATCH 4/8] gnu: poetry: Update to 1.8.3.,
Antero Mejr <=
- [bug#71540] [PATCH 5/8] gnu: python-betamax: Update to 0.9.0., Antero Mejr, 2024/06/14
- [bug#71540] [PATCH 6/8] gnu: python-requests-toolbelt: Update to 1.0.0., Antero Mejr, 2024/06/14
- [bug#71540] [PATCH 7/8] gnu: python-jsonpickle: Update to 3.2.1., Antero Mejr, 2024/06/14
- [bug#71540] [PATCH 8/8] gnu: Remove python-poetry-core-1.0., Antero Mejr, 2024/06/14