test_color_brewer_extendability is very very slow
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 30/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- python
- Domaine
- testing-qa
Piste de recherche
Commencez par tests/test_utilities.py::test_color_brewer_extendability et exécutez-le avec la configuration pytest hors ligne signalée. Inspectez la pull request #193 liée et comparez les durées d’exécution du test et de la suite complète sans réseau ; c’est terminé lorsque le test ne reste plus bloqué pendant le cycle de tests de packaging signalé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation- because I'm calling
buildwith--no-isolationI'm using during all processes only locally installed modules - install .whl file in </install/prefix> using
installermodule - run pytest with $PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
- build is performed in env which is
cut off from access to the public network(pytest is executed with-m "not network")
Here is pytest output:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-branca-0.8.0-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-branca-0.8.0-2.fc37.x86_64/usr/lib/python3.10/site-packages
+ /usr/bin/pytest -ra -m 'not network' -v
============================= test session starts ==============================
platform linux -- Python 3.10.14, pytest-8.2.2, pluggy-1.5.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /home/tkloczko/rpmbuild/BUILD/branca-0.8.0
configfile: setup.cfg
collecting ... collected 37 items
tests/test_colormap.py::test_simple_step PASSED [ 2%]
tests/test_colormap.py::test_simple_linear PASSED [ 5%]
tests/test_colormap.py::test_step_color_indexing PASSED [ 8%]
tests/test_colormap.py::test_step_color_indexing_larger_index PASSED [ 10%]
tests/test_colormap.py::test_linear_color_indexing PASSED [ 13%]
tests/test_colormap.py::test_linear_to_step PASSED [ 16%]
tests/test_colormap.py::test_step_to_linear PASSED [ 18%]
tests/test_colormap.py::test_linear_object PASSED [ 21%]
tests/test_colormap.py::test_step_object PASSED [ 24%]
tests/test_colormap.py::test_max_labels_linear[10-expected0] PASSED [ 27%]
tests/test_colormap.py::test_max_labels_linear[5-expected1] PASSED [ 29%]
tests/test_colormap.py::test_max_labels_linear[3-expected2] PASSED [ 32%]
tests/test_colormap.py::test_max_labels_step[10-expected0] PASSED [ 35%]
tests/test_colormap.py::test_max_labels_step[5-expected1] PASSED [ 37%]
tests/test_colormap.py::test_max_labels_step[3-expected2] PASSED [ 40%]
tests/test_iframe.py::test_create_empty_iframe PASSED [ 43%]
tests/test_iframe.py::test_create_iframe PASSED [ 45%]
tests/test_iframe.py::test_rendering_utf8_iframe FAILED [ 48%]
tests/test_iframe.py::test_rendering_figure_notebook FAILED [ 51%]
tests/test_utilities.py::test_color_brewer_base PASSED [ 54%]
tests/test_utilities.py::test_color_brewer_reverse PASSED [ 56%]
tests/test_utilities.py::test_color_brewer_extendability
List of installed modules in build env:
Package Version
----------------------------- -----------
alabaster 0.7.16
attrs 23.2.0
Babel 2.15.0
build 1.2.1
certifi 2023.7.22
charset-normalizer 3.3.2
defusedxml 0.7.1
distro 1.9.0
docutils 0.20.1
exceptiongroup 1.1.3
h11 0.14.0
imagesize 1.4.1
importlib_metadata 7.1.0
iniconfig 2.0.0
installer 0.7.0
Jinja2 3.1.4
MarkupSafe 2.1.5
numpy 1.26.4
outcome 1.2.0
packaging 24.0
pluggy 1.5.0
Pygments 2.18.0
pyproject_hooks 1.0.0
pytest 8.2.2
python-dateutil 2.9.0.post0
requests 2.32.3
selenium 4.21.0
setuptools 69.4.0
setuptools-scm 8.1.0
sniffio 1.3.0
snowballstemmer 2.2.0
sortedcontainers 2.4.0
Sphinx 7.3.7
sphinxcontrib-applehelp 1.0.8
sphinxcontrib-devhelp 1.0.6
sphinxcontrib-htmlhelp 2.0.5
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.7
sphinxcontrib-serializinghtml 1.1.10
tokenize_rt 5.2.0
tomli 2.0.1
trio 0.25.1
trio-websocket 0.11.1
typing_extensions 4.12.2
urllib3 2.2.1
wheel 0.43.0
wsproto 1.2.0
zipp 3.19.2
Please let me know if you need more details or want me to perform some diagnostics.
- Langage dominant
- Python
- Étoiles
- 134
- Forks
- 69
- Merge moyen
- 1 h 10 min
- PR mergées (30 j)
- 1
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de python-visualization/branca
-
Difficulté 2/5 1-3 heures Accessibilité débutants 58/100
python-visualization/branca#222 · 1 commentaire ·
-
Accessibility issue - possible to enable adding HTML attributes to rendered iframe elements? Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
python-visualization/branca#213 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
python-visualization/branca#195 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 45/100
python-visualization/branca#190 · 6 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
python-visualization/branca#182 ·
Toutes les issues de python-visualization/branca
Issues similaires
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Ouvertearea: harness bug status: needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Human-Agent-Society/reef#625 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
learningequality/kolibri#15351 · 2 commentaires ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
Name consistency Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
eellak/triplestore#65 · 1 commentaire ·