Files
edx-platform/requirements/constraints.txt
2021-12-01 12:28:48 -05:00

100 lines
3.7 KiB
Plaintext

# Version constraints for pip-installation.
#
# This file doesn't install any packages. It specifies version constraints
# that will be applied if a package is needed.
#
# When pinning something here, please provide an explanation of why. Ideally,
# link to other information that will help people in the future to remove the
# pin when possible. Writing an issue against the offending project and
# linking to it here is good.
# This file contains all common constraints for edx-repos
-c common_constraints.txt
# celert>5.0.0 hasn't been tested yet, so the constraint will be removed after testing latest version
celery<5.0.0
# edx-platform currently only supported for Django 3.2.x
django<3.3
# Newer versions need celery >= 5.0
django-celery-results<2.1
# We do not support version django-config-models<1.0.0
django-config-models>=1.0.0
# django-storages version 1.9 drops support for boto storage backend.
django-storages<1.9
# The team that owns this package will manually bump this package rather than having it pulled in automatically.
# This is to allow them to better control its deployment and to do it in a process that works better
# for them.
edx-enterprise==3.35.2
# Newer versions need a more recent version of python-dateutil
freezegun==0.3.12
# 4.5.1 introduced a bug when used together with xmlsec: https://bugs.launchpad.net/lxml/+bug/1880251
# Tests passed, but hit a problem in stage
lxml<4.5.1
# oauthlib>3.0.1 causes test failures ( also remove the django-oauth-toolkit constraint when this is fixed )
oauthlib==3.0.1
# django-auth-toolkit==1.3.3 requires oauthlib>=3.1.0 which is pinned because of test failures
django-oauth-toolkit<=1.3.2
# Upgrading to 2.5.3 on 2020-01-03 triggered "'tzlocal' object has no attribute '_std_offset'" errors in production
python-dateutil==2.4.0
# matplotlib>=3.4.0 requires python-dateutil>=2.7
matplotlib<3.4.0
# pandas>0.22.0 requires python-dateutil>=2.5.0
pandas==0.22.0
# networkx>=2.6 requires pandas>=1.1
networkx<2.6
# Constraint from astroid 2.3.3
wrapt==1.11.*
# tests failing for pymongo==3.11
pymongo<3.11
# sympy latest version causing test failures.
# may be related to python35 version drop in 1.7.0. Needs to be tested before removing.
sympy==1.6.2
# python3-saml==1.10.0 version started breaking a11y tests
python3-saml<1.10.0
# With greater version these tests `common.djangoapps.terrain.stubs.tests` becomes flaky on jenkins.
httpretty<1.0
# latest version of diff-cover conflicts with pygments version see https://github.com/Bachmann1234/diff_cover/commit/01f91760321cee1ad28cfa0d801c4acd8b9765a6
diff-cover==4.0.0
# transifex-client==0.14.2(latest) requires python-slugify<5.0.0 for Python 2.0 support.
# This can be removed once transifex-client drops support for Python 2.0 and removes the required constraint.
python-slugify<5.0.0
# greater version has breaking changes and requires some migration steps.
django-webpack-loader==0.7.0
# celery requires click<8.0.0 which would be fixed once https://github.com/celery/celery/issues/6753 is done.
click<8.0.0
# Release 2.1.0 pulls declares `pact-python` as a base requirement, even though it should be
# a testing requirement. Installing it would cause a bunch of new tool packages to become base
# requirements of edx-platform. Pinning temporarily until this is resolved in edx-val.
edxval<2.1
# At the time of writing this comment, we do not know whether py2neo>=2022
# will support our currently-deployed Neo4j version (3.5).
# Feel free to loosen this constraint if/when it is confirmed that a later
# version of py2neo will work with Neo4j 3.5.
py2neo<2022
# Sphinx requires docutils<0.18. This pin can be removed once https://github.com/sphinx-doc/sphinx/issues/9777 is closed.
docutils<0.18