Diff poetry-1.5.1-r2 with a poetry-1.6.0

/usr/portage/dev-python/poetry/poetry-1.6.0.ebuild 2023-10-09 14:52:30.328368371 +0300
19 19
KEYWORDS="~amd64"
20 20

  
21 21
RDEPEND="
22
	>=dev-python/poetry-core-1.6.1[${PYTHON_USEDEP}]
23
	>=dev-python/poetry-plugin-export-1.4.0[${PYTHON_USEDEP}]
22
	>=dev-python/poetry-core-1.7.0[${PYTHON_USEDEP}]
23
	>=dev-python/poetry-plugin-export-1.5.0[${PYTHON_USEDEP}]
24 24
	>=dev-python/build-0.10.0[${PYTHON_USEDEP}]
25
	>=dev-python/cachecontrol-0.12.9[${PYTHON_USEDEP}]
25
	>=dev-python/cachecontrol-0.13.0[${PYTHON_USEDEP}]
26 26
	>=dev-python/cleo-2.0.0[${PYTHON_USEDEP}]
27 27
	>=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}]
28 28
	>=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}]
29
	>=dev-python/filelock-3.8.0[${PYTHON_USEDEP}]
30
	>=dev-python/html5lib-1.0[${PYTHON_USEDEP}]
31 29
	>=dev-python/installer-0.7.0[${PYTHON_USEDEP}]
32 30
	>=dev-python/jsonschema-4.10.0[${PYTHON_USEDEP}]
33
	>=dev-python/keyring-23.9.0[${PYTHON_USEDEP}]
34
	>=dev-python/lockfile-0.12.2[${PYTHON_USEDEP}]
31
	>=dev-python/keyring-24.0.0[${PYTHON_USEDEP}]
35 32
	>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
36 33
	>=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}]
37 34
	>=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}]
......
58 55
"
59 56

  
60 57
src_prepare() {
61
	# Dependency on abandoned package cachy has been removed from poetry https://github.com/python-poetry/poetry/pull/5868
62
	# and remains in tests only for time being, so we can skip them.
63
	# removal of tests upstream https://github.com/python-poetry/poetry/pull/7437
64
	sed -e "s/from cachy import CacheManager/from unittest import mock; CacheManager = mock.Mock # Gentoo ebuild patched/g" \
65
		-i tests/console/commands/cache/conftest.py \
66
		-i tests/utils/test_cache.py || die
67
	sed -e 's:"cachy_file_cache", ::g' \
68
		-i tests/utils/test_cache.py || die
69

  
70 58
	# unpin
71
	sed -i -e 's:\^:>=:' pyproject.toml || die
59
	sed -e 's:\^:>=:' \
60
		-e '/poetry-core/s:":">=:' \
61
		-e 's:,<[0-9.]*::' \
62
		-i pyproject.toml || die
72 63

  
73 64
	distutils-r1_src_prepare
74 65
}
75 66

  
76 67
EPYTEST_DESELECT=(
77
	# Dependency on abandoned package cachy has been removed from poetry https://github.com/python-poetry/poetry/pull/5868
78
	# and remains in tests only for time being, so we can skip them.
79
	# removal of tests upstream https://github.com/python-poetry/poetry/pull/7437
80
	tests/console/commands/cache/test_clear.py::test_cache_clear_all
81
	tests/console/commands/cache/test_clear.py::test_cache_clear_all_no
82
	tests/console/commands/cache/test_clear.py::test_cache_clear_pkg
83
	tests/console/commands/cache/test_clear.py::test_cache_clear_pkg_no
84
	tests/utils/test_cache.py::test_cachy_compatibility
85

  
86 68
	# Tests require network (they run `pip install ...`)
87 69
	tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories
88 70
	tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git
......
90 72
	tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup
91 73
	tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files
92 74
	tests/installation/test_installer.py::test_installer_with_pypi_repository
75
	tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable
93 76

  
94 77
	# Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available.
95 78
	tests/installation/test_chef.py::test_prepare_sdist
Thank you!