Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
python-jupyter-core
Commits:
5aba3866 by Antonio Rojas at 2023-10-11T18:33:25+02:00
Run tests in a venv
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -36,12 +36,9 @@ build() {
check() {
cd $_pyname-$pkgver
- pytest -v \
- --deselect tests/test_command.py::test_not_on_path \
- --deselect tests/test_command.py::test_path_priority \
- --deselect tests/test_command.py::test_argv0 \
- --deselect tests/test_utils.py::test_ensure_async \
- --deselect tests/test_paths.py::test_jupyter_path_prefer_env #
https://github.com/jupyter/jupyter_core/issues/208
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ test-env/bin/python -m pytest -v -W ignore::ResourceWarning
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jupyter-core/-/commit/5aba38666c1cd63085e73eac5aa562d71d0214b5
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jupyter-core/-/commit/5aba38666c1cd63085e73eac5aa562d71d0214b5
You're receiving this email because of your account on gitlab.archlinux.org.