[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
413/474: gnu: poetry: Update to 1.8.4.
From: |
guix-commits |
Subject: |
413/474: gnu: poetry: Update to 1.8.4. |
Date: |
Sat, 30 Nov 2024 18:21:06 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 9f2bae23febb1d1ec2457b5f5f1a3fa0cccb907f
Author: Antero Mejr <mail@antr.me>
AuthorDate: Mon Nov 25 20:45:40 2024 +0000
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>
---
gnu/packages/python-xyz.scm | 63 +++++++++++++++++++++++++++++++++------------
1 file changed, 46 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d1b5b55e8e..e74338b524 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22223,50 +22223,79 @@ database, file, dict stores. Cachy supports python
versions 2.7+ and 3.2+.")
(define-public poetry
(package
(name "poetry")
- (version "1.1.12")
+ (version "1.8.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "poetry" version))
(sha256
- (base32
- "0rr54mvcfcv9cv6vw2122y28xvd2pwqpv2x8c8j5ayz3gwsy4rjw"))))
- (build-system python-build-system)
+ (base32 "00ljr5r9h93wh68h4m242qw58mdai8gji4g0c3bfqznicvdgi42l"))))
+ (build-system pyproject-build-system)
(arguments
(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
#~(modify-phases %standard-phases
- ;; XXX: Silent sanity check as the package requires a long chain of
- ;; updates.
+ ;; Almost every dependency is pinned too strictly.
(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
(list python-cachecontrol
- python-cachy
python-cleo
- python-clikit
python-crashtest
+ python-dulwich
python-entrypoints
- python-html5lib
+ python-fastjsonschema
+ python-importlib-metadata
+ python-installer
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-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-virtualenv))
+ 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
-in Python. It allows you to declare the libraries your project depends on and
-it will manage (install/update) them for you.")
+ (description
+ "Poetry is a tool for dependency management and packaging in Python. It
+allows you to declare the libraries your project depends on and it will
+manage (install/update) them for you.")
(license license:expat)))
(define-public python-pyproject-api
- 319/474: gnu: python-pickleshare: Improve package style., (continued)
- 319/474: gnu: python-pickleshare: Improve package style., guix-commits, 2024/11/30
- 358/474: gnu: python-pytest-mpl: Update to 0.17.0., guix-commits, 2024/11/30
- 351/474: gnu: python-apispec: Update to 6.7.1., guix-commits, 2024/11/30
- 370/474: gnu: python-pytest-metadata: Update to 3.1.1., guix-commits, 2024/11/30
- 368/474: gnu: Add python-pytest-lazy-fixtures., guix-commits, 2024/11/30
- 348/474: gnu: python-flask: Update to 3.1.0., guix-commits, 2024/11/30
- 359/474: gnu: python-dirty-equals: Update to 0.8.0., guix-commits, 2024/11/30
- 401/474: gnu: python-aiofiles: Update to 24.1.0., guix-commits, 2024/11/30
- 397/474: gnu: python-paramiko: Update to 3.5.0., guix-commits, 2024/11/30
- 412/474: gnu: python-jsonpickle: Update to 4.0.0., guix-commits, 2024/11/30
- 413/474: gnu: poetry: Update to 1.8.4.,
guix-commits <=
- 427/474: gnu: python-mock: Update to 5.1.0, guix-commits, 2024/11/30
- 428/474: gnu: python-mock: Enable tests., guix-commits, 2024/11/30
- 446/474: gnu: python-traitlets: Remove pre-commit from native-inputs., guix-commits, 2024/11/30
- 99/474: gnu: python-jupyter-server-mathjax: Update to 0.2.6., guix-commits, 2024/11/30
- 110/474: gnu: python-openapi-core: Update to 0.19.1., guix-commits, 2024/11/30
- 113/474: gnu: python-jupyterlab-server: Update to 2.27.1., guix-commits, 2024/11/30
- 445/474: gnu: python-jsonargparse: Remove pre-commit from native-inputs., guix-commits, 2024/11/30
- 118/474: gnu: Add python-pytoolconfig., guix-commits, 2024/11/30
- 123/474: gnu: python-lsp-server: Update to 1.11.0., guix-commits, 2024/11/30
- 134/474: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/30