Skip to content

Commit 77fda46

Browse files
committed
chore: remove py2neo as a dependency
The py2neo package exists to support CourseGraph, which required the Neo4j database. Support for it was removed before the Sumac cut, tracked by the following DEPR: #34342 It looks like the actual dependency install was just overlooked during the removal process.
1 parent ac5c6d6 commit 77fda46

5 files changed

Lines changed: 1 addition & 93 deletions

File tree

requirements/edx/base.txt

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ celery==5.5.1
104104
certifi==2025.1.31
105105
# via
106106
# elasticsearch
107-
# py2neo
108107
# requests
109108
# snowflake-connector-python
110109
cffi==1.17.1
@@ -650,8 +649,6 @@ inflection==0.5.1
650649
# via
651650
# drf-spectacular
652651
# drf-yasg
653-
interchange==2021.0.4
654-
# via py2neo
655652
ipaddress==1.0.23
656653
# via -r requirements/edx/kernel.in
657654
isodate==0.7.2
@@ -746,9 +743,7 @@ meilisearch==0.34.1
746743
mongoengine==0.29.1
747744
# via -r requirements/edx/kernel.in
748745
monotonic==1.6
749-
# via
750-
# analytics-python
751-
# py2neo
746+
# via analytics-python
752747
more-itertools==10.6.0
753748
# via cssutils
754749
mpmath==1.3.0
@@ -836,10 +831,7 @@ packaging==25.0
836831
# via
837832
# drf-yasg
838833
# gunicorn
839-
# py2neo
840834
# snowflake-connector-python
841-
pansi==2024.11.0
842-
# via py2neo
843835
paramiko==3.5.1
844836
# via edx-enterprise
845837
path==16.11.0
@@ -865,7 +857,6 @@ pillow==11.2.1
865857
# edx-enterprise
866858
# edx-organizations
867859
# edxval
868-
# pansi
869860
platformdirs==4.3.7
870861
# via snowflake-connector-python
871862
polib==1.2.0
@@ -891,10 +882,6 @@ psutil==7.0.0
891882
# via
892883
# -r requirements/edx/kernel.in
893884
# edx-django-utils
894-
py2neo @ https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz
895-
# via
896-
# -c requirements/edx/../constraints.txt
897-
# -r requirements/edx/bundled.in
898885
pyasn1==0.6.1
899886
# via
900887
# pgpy
@@ -916,8 +903,6 @@ pydantic==2.11.3
916903
# via camel-converter
917904
pydantic-core==2.33.1
918905
# via pydantic
919-
pygments==2.19.1
920-
# via py2neo
921906
pyjwkest==1.4.2
922907
# via
923908
# -r requirements/edx/kernel.in
@@ -1006,7 +991,6 @@ pytz==2025.2
1006991
# edx-tincan-py35
1007992
# event-tracking
1008993
# fs
1009-
# interchange
1010994
# olxcleaner
1011995
# ora2
1012996
# snowflake-connector-python
@@ -1113,8 +1097,6 @@ six==1.17.0
11131097
# fs
11141098
# fs-s3fs
11151099
# html5lib
1116-
# interchange
1117-
# py2neo
11181100
# pyjwkest
11191101
# python-dateutil
11201102
slumber==0.7.1
@@ -1208,7 +1190,6 @@ urllib3==2.2.3
12081190
# -c requirements/edx/../common_constraints.txt
12091191
# botocore
12101192
# elasticsearch
1211-
# py2neo
12121193
# requests
12131194
user-util==1.1.0
12141195
# via -r requirements/edx/kernel.in

requirements/edx/bundled.in

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020
# 4. If the package is not needed in production, add it to another file such
2121
# as development.in or testing.in instead.
2222

23-
# Driver for converting Python modulestore structures to Neo4j's schema (for Coursegraph).
24-
# Using the fork because official package has been removed from PyPI/GitHub
25-
# Follow up issue to remove this fork: https://github.com/openedx/edx-platform/issues/33456
26-
https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz
27-
2823
# i18n_tool is needed at build time for pulling translations
2924
edx-i18n-tools>=0.4.6 # Commands for developers and translators to extract, compile and validate translations
3025

requirements/edx/development.txt

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ certifi==2025.1.31
198198
# elasticsearch
199199
# httpcore
200200
# httpx
201-
# py2neo
202201
# requests
203202
# snowflake-connector-python
204203
cffi==1.17.1
@@ -1086,11 +1085,6 @@ iniconfig==2.1.0
10861085
# via
10871086
# -r requirements/edx/testing.txt
10881087
# pytest
1089-
interchange==2021.0.4
1090-
# via
1091-
# -r requirements/edx/doc.txt
1092-
# -r requirements/edx/testing.txt
1093-
# py2neo
10941088
ipaddress==1.0.23
10951089
# via
10961090
# -r requirements/edx/doc.txt
@@ -1264,7 +1258,6 @@ monotonic==1.6
12641258
# -r requirements/edx/doc.txt
12651259
# -r requirements/edx/testing.txt
12661260
# analytics-python
1267-
# py2neo
12681261
more-itertools==10.6.0
12691262
# via
12701263
# -r requirements/edx/doc.txt
@@ -1410,7 +1403,6 @@ packaging==25.0
14101403
# build
14111404
# drf-yasg
14121405
# gunicorn
1413-
# py2neo
14141406
# pydata-sphinx-theme
14151407
# pyproject-api
14161408
# pytest
@@ -1419,11 +1411,6 @@ packaging==25.0
14191411
# tox
14201412
pact-python==2.0.1
14211413
# via -r requirements/edx/testing.txt
1422-
pansi==2024.11.0
1423-
# via
1424-
# -r requirements/edx/doc.txt
1425-
# -r requirements/edx/testing.txt
1426-
# py2neo
14271414
paramiko==3.5.1
14281415
# via
14291416
# -r requirements/edx/doc.txt
@@ -1468,7 +1455,6 @@ pillow==11.2.1
14681455
# edx-enterprise
14691456
# edx-organizations
14701457
# edxval
1471-
# pansi
14721458
pip-tools==7.4.1
14731459
# via -r requirements/edx/../pip-tools.txt
14741460
platformdirs==4.3.7
@@ -1525,11 +1511,6 @@ psutil==7.0.0
15251511
# pytest-xdist
15261512
py==1.11.0
15271513
# via -r requirements/edx/testing.txt
1528-
py2neo @ https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz
1529-
# via
1530-
# -c requirements/edx/../constraints.txt
1531-
# -r requirements/edx/doc.txt
1532-
# -r requirements/edx/testing.txt
15331514
pyasn1==0.6.1
15341515
# via
15351516
# -r requirements/edx/doc.txt
@@ -1583,7 +1564,6 @@ pygments==2.19.1
15831564
# -r requirements/edx/testing.txt
15841565
# accessible-pygments
15851566
# diff-cover
1586-
# py2neo
15871567
# pydata-sphinx-theme
15881568
# sphinx
15891569
# sphinx-mdinclude
@@ -1774,7 +1754,6 @@ pytz==2025.2
17741754
# edx-tincan-py35
17751755
# event-tracking
17761756
# fs
1777-
# interchange
17781757
# olxcleaner
17791758
# ora2
17801759
# snowflake-connector-python
@@ -1938,10 +1917,8 @@ six==1.17.0
19381917
# fs
19391918
# fs-s3fs
19401919
# html5lib
1941-
# interchange
19421920
# libsass
19431921
# pact-python
1944-
# py2neo
19451922
# pyjwkest
19461923
# python-dateutil
19471924
# sphinxcontrib-httpdomain
@@ -2184,7 +2161,6 @@ urllib3==2.2.3
21842161
# botocore
21852162
# elasticsearch
21862163
# pact-python
2187-
# py2neo
21882164
# requests
21892165
# types-requests
21902166
user-util==1.1.0

requirements/edx/doc.txt

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ certifi==2025.1.31
143143
# via
144144
# -r requirements/edx/base.txt
145145
# elasticsearch
146-
# py2neo
147146
# requests
148147
# snowflake-connector-python
149148
cffi==1.17.1
@@ -777,10 +776,6 @@ inflection==0.5.1
777776
# -r requirements/edx/base.txt
778777
# drf-spectacular
779778
# drf-yasg
780-
interchange==2021.0.4
781-
# via
782-
# -r requirements/edx/base.txt
783-
# py2neo
784779
ipaddress==1.0.23
785780
# via -r requirements/edx/base.txt
786781
isodate==0.7.2
@@ -906,7 +901,6 @@ monotonic==1.6
906901
# via
907902
# -r requirements/edx/base.txt
908903
# analytics-python
909-
# py2neo
910904
more-itertools==10.6.0
911905
# via
912906
# -r requirements/edx/base.txt
@@ -1009,14 +1003,9 @@ packaging==25.0
10091003
# -r requirements/edx/base.txt
10101004
# drf-yasg
10111005
# gunicorn
1012-
# py2neo
10131006
# pydata-sphinx-theme
10141007
# snowflake-connector-python
10151008
# sphinx
1016-
pansi==2024.11.0
1017-
# via
1018-
# -r requirements/edx/base.txt
1019-
# py2neo
10201009
paramiko==3.5.1
10211010
# via
10221011
# -r requirements/edx/base.txt
@@ -1051,7 +1040,6 @@ pillow==11.2.1
10511040
# edx-enterprise
10521041
# edx-organizations
10531042
# edxval
1054-
# pansi
10551043
platformdirs==4.3.7
10561044
# via
10571045
# -r requirements/edx/base.txt
@@ -1086,10 +1074,6 @@ psutil==7.0.0
10861074
# via
10871075
# -r requirements/edx/base.txt
10881076
# edx-django-utils
1089-
py2neo @ https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz
1090-
# via
1091-
# -c requirements/edx/../constraints.txt
1092-
# -r requirements/edx/base.txt
10931077
pyasn1==0.6.1
10941078
# via
10951079
# -r requirements/edx/base.txt
@@ -1124,9 +1108,7 @@ pydata-sphinx-theme==0.15.4
11241108
# via sphinx-book-theme
11251109
pygments==2.19.1
11261110
# via
1127-
# -r requirements/edx/base.txt
11281111
# accessible-pygments
1129-
# py2neo
11301112
# pydata-sphinx-theme
11311113
# sphinx
11321114
# sphinx-mdinclude
@@ -1232,7 +1214,6 @@ pytz==2025.2
12321214
# edx-tincan-py35
12331215
# event-tracking
12341216
# fs
1235-
# interchange
12361217
# olxcleaner
12371218
# ora2
12381219
# snowflake-connector-python
@@ -1359,8 +1340,6 @@ six==1.17.0
13591340
# fs
13601341
# fs-s3fs
13611342
# html5lib
1362-
# interchange
1363-
# py2neo
13641343
# pyjwkest
13651344
# python-dateutil
13661345
# sphinxcontrib-httpdomain
@@ -1525,7 +1504,6 @@ urllib3==2.2.3
15251504
# -r requirements/edx/base.txt
15261505
# botocore
15271506
# elasticsearch
1528-
# py2neo
15291507
# requests
15301508
user-util==1.1.0
15311509
# via -r requirements/edx/base.txt

0 commit comments

Comments
 (0)