Skip to content

Remove py2neo dependency - #36586

Merged
ormsbee merged 1 commit into
openedx:masterfrom
ormsbee:remove-neo4j
Apr 23, 2025
Merged

Remove py2neo dependency#36586
ormsbee merged 1 commit into
openedx:masterfrom
ormsbee:remove-neo4j

Conversation

@ormsbee

@ormsbee ormsbee commented Apr 23, 2025

Copy link
Copy Markdown
Contributor
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:
  https://github.com/openedx/edx-platform/issues/34342

This dependency looks like a bit of leftover code that was overlooked
during the removal process.

This also upgrades other packages via "make upgrade".

@ormsbee
ormsbee requested review from bmtcril and feanil April 23, 2025 15:53
@feanil

feanil commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

@ormsbee looks like there are issues with the make upgrade I'll take a look at that, but for now, you could remove py2neo and then just run make compile-requirements to not pull in the other upgrades on this PR.

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:
  openedx#34342

It looks like the actual dependency install was just overlooked during
the removal process.
@ormsbee

ormsbee commented Apr 23, 2025

Copy link
Copy Markdown
Contributor Author

@feanil: Thanks. That looks much cleaner anyhow.

@bmtcril bmtcril left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍

@ormsbee
ormsbee merged commit 77fda46 into openedx:master Apr 23, 2025
@ormsbee
ormsbee deleted the remove-neo4j branch April 23, 2025 22:18
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants