-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Add Moodle data source integration #11325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Moodle data source integration #11325
Conversation
yongtenglei
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @levischd
Thank you for your contribution. I encountered a dependency issue when trying to test your code on a clean codebase. May I kindly confirm if it's working on your end?
And there are some conflicts need to resolve.
Cheers!
$ uv sync --python 3.10 --all-extras
× No solution found when resolving dependencies for split (python_full_version == '3.12.*' and sys_platform == 'darwin'):
╰─▶ Because only the following versions of moodlepy are available:
moodlepy<=0.23.0
moodlepy==0.23.1
moodlepy==0.23.2
moodlepy==0.23.3
moodlepy==0.23.4
moodlepy==0.23.5
moodlepy==0.23.7
moodlepy==0.23.8
moodlepy==0.23.9
moodlepy==0.23.10
moodlepy==0.24.0
moodlepy==0.24.1
and moodlepy>=0.23.0,<=0.23.3 depends on attrs>=20.3.0,<21.0.0, we can conclude that moodlepy>=0.23.0,<0.23.4 depends on
attrs>=20.3.0,<21.0.0.
And because moodlepy>=0.23.4,<=0.23.8 depends on attrs>=21.2.0,<22.0.0 and attrs>=22.2.0,<23.0.0, we can conclude that moodlepy>=0.23.0
depends on one of:
attrs>=20.3.0,<21.0.0
attrs>=21.2.0,<22.0.0
attrs>=22.2.0,<23.0.0
And because trio>=0.29.0 depends on attrs>=23.2.0 and only the following versions of trio are available:
trio<=0.29.0
trio==0.30.0
trio==0.31.0
trio==0.32.0
we can conclude that moodlepy>=0.23.0 and trio>=0.29.0 are incompatible.
And because selenium==4.22.0 depends on trio>=0.17 and your project depends on moodlepy>=0.23.0, we can conclude that your project,
selenium==4.22.0, all of:
trio<0.17
trio>=0.29.0
are incompatible.
And because your project depends on selenium==4.22.0 and trio>=0.29.0, we can conclude that your project's requirements are unsatisfiable.
hint: `moodlepy` was found on https://mirrors.aliyun.com/pypi/simple, but not at the requested version (all of:
moodlepy>0.23.0,<0.23.1
moodlepy>0.23.1,<0.23.2
moodlepy>0.23.2,<0.23.3
moodlepy>0.23.3,<0.23.4
moodlepy>0.23.4,<0.23.5
moodlepy>0.23.5,<0.23.7
moodlepy>0.23.7,<0.23.8
moodlepy>0.23.8,<0.23.9
moodlepy>0.23.9,<0.23.10
moodlepy>0.23.10,<0.24.0
moodlepy>0.24.0,<0.24.1
moodlepy>0.24.1
). A compatible version may be available on a subsequent index (e.g., https://pypi.tuna.tsinghua.edu.cn/simple). By default, uv will
only consider versions that are published on the first index that contains a given package, to avoid dependency confusion attacks. If all
indexes are equally trusted, use `--index-strategy unsafe-best-match` to consider all versions from all indexes, regardless of the order in
which they were defined.
hint: `trio` was requested with a pre-release marker (e.g., all of:
trio>0.29.0,<0.30.0
trio>0.30.0,<0.31.0
trio>0.31.0,<0.32.0
trio>0.32.0,<1.dev0
), but pre-releases weren't enabled (try: `--prerelease=allow`)
hint: `trio` was found on https://mirrors.aliyun.com/pypi/simple, but not at the requested version (all of:
trio>0.29.0,<0.30.0
trio>0.30.0,<0.31.0
trio>0.31.0,<0.32.0
trio>0.32.0,<1.dev0
). A compatible version may be available on a subsequent index (e.g., https://pypi.tuna.tsinghua.edu.cn/simple). By default, uv will
only consider versions that are published on the first index that contains a given package, to avoid dependency confusion attacks. If all
indexes are equally trusted, use `--index-strategy unsafe-best-match` to consider all versions from all indexes, regardless of the order in
which they were defined.|
You need to submit |
|
Hi, @levischd The code looks good to me. Could you please provide some screenshots of a successful run? Cheers. |
yongtenglei
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. There are some new conflicts need to resolve, but I will approve it for now :)
Cheers!
|
Please submit an updated uv.lock since there're conflicts. |
|
@KevinHuSh Done :) |



What problem does this PR solve?
This PR adds a native Moodle connector to sync content (courses, resources, forums, assignments, pages, books) into RAGFlow.
Type of change