1
0
mirror of synced 2024-12-22 21:00:20 +01:00

dev-vcs/dandi-cli: video tests failing and migrated to pycryptodome

Upstram report: https://github.com/dandi/dandi-cli/issues/944

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2022-03-31 14:36:16 -04:00
parent a64277cef0
commit 098fa6d16b
No known key found for this signature in database
GPG Key ID: 161C0BE6255333D3
3 changed files with 10 additions and 7 deletions

View File

@ -29,7 +29,7 @@ RDEPEND="
dev-python/keyring[${PYTHON_USEDEP}] dev-python/keyring[${PYTHON_USEDEP}]
dev-python/keyrings_alt[${PYTHON_USEDEP}] dev-python/keyrings_alt[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}] dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}] dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/pynwb[${PYTHON_USEDEP}] dev-python/pynwb[${PYTHON_USEDEP}]
dev-python/pyout[${PYTHON_USEDEP}] dev-python/pyout[${PYTHON_USEDEP}]

View File

@ -29,7 +29,7 @@ RDEPEND="
dev-python/keyring[${PYTHON_USEDEP}] dev-python/keyring[${PYTHON_USEDEP}]
dev-python/keyrings_alt[${PYTHON_USEDEP}] dev-python/keyrings_alt[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}] dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}] dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/pynwb[${PYTHON_USEDEP}] dev-python/pynwb[${PYTHON_USEDEP}]
dev-python/pyout[${PYTHON_USEDEP}] dev-python/pyout[${PYTHON_USEDEP}]

View File

@ -16,9 +16,6 @@ LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
IUSE="test etelemetry" IUSE="test etelemetry"
RESTRICT="test"
# video tests fail:
# https://github.com/dandi/dandi-cli/issues/944
RDEPEND=" RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}] dev-python/appdirs[${PYTHON_USEDEP}]
@ -33,7 +30,7 @@ RDEPEND="
dev-python/keyring[${PYTHON_USEDEP}] dev-python/keyring[${PYTHON_USEDEP}]
dev-python/keyrings_alt[${PYTHON_USEDEP}] dev-python/keyrings_alt[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}] dev-python/pycryptodome[${PYTHON_USEDEP}]
>=dev-python/pydantic-1.9.0[${PYTHON_USEDEP}] >=dev-python/pydantic-1.9.0[${PYTHON_USEDEP}]
dev-python/pynwb[${PYTHON_USEDEP}] dev-python/pynwb[${PYTHON_USEDEP}]
dev-python/pyout[${PYTHON_USEDEP}] dev-python/pyout[${PYTHON_USEDEP}]
@ -52,7 +49,6 @@ DEPEND="
dev-python/responses[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}]
dev-python/pyfakefs[${PYTHON_USEDEP}] dev-python/pyfakefs[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}]
media-libs/opencv[${PYTHON_USEDEP}]
) )
" "
@ -64,6 +60,13 @@ EPYTEST_DESELECT=(
"dandi/tests/test_utils.py::test_get_instance_cli_version_too_old" "dandi/tests/test_utils.py::test_get_instance_cli_version_too_old"
"dandi/tests/test_utils.py::test_get_instance_bad_cli_version" "dandi/tests/test_utils.py::test_get_instance_bad_cli_version"
) )
# Opencv test fail as of now:
# https://github.com/dandi/dandi-cli/issues/944
# add media-libs/opencv[${PYTHON_USEDEP}] to DEPEND test?
EPYTEST_DESELECT+=(
"dandi/tests/test_organize.py::test_video_organize"
"dandi/tests/test_organize.py::test_video_organize_common"
)
distutils_enable_tests pytest distutils_enable_tests pytest