mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-05 12:31:12 +02:00
dev-python/pip: Sync with Gentoo
It's from Gentoo commit 00b19a8c3951f3e6828aa2e5a3be8ae69472e999.
This commit is contained in:
parent
f57473f5a9
commit
f872aa6d06
@ -6,7 +6,7 @@ EAPI=8
|
||||
# please bump dev-python/ensurepip-pip along with this package!
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_TESTED=( pypy3_11 python3_{11..13} )
|
||||
PYTHON_TESTED=( pypy3_11 python3_{11..14} )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
|
||||
PYTHON_REQ_USE="ssl(+),threads(+)"
|
||||
|
||||
@ -24,8 +24,9 @@ SRC_URI="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~riscv ~x86"
|
||||
IUSE="test-rust"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="test test-rust"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# see src/pip/_vendor/vendor.txt
|
||||
RDEPEND="
|
||||
@ -53,6 +54,7 @@ BDEPEND="
|
||||
dev-python/ensurepip-wheel
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/scripttest[${PYTHON_USEDEP}]
|
||||
@ -68,8 +70,6 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}/pip-23.1-no-coverage.patch"
|
||||
@ -152,6 +152,26 @@ python_test() {
|
||||
tests/functional/test_install_config.py::test_prompt_for_authentication
|
||||
)
|
||||
;;
|
||||
python3.14*)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO: segfaults
|
||||
tests/unit/test_collector.py::test_get_index_content_directory_append_index
|
||||
# https://github.com/python/cpython/issues/125974
|
||||
tests/unit/test_collector.py::test_ensure_quoted_url
|
||||
tests/unit/test_finder.py::test_finder_priority_file_over_page
|
||||
tests/unit/test_urls.py::test_path_to_url_unix
|
||||
tests/unit/test_collector.py::test_clean_url_path
|
||||
tests/unit/test_collector.py::test_clean_url_path_with_local_path
|
||||
tests/unit/test_req.py::TestRequirementSet::test_download_info_local_editable_dir
|
||||
tests/unit/test_req.py::test_parse_editable_local
|
||||
tests/unit/test_req.py::test_parse_editable_local_extras
|
||||
tests/unit/test_req.py::test_get_url_from_path__archive_file
|
||||
tests/unit/test_req.py::test_get_url_from_path__installable_dir
|
||||
tests/functional/test_lock.py::test_lock_wheel_from_findlinks
|
||||
tests/functional/test_lock.py::test_lock_sdist_from_findlinks
|
||||
tests/functional/test_lock.py::test_lock_local_editable_with_dep
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user