mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Update package requirements for docker (#3285)
* Include cargo / rustc in the docker image - Otherwise cryptography library seems to fail * Revert cryptography lib to older version - New version requires rust, adds ~300MB to the image size!
This commit is contained in:
parent
c81043ba42
commit
830ecd5677
@ -22,7 +22,7 @@ ENV PYTHONUNBUFFERED 1
|
||||
# Ref: https://github.com/pyca/cryptography/issues/5776
|
||||
ENV CRYPTOGRAPHY_DONT_BUILD_RUST 1
|
||||
|
||||
ENV INVENTREE_LOG_LEVEL="INFO"
|
||||
ENV INVENTREE_LOG_LEVEL="WARNING"
|
||||
ENV INVENTREE_DOCKER="true"
|
||||
|
||||
# InvenTree paths
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Please keep this list sorted - if you pin a version provide a reason
|
||||
Django<4 # Django package
|
||||
coreapi # API documentation for djangorestframework
|
||||
cryptography==3.4.8 # Core cryptographic functionality
|
||||
django-allauth # SSO for external providers via OpenID
|
||||
django-allauth-2fa # MFA / 2FA
|
||||
django-cleanup # Automated deletion of old / unused uploaded files
|
||||
|
@ -30,8 +30,10 @@ coreapi==2.3.3
|
||||
# via -r requirements.in
|
||||
coreschema==0.0.4
|
||||
# via coreapi
|
||||
cryptography==37.0.2
|
||||
# via pyjwt
|
||||
cryptography==3.4.8
|
||||
# via
|
||||
# -r requirements.in
|
||||
# pyjwt
|
||||
cssselect2==0.6.0
|
||||
# via weasyprint
|
||||
defusedxml==0.7.1
|
||||
|
Loading…
Reference in New Issue
Block a user