-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Upgrade pymongo #34642
Closed
Closed
Upgrade pymongo #34642
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ace063e
chore: Update testing.txt
awais786 aa3bf2e
chore: Update testing.txt
awais786 9900c57
Merge branch 'openedx:master' into master
awais786 cc88244
Merge branch 'openedx:master' into master
awais786 7b66aff
Merge branch 'openedx:master' into master
awais786 bca5886
parent cc88244be61da0ba8069a551f61669df71c52891
awais786 f3b5f6c
feat!: Remove md5 checksums from gridfs and remove disable.
awais786 20b4b12
feat!: Remove md5 checksums from gridfs and remove disable.
awais786 1d24850
feat!: Remove md5 checksums from gridfs and remove disable.
awais786 0a6d8e3
feat!: Remove md5 checksums from gridfs and remove disable.
awais786 0b6778e
Merge branch 'master' into upgrade-pymongo-
awais786 7f7fb6f
fix: Update unit-tests.yml
awais786 2998812
feat!: Remove md5 checksums from gridfs and remove disable.
awais786 ac4cf92
Merge branch 'master' into upgrade-pymongo-
awais786 bb7d0f2
feat!: Remove md5 checksums from gridfs and remove disable.
awais786 c9d66dd
chore: adding mongoconnection.
awais786 f72abaf
Merge branch 'master' into upgrade-pymongo-
awais786 6a5ecb7
chore: running make upgrade job.
awais786 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +0,0 @@ | ||
# This is a temporary solution to override the real common_constraints.txt | ||
# In edx-lint, until the pyjwt constraint in edx-lint has been removed. | ||
# See BOM-2721 for more details. | ||
# Below is the copied and edited version of common_constraints | ||
# A central location for most common version constraints | ||
# (across edx repos) for pip-installation. | ||
# | ||
# Similar to other constraint files this file doesn't install any packages. | ||
# It specifies version constraints that will be applied if a package is needed. | ||
# When pinning something here, please provide an explanation of why it is a good | ||
# idea to pin this package across all edx repos, Ideally, link to other information | ||
# that will help people in the future to remove the pin when possible. | ||
# Writing an issue against the offending project and linking to it here is good. | ||
# | ||
# Note: Changes to this file will automatically be used by other repos, referencing | ||
# this file from Github directly. It does not require packaging in edx-lint. | ||
|
||
|
||
# using LTS django version | ||
Django<5.0 | ||
|
||
# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process. | ||
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html | ||
elasticsearch<7.14.0 | ||
|
||
# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected | ||
|
||
# opentelemetry requires version 6.x at the moment: | ||
# https://github.com/open-telemetry/opentelemetry-python/issues/3570 | ||
# Normally this could be added as a constraint in edx-django-utils, where we're | ||
# adding the opentelemetry dependency. However, when we compile pip-tools.txt, | ||
# that uses version 7.x, and then there's no undoing that when compiling base.txt. | ||
# So we need to pin it globally, for now. | ||
# Ticket for unpinning: https://github.com/openedx/edx-lint/issues/407 | ||
importlib-metadata<7 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,17 @@ | |
# | ||
-e git+https://github.com/anupdhabarde/edx-proctoring-proctortrack.git@31c6c9923a51c903ae83760ecbbac191363aa2a2#egg=edx_proctoring_proctortrack | ||
# via -r requirements/edx/github.in | ||
-e git+https://github.com/openedx/event-tracking.git@umar/upgrade-pymongo#egg=event-tracking==2.4.1 | ||
# via | ||
# -r requirements/edx/github.in | ||
# -r requirements/edx/kernel.in | ||
# edx-completion | ||
# edx-proctoring | ||
# edx-search | ||
-e git+https://github.com/awais786/[email protected]#egg=openedx-mongodbproxy==0.2.1 | ||
# via | ||
# -r requirements/edx/github.in | ||
# -r requirements/edx/kernel.in | ||
acid-xblock==0.3.1 | ||
# via -r requirements/edx/kernel.in | ||
aiohttp==3.9.5 | ||
|
@@ -22,7 +33,7 @@ analytics-python==1.4.post1 | |
# via -r requirements/edx/kernel.in | ||
aniso8601==9.0.1 | ||
# via edx-tincan-py35 | ||
annotated-types==0.6.0 | ||
annotated-types==0.7.0 | ||
# via pydantic | ||
appdirs==1.4.4 | ||
# via fs | ||
|
@@ -77,13 +88,13 @@ bleach[css]==6.1.0 | |
# xblock-poll | ||
boto==2.49.0 | ||
# via -r requirements/edx/kernel.in | ||
boto3==1.34.104 | ||
boto3==1.34.109 | ||
# via | ||
# -r requirements/edx/kernel.in | ||
# django-ses | ||
# fs-s3fs | ||
# ora2 | ||
botocore==1.34.104 | ||
botocore==1.34.109 | ||
# via | ||
# -r requirements/edx/kernel.in | ||
# boto3 | ||
|
@@ -92,7 +103,7 @@ bridgekeeper==0.9 | |
# via -r requirements/edx/kernel.in | ||
camel-converter[pydantic]==3.1.2 | ||
# via meilisearch | ||
celery==5.4.0 | ||
celery==5.3.6 | ||
# via | ||
# -c requirements/edx/../constraints.txt | ||
# -r requirements/edx/kernel.in | ||
|
@@ -167,7 +178,7 @@ cryptography==42.0.7 | |
# pyopenssl | ||
# snowflake-connector-python | ||
# social-auth-core | ||
cssutils==2.10.3 | ||
cssutils==2.11.0 | ||
# via pynliner | ||
defusedxml==0.7.1 | ||
# via | ||
|
@@ -178,7 +189,6 @@ defusedxml==0.7.1 | |
# social-auth-core | ||
django==4.2.13 | ||
# via | ||
# -c requirements/edx/../common_constraints.txt | ||
# -c requirements/edx/../constraints.txt | ||
# -r requirements/edx/kernel.in | ||
# django-appconf | ||
|
@@ -389,6 +399,10 @@ djangorestframework==3.14.0 | |
# super-csv | ||
djangorestframework-xml==2.0.0 | ||
# via edx-enterprise | ||
dnspython==2.6.1 | ||
# via | ||
# -r requirements/edx/paver.txt | ||
# pymongo | ||
done-xblock==2.3.0 | ||
# via -r requirements/edx/bundled.in | ||
drf-jwt==1.19.2 | ||
|
@@ -505,7 +519,7 @@ edx-proctoring==4.17.0 | |
# edx-proctoring-proctortrack | ||
edx-rbac==1.9.0 | ||
# via edx-enterprise | ||
edx-rest-api-client==5.7.0 | ||
edx-rest-api-client==5.6.1 | ||
# via | ||
# -r requirements/edx/kernel.in | ||
# edx-enterprise | ||
|
@@ -540,20 +554,12 @@ edx-when==2.5.0 | |
# edx-proctoring | ||
edxval==2.5.0 | ||
# via -r requirements/edx/kernel.in | ||
elasticsearch==7.13.4 | ||
# via | ||
# -c requirements/edx/../common_constraints.txt | ||
# edx-search | ||
elasticsearch==7.17.9 | ||
# via edx-search | ||
enmerkar==0.7.1 | ||
# via enmerkar-underscore | ||
enmerkar-underscore==2.3.0 | ||
# via -r requirements/edx/kernel.in | ||
event-tracking==2.4.0 | ||
# via | ||
# -r requirements/edx/kernel.in | ||
# edx-completion | ||
# edx-proctoring | ||
# edx-search | ||
fastavro==1.9.4 | ||
# via openedx-events | ||
filelock==3.14.0 | ||
|
@@ -595,11 +601,8 @@ idna==3.7 | |
# requests | ||
# snowflake-connector-python | ||
# yarl | ||
importlib-metadata==6.11.0 | ||
# via | ||
# -c requirements/edx/../common_constraints.txt | ||
# -r requirements/edx/kernel.in | ||
# markdown | ||
importlib-metadata==7.1.0 | ||
# via markdown | ||
importlib-resources==5.13.0 | ||
# via | ||
# jsonschema | ||
|
@@ -667,7 +670,7 @@ loremipsum==1.0.5 | |
# via ora2 | ||
lti-consumer-xblock==9.11.0 | ||
# via -r requirements/edx/kernel.in | ||
lxml==4.9.4 | ||
lxml[html-clean,html_clean]==4.9.4 | ||
# via | ||
# -c requirements/edx/../constraints.txt | ||
# -r requirements/edx/kernel.in | ||
|
@@ -779,8 +782,6 @@ openedx-learning==0.9.3 | |
# via | ||
# -c requirements/edx/../constraints.txt | ||
# -r requirements/edx/kernel.in | ||
openedx-mongodbproxy==0.2.0 | ||
# via -r requirements/edx/kernel.in | ||
optimizely-sdk==4.1.1 | ||
# via | ||
# -c requirements/edx/../constraints.txt | ||
|
@@ -825,7 +826,7 @@ pillow==10.3.0 | |
# edxval | ||
pkgutil-resolve-name==1.3.10 | ||
# via jsonschema | ||
platformdirs==4.2.1 | ||
platformdirs==4.2.2 | ||
# via snowflake-connector-python | ||
polib==1.2.0 | ||
# via edx-i18n-tools | ||
|
@@ -881,7 +882,7 @@ pylti1p3==2.0.0 | |
# via -r requirements/edx/kernel.in | ||
pymemcache==4.0.0 | ||
# via -r requirements/edx/paver.txt | ||
pymongo==3.13.0 | ||
pymongo==4.4.0 | ||
# via | ||
# -c requirements/edx/../constraints.txt | ||
# -r requirements/edx/kernel.in | ||
|
@@ -977,9 +978,9 @@ referencing==0.35.1 | |
# via | ||
# jsonschema | ||
# jsonschema-specifications | ||
regex==2024.5.10 | ||
regex==2024.5.15 | ||
# via nltk | ||
requests==2.31.0 | ||
requests==2.32.1 | ||
# via | ||
# -r requirements/edx/paver.txt | ||
# algoliasearch | ||
|
@@ -1016,7 +1017,7 @@ ruamel-yaml==0.18.6 | |
# via drf-yasg | ||
ruamel-yaml-clib==0.2.8 | ||
# via ruamel-yaml | ||
rules==3.3 | ||
rules==3.4 | ||
# via | ||
# -r requirements/edx/kernel.in | ||
# edx-enterprise | ||
|
@@ -1229,7 +1230,7 @@ xss-utils==0.6.0 | |
# via -r requirements/edx/kernel.in | ||
yarl==1.9.4 | ||
# via aiohttp | ||
zipp==3.18.1 | ||
zipp==3.18.2 | ||
# via | ||
# importlib-metadata | ||
# importlib-resources | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
https://pymongo.readthedocs.io/en/4.0/migrate-to-pymongo4.html#mongoclient-cannot-execute-operations-after-close
Its a breaking changes.