aboutcode-org / aboutcode-org/univers
Handle possible duplication of constraints in VersionRange
Abierto
2-next
good first issue
- Lenguaje dominante
- Python
- Estrellas
- 50
- Forks
- 29
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Eliminate the possibility of constraints duplication in VersionRange and add some tests to validate the same.
```python
>>> from univers.version_range import NginxVersionRange
>>> range=NginxVersionRange.from_native("1.5.0+, 1.4.1+, 1.4.0+")
>>> str(range)
'vers:nginx/>=1.4.0|>=1.4.1|<1.5.0|<1.5.0|>=1.5.0'
```
Context: https://github.com/nexB/univers/pull/42#discussion_r824237012
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.