Expand coverage for pip install test
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- testing-qa
Línea de trabajo
Start by locating the existing pip install test for shelf-reader and review the pip documentation on selecting sdist and wheel packages. The work is complete when the test covers installation from both package types and verifies the expected installation behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Original Pulp Redmine Issue: https://pulp.plan.io/issues/6838
The pip install test uses only the sdist (.tar.gz) package type when checking that it can install 'shelf-reader'. However, the repository has an additional wheel (.whl) version that could be installed from but isn't checked.
Currently the default behavior for pip install (Verision 20.1.1 on Python 3.7) seems to use the sdist type if the package 'wheel' is not installed (see pip install message below). Checking the pip forums the discussion on the workings of pip install seem to be ongoing and could be subject to change.
When documentation is available for the workings of pip install the pip install test should be expanded to test installing from different package types.
$ pip install --trusted-host localhost -i http://localhost:24816/pulp/content/4352fcae-4ca3-4df1-ab0f-199adc3cec8c/simple/ shelf-reader
Looking in indexes: http://localhost:24816/pulp/content/4352fcae-4ca3-4df1-ab0f-199adc3cec8c/simple/
Collecting shelf-reader
Downloading http://localhost:24816/pulp/content/4352fcae-4ca3-4df1-ab0f-199adc3cec8c/shelf-reader-0.1.tar.gz (19 kB)
Using legacy setup.py install for shelf-reader, since package 'wheel' is not installed.
Installing collected packages: shelf-reader
Running setup.py install for shelf-reader: started
Running setup.py install for shelf-reader: finished with status 'done'
Successfully installed shelf-reader-0.1
- Lenguaje dominante
- Python
- Estrellas
- 49
- Forks
- 88
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 31
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pulp/pulp_python
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
pulp/pulp_python#1381 ·
-
Feature Triage-Needed
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
pulp/pulp_python#1371 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
pulp/pulp_python#1360 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
pulp/pulp_python#1358 ·
-
Feature
pulp/pulp_python#1340 · 1 asignado ·
Todos los issues de pulp/pulp_python
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
zostera/django-bootstrap4#894 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
use-agent-os/agent-os#3276 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
NousResearch/hermes-agent#117848 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
zilliztech/memsearch#759 ·