layerindex-web/requirements.txt
Tim Orling 83378f2f9c global: deprecated pkg_resources parse_version
Since we are only using parse_version for comparison (typically checking
that we are greater than some minimum version for tool or package), one
would think we can use packaging.version.parse as if it was parse_version

Unfortunately, this requires conforming to PEP-440 version definitions,
which does not work for e.g. autotools (2.72d) nor older openssl (1.1.1p).
We rely in these (and to be sure other) cases on the LegacyVersion behavior.

https://packaging.python.org/en/latest/specifications/version-specifiers/#summary-of-differences-from-pkg-resources-parse-version

"This specification purposely restricts the syntax which constitutes a
valid version while pkg_resources.parse_version attempts to provide some
meaning from any arbitrary string."

In order to have the least impact to the overall code, we instead add
packaging_legacy to requirements.txt and use packaging_legacy.version.parse
as if it was parse_version.

https://pypi.org/project/packaging-legacy/
https://github.com/pypa/packaging/pull/407

Since pypi.org itself is depending on packaging_legacy (in fact, a pypi dev
developed the package), we can expect it to be supported for quite some time.

https://github.com/pypi/warehouse/pull/13500

[YOCTO #15348]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2024-01-22 16:08:37 -08:00

40 lines
785 B
Plaintext

amqp==5.2.0
asgiref==3.7.2
beautifulsoup4==4.12.2
billiard==4.2.0
celery==5.3.6
click==8.1.7
click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.3.0
confusable-homoglyphs==3.2.0
diff-match-patch==20230430
Django>=4.2,<4.3
django-appconf==1.0.6
django-axes==6.3.0
django-cors-headers==4.3.1
django-ipware==6.0.3
django-ranged-response==0.2.0
django-registration==3.4
django-reversion==5.0.10
django-reversion-compare==0.16.2
django-simple-captcha==0.6.0
djangorestframework==3.14.0
gitdb==4.0.11
GitPython==3.1.41
kombu==5.3.4
mysqlclient==2.2.1
packaging_legacy==23.0.post0
Pillow==10.2.0
prompt-toolkit==3.0.43
python-dateutil==2.8.2
pytz==2023.3.post1
six==1.16.0
smmap==5.0.1
soupsieve==2.5
sqlparse==0.4.4
typing_extensions==4.9.0
tzdata==2023.4
vine==5.1.0
wcwidth==0.2.13