fix: upgrade py2neo from 3.1.2 to 2021.1.5 (#28480)
* fix: upgrade py2neo from 3.1.2 to 2021.1.5 The dump_to_neo4j management command has not been working since the upgrade to python 3.8. The latest version of python that py2neo 3.1.2 states support for is python 3.5, so this isn't surprising. The earliest non-prerelease version of py2neo that supports python 3.8 is 2020.x (skipping the 4.x and 5.x series). Since we're going as far as a 2020.x, we may as well upgrade all the way to the newest series, 2021.x. This commit does that upgrade, as well as a handful of minor code modifications in order to handle breaking changes that have been made to the py2neo API, and some unrelated pin bumps as the result of 'make upgrade'. This will also require an upgrade of Coursegraph's Neo4j version from 3.2.x to 3.5.x. TNL-8386
Showing
- openedx/core/djangoapps/coursegraph/management/commands/dump_to_neo4j.py 3 additions, 5 deletions...angoapps/coursegraph/management/commands/dump_to_neo4j.py
- openedx/core/djangoapps/coursegraph/management/commands/tests/test_dump_to_neo4j.py 36 additions, 36 deletions...ursegraph/management/commands/tests/test_dump_to_neo4j.py
- openedx/core/djangoapps/coursegraph/management/commands/tests/utils.py 29 additions, 29 deletions...djangoapps/coursegraph/management/commands/tests/utils.py
- openedx/core/djangoapps/coursegraph/tasks.py 10 additions, 21 deletionsopenedx/core/djangoapps/coursegraph/tasks.py
- requirements/constraints.txt 6 additions, 0 deletionsrequirements/constraints.txt
- requirements/edx-sandbox/py35.txt 0 additions, 1 deletionrequirements/edx-sandbox/py35.txt
- requirements/edx-sandbox/py38.txt 1 addition, 1 deletionrequirements/edx-sandbox/py38.txt
- requirements/edx/base.in 1 addition, 0 deletionsrequirements/edx/base.in
- requirements/edx/base.txt 37 additions, 12 deletionsrequirements/edx/base.txt
- requirements/edx/development.txt 77 additions, 8 deletionsrequirements/edx/development.txt
- requirements/edx/doc.txt 3 additions, 1 deletionrequirements/edx/doc.txt
- requirements/edx/github.in 0 additions, 1 deletionrequirements/edx/github.in
- requirements/edx/testing.txt 65 additions, 9 deletionsrequirements/edx/testing.txt
Please register or sign in to comment