Skip to content

Commit 0f44a6b

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 5445314 commit 0f44a6b

File tree

5 files changed

+1
-93
lines changed

5 files changed

+1
-93
lines changed

requirements/edx/base.txt

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ celery==5.4.0
102102
certifi==2025.1.31
103103
# via
104104
# elasticsearch
105-
# py2neo
106105
# requests
107106
# snowflake-connector-python
108107
cffi==1.17.1
@@ -648,8 +647,6 @@ inflection==0.5.1
648647
# via
649648
# drf-spectacular
650649
# drf-yasg
651-
interchange==2021.0.4
652-
# via py2neo
653650
ipaddress==1.0.23
654651
# via -r requirements/edx/kernel.in
655652
isodate==0.7.2
@@ -744,9 +741,7 @@ meilisearch==0.34.0
744741
mongoengine==0.29.1
745742
# via -r requirements/edx/kernel.in
746743
monotonic==1.6
747-
# via
748-
# analytics-python
749-
# py2neo
744+
# via analytics-python
750745
more-itertools==10.6.0
751746
# via cssutils
752747
mpmath==1.3.0
@@ -834,10 +829,7 @@ packaging==24.2
834829
# via
835830
# drf-yasg
836831
# gunicorn
837-
# py2neo
838832
# snowflake-connector-python
839-
pansi==2024.11.0
840-
# via py2neo
841833
paramiko==3.5.1
842834
# via edx-enterprise
843835
path==16.11.0
@@ -863,7 +855,6 @@ pillow==11.1.0
863855
# edx-enterprise
864856
# edx-organizations
865857
# edxval
866-
# pansi
867858
platformdirs==4.3.7
868859
# via snowflake-connector-python
869860
polib==1.2.0
@@ -889,10 +880,6 @@ psutil==7.0.0
889880
# via
890881
# -r requirements/edx/kernel.in
891882
# edx-django-utils
892-
py2neo @ https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz
893-
# via
894-
# -c requirements/edx/../constraints.txt
895-
# -r requirements/edx/bundled.in
896883
pyasn1==0.6.1
897884
# via
898885
# pgpy
@@ -914,8 +901,6 @@ pydantic==2.10.6
914901
# via camel-converter
915902
pydantic-core==2.27.2
916903
# via pydantic
917-
pygments==2.19.1
918-
# via py2neo
919904
pyjwkest==1.4.2
920905
# via
921906
# -r requirements/edx/kernel.in
@@ -1004,7 +989,6 @@ pytz==2025.1
1004989
# edx-tincan-py35
1005990
# event-tracking
1006991
# fs
1007-
# interchange
1008992
# olxcleaner
1009993
# ora2
1010994
# 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
@@ -1206,7 +1188,6 @@ urllib3==2.2.3
12061188
# -c requirements/edx/../common_constraints.txt
12071189
# botocore
12081190
# elasticsearch
1209-
# py2neo
12101191
# requests
12111192
user-util==1.1.0
12121193
# 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
@@ -196,7 +196,6 @@ certifi==2025.1.31
196196
# elasticsearch
197197
# httpcore
198198
# httpx
199-
# py2neo
200199
# requests
201200
# snowflake-connector-python
202201
cffi==1.17.1
@@ -1084,11 +1083,6 @@ iniconfig==2.1.0
10841083
# via
10851084
# -r requirements/edx/testing.txt
10861085
# pytest
1087-
interchange==2021.0.4
1088-
# via
1089-
# -r requirements/edx/doc.txt
1090-
# -r requirements/edx/testing.txt
1091-
# py2neo
10921086
ipaddress==1.0.23
10931087
# via
10941088
# -r requirements/edx/doc.txt
@@ -1262,7 +1256,6 @@ monotonic==1.6
12621256
# -r requirements/edx/doc.txt
12631257
# -r requirements/edx/testing.txt
12641258
# analytics-python
1265-
# py2neo
12661259
more-itertools==10.6.0
12671260
# via
12681261
# -r requirements/edx/doc.txt
@@ -1408,7 +1401,6 @@ packaging==24.2
14081401
# build
14091402
# drf-yasg
14101403
# gunicorn
1411-
# py2neo
14121404
# pydata-sphinx-theme
14131405
# pyproject-api
14141406
# pytest
@@ -1417,11 +1409,6 @@ packaging==24.2
14171409
# tox
14181410
pact-python==2.0.1
14191411
# via -r requirements/edx/testing.txt
1420-
pansi==2024.11.0
1421-
# via
1422-
# -r requirements/edx/doc.txt
1423-
# -r requirements/edx/testing.txt
1424-
# py2neo
14251412
paramiko==3.5.1
14261413
# via
14271414
# -r requirements/edx/doc.txt
@@ -1466,7 +1453,6 @@ pillow==11.1.0
14661453
# edx-enterprise
14671454
# edx-organizations
14681455
# edxval
1469-
# pansi
14701456
pip-tools==7.4.1
14711457
# via -r requirements/edx/../pip-tools.txt
14721458
platformdirs==4.3.7
@@ -1523,11 +1509,6 @@ psutil==7.0.0
15231509
# pytest-xdist
15241510
py==1.11.0
15251511
# via -r requirements/edx/testing.txt
1526-
py2neo @ https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz
1527-
# via
1528-
# -c requirements/edx/../constraints.txt
1529-
# -r requirements/edx/doc.txt
1530-
# -r requirements/edx/testing.txt
15311512
pyasn1==0.6.1
15321513
# via
15331514
# -r requirements/edx/doc.txt
@@ -1581,7 +1562,6 @@ pygments==2.19.1
15811562
# -r requirements/edx/testing.txt
15821563
# accessible-pygments
15831564
# diff-cover
1584-
# py2neo
15851565
# pydata-sphinx-theme
15861566
# sphinx
15871567
# sphinx-mdinclude
@@ -1772,7 +1752,6 @@ pytz==2025.1
17721752
# edx-tincan-py35
17731753
# event-tracking
17741754
# fs
1775-
# interchange
17761755
# olxcleaner
17771756
# ora2
17781757
# snowflake-connector-python
@@ -1937,10 +1916,8 @@ six==1.17.0
19371916
# fs
19381917
# fs-s3fs
19391918
# html5lib
1940-
# interchange
19411919
# libsass
19421920
# pact-python
1943-
# py2neo
19441921
# pyjwkest
19451922
# python-dateutil
19461923
# sphinxcontrib-httpdomain
@@ -2178,7 +2155,6 @@ urllib3==2.2.3
21782155
# botocore
21792156
# elasticsearch
21802157
# pact-python
2181-
# py2neo
21822158
# requests
21832159
# types-requests
21842160
user-util==1.1.0

requirements/edx/doc.txt

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ certifi==2025.1.31
141141
# via
142142
# -r requirements/edx/base.txt
143143
# elasticsearch
144-
# py2neo
145144
# requests
146145
# snowflake-connector-python
147146
cffi==1.17.1
@@ -775,10 +774,6 @@ inflection==0.5.1
775774
# -r requirements/edx/base.txt
776775
# drf-spectacular
777776
# drf-yasg
778-
interchange==2021.0.4
779-
# via
780-
# -r requirements/edx/base.txt
781-
# py2neo
782777
ipaddress==1.0.23
783778
# via -r requirements/edx/base.txt
784779
isodate==0.7.2
@@ -904,7 +899,6 @@ monotonic==1.6
904899
# via
905900
# -r requirements/edx/base.txt
906901
# analytics-python
907-
# py2neo
908902
more-itertools==10.6.0
909903
# via
910904
# -r requirements/edx/base.txt
@@ -1007,14 +1001,9 @@ packaging==24.2
10071001
# -r requirements/edx/base.txt
10081002
# drf-yasg
10091003
# gunicorn
1010-
# py2neo
10111004
# pydata-sphinx-theme
10121005
# snowflake-connector-python
10131006
# sphinx
1014-
pansi==2024.11.0
1015-
# via
1016-
# -r requirements/edx/base.txt
1017-
# py2neo
10181007
paramiko==3.5.1
10191008
# via
10201009
# -r requirements/edx/base.txt
@@ -1049,7 +1038,6 @@ pillow==11.1.0
10491038
# edx-enterprise
10501039
# edx-organizations
10511040
# edxval
1052-
# pansi
10531041
platformdirs==4.3.7
10541042
# via
10551043
# -r requirements/edx/base.txt
@@ -1084,10 +1072,6 @@ psutil==7.0.0
10841072
# via
10851073
# -r requirements/edx/base.txt
10861074
# edx-django-utils
1087-
py2neo @ https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz
1088-
# via
1089-
# -c requirements/edx/../constraints.txt
1090-
# -r requirements/edx/base.txt
10911075
pyasn1==0.6.1
10921076
# via
10931077
# -r requirements/edx/base.txt
@@ -1122,9 +1106,7 @@ pydata-sphinx-theme==0.15.4
11221106
# via sphinx-book-theme
11231107
pygments==2.19.1
11241108
# via
1125-
# -r requirements/edx/base.txt
11261109
# accessible-pygments
1127-
# py2neo
11281110
# pydata-sphinx-theme
11291111
# sphinx
11301112
# sphinx-mdinclude
@@ -1230,7 +1212,6 @@ pytz==2025.1
12301212
# edx-tincan-py35
12311213
# event-tracking
12321214
# fs
1233-
# interchange
12341215
# olxcleaner
12351216
# ora2
12361217
# snowflake-connector-python
@@ -1358,8 +1339,6 @@ six==1.17.0
13581339
# fs
13591340
# fs-s3fs
13601341
# html5lib
1361-
# interchange
1362-
# py2neo
13631342
# pyjwkest
13641343
# python-dateutil
13651344
# sphinxcontrib-httpdomain
@@ -1520,7 +1499,6 @@ urllib3==2.2.3
15201499
# -r requirements/edx/base.txt
15211500
# botocore
15221501
# elasticsearch
1523-
# py2neo
15241502
# requests
15251503
user-util==1.1.0
15261504
# via -r requirements/edx/base.txt

0 commit comments

Comments
 (0)