From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D8BF4158064 for ; Thu, 9 May 2024 04:08:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EECFEE2C58; Thu, 9 May 2024 04:08:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9E80E2C58 for ; Thu, 9 May 2024 04:08:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 013FD3431E1 for ; Thu, 9 May 2024 04:08:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 953A91A4B for ; Thu, 9 May 2024 04:08:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1715227051.4d8df3ad51e5aee4de1ccb4288fd921ef44ea411.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/poetry/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/poetry/Manifest dev-python/poetry/poetry-1.8.3.ebuild X-VCS-Directories: dev-python/poetry/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4d8df3ad51e5aee4de1ccb4288fd921ef44ea411 X-VCS-Branch: master Date: Thu, 9 May 2024 04:08:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 022df40b-014e-4293-9d48-6ad23e986caf X-Archives-Hash: b05f0ce577b54c934de9ca1b808ed5b2 commit: 4d8df3ad51e5aee4de1ccb4288fd921ef44ea411 Author: Michał Górny gentoo org> AuthorDate: Thu May 9 03:57:31 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 9 03:57:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8df3ad dev-python/poetry: Bump to 1.8.3 Signed-off-by: Michał Górny gentoo.org> dev-python/poetry/Manifest | 1 + dev-python/poetry/poetry-1.8.3.ebuild | 94 +++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index 7b69969a2fa2..948b21bd7e21 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1 +1,2 @@ DIST poetry-1.8.2.tar.gz 1516966 BLAKE2B 6ca39b426a4117d0c2c3f12b9151d621d629f746e51ca77cda8d7f67ae2493ea9ecb7dd02f69cad3f346579fc3bb16b1117c0dad0a148763bb439c35eac673a5 SHA512 0151c264c2f353753ab7c5a248cdd30e60e33505fd915d841e789a37b18cc06f28b4f987144cd3dbf915e23f6947f6b17cb8fa316b34ce866b6b3559e73b8ddc +DIST poetry-1.8.3.tar.gz 1518910 BLAKE2B 87c06f9d72c7fbe9f821d8a1de66028d64dfb06a274d67f14d49030c0d9a21f702fc9a5c35fa3a1e75d11c8db01516182f8523e9c466398b305d908e0e02d211 SHA512 72e604e246ec8426a29151caae81bf6b0495d17af519a41a7b934f8d50496dbf77605ea3f2e03bd41fb75a0c97d274987ac0359004544ea6ea19dcc118129e05 diff --git a/dev-python/poetry/poetry-1.8.3.ebuild b/dev-python/poetry/poetry-1.8.3.ebuild new file mode 100644 index 000000000000..8576900acfe7 --- /dev/null +++ b/dev-python/poetry/poetry-1.8.3.ebuild @@ -0,0 +1,94 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry + https://pypi.org/project/poetry/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/poetry-core-1.9.0[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] + >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.10[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.23.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" + +BDEPEND=" + test? ( + >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] + >=dev-python/httpretty-1.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # unpin + sed -e 's:\^:>=:' \ + -e '/poetry-core/s:":">=:' \ + -e 's:,<[0-9.]*::' \ + -i pyproject.toml || die + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Tests require network (they run `pip install ...`) + tests/installation/test_chef.py::test_isolated_env_install_success + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files + tests/installation/test_installer.py::test_installer_with_pypi_repository + tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup + tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable + + # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. + tests/installation/test_chef.py::test_prepare_sdist + tests/installation/test_chef.py::test_prepare_directory + tests/installation/test_chef.py::test_prepare_directory_with_extensions + tests/installation/test_chef.py::test_prepare_directory_editable + + # Internal test for lockfile being up-to-date + # Meaningless, also sdist does not include lockfile + tests/installation/test_installer.py::test_not_fresh_lock + + # TODO + tests/installation/test_executor.py::test_executor_known_hashes + tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable +) + +distutils_enable_tests pytest