chore: force looseversion when it is used on either old or new

This commit is contained in:
Technofab 2023-06-17 15:01:11 +02:00
parent 0955cb2e22
commit c9af1fdcf5
No known key found for this signature in database
GPG key ID: A0AA746B951C8830
3 changed files with 18 additions and 17 deletions

View file

@ -8,16 +8,10 @@
# should see if there is a conda package that suits your needs.
pathlib2
typing; python_version < "3.5"
click<8.0; python_version < "3.6"
click; python_version >= "3.6"
click
toml
lexid
colorama>=0.4
# looseversion is needed to parse non PEP440 versions
looseversion; python_version >= "3.5"
# setuptools is needed for pkg_resources.parse_version
# Support for Python 2 was dropped with v45
setuptools<45.0.0; python_version < "3.5"
looseversion