gnu: poetry: Update to 1.8.4.

* gnu/packages/python-xyz.scm (poetry): Update to 1.8.3.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Enable them.
[propagated-inputs]: Remove python-cachy, python-clikit,
python-html5lib, and python-msgpack-transitional; add python-dulwich,
python-fastjsonschema, python-importlib-metadata, python-installer,
python-platformdirs, python-poetry-plugin-export, 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.
[description]: Start from a new line.

Change-Id: Ib684aabedc1d95cde3824e24e00acd362da1b0e0
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Antero Mejr 2024-11-25 20:45:40 +00:00 committed by Sharlatan Hellseher
parent 6e312fe35e
commit 1576768907
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -22307,50 +22307,79 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.")
(define-public poetry (define-public poetry
(package (package
(name "poetry") (name "poetry")
(version "1.1.12") (version "1.8.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "poetry" version)) (uri (pypi-uri "poetry" version))
(sha256 (sha256
(base32 (base32 "00ljr5r9h93wh68h4m242qw58mdai8gji4g0c3bfqznicvdgi42l"))))
"0rr54mvcfcv9cv6vw2122y28xvd2pwqpv2x8c8j5ayz3gwsy4rjw")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments (arguments
(list (list
#:tests? #f ;PyPI does not have tests #:test-flags
#~(list "--ignore=tests/installation/test_executor.py"
"--ignore=tests/installation/test_chef.py"
"-k" (string-join
(list "not test_builder_setup_generation_runs_with_pip_editable"
"test_check_invalid"
"test_create_poetry_fails_on_invalid_configuration"
"test_installer_with_pypi_repository"
"test_shell"
;; RuntimeError: No lockfile found. Unable to read
;; locked packages
"test_not_fresh_lock"
;; assert False is True
"test_env_system_packages_are_relative_to_lib"
;; poetry.inspection.info.PackageInfoError: Unable
;; to determine package info for path
"test_info_setup_complex_calls_script")
" and not "))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; XXX: Silent sanity check as the package requires a long chain of ;; Almost every dependency is pinned too strictly.
;; updates.
(delete 'sanity-check)))) (delete 'sanity-check))))
(native-inputs
(list nss-certs-for-test
python-deepdiff
python-httpretty
python-pytest
python-pytest-mock
python-pytest-randomly
python-pytest-xdist))
(propagated-inputs (propagated-inputs
(list python-cachecontrol (list python-cachecontrol
python-cachy
python-cleo python-cleo
python-clikit
python-crashtest python-crashtest
python-dulwich
python-entrypoints python-entrypoints
python-html5lib python-fastjsonschema
python-importlib-metadata
python-installer
python-keyring python-keyring
; Use of deprecated version of msgpack reported upstream:
; https://github.com/python-poetry/poetry/issues/3607
python-msgpack-transitional
python-packaging python-packaging
python-pexpect python-pexpect
python-pip python-pip
python-pkginfo python-pkginfo
python-platformdirs
python-poetry-core python-poetry-core
python-poetry-plugin-export
python-pypa-build
python-pyproject-hooks
python-requests python-requests
python-requests-toolbelt python-requests-toolbelt
python-shellingham python-shellingham
python-tomli
python-tomlkit python-tomlkit
python-virtualenv)) python-trove-classifiers
python-virtualenv
python-xattr))
(home-page "https://python-poetry.org") (home-page "https://python-poetry.org")
(synopsis "Python dependency management and packaging made easy") (synopsis "Python dependency management and packaging made easy")
(description "Poetry is a tool for dependency management and packaging (description
in Python. It allows you to declare the libraries your project depends on and "Poetry is a tool for dependency management and packaging in Python. It
it will manage (install/update) them for you.") allows you to declare the libraries your project depends on and it will
manage (install/update) them for you.")
(license license:expat))) (license license:expat)))
(define-public python-pyproject-api (define-public python-pyproject-api