-
Notifications
You must be signed in to change notification settings - Fork 32
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
MemoryStore: replace mongomock with pymongo-inmemory #846
Open
rkingsbury
wants to merge
36
commits into
materialsproject:main
Choose a base branch
from
rkingsbury:inmemory
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
148523f
MemoryStore: mongomock -> pymongo-inmemory
rkingsbury 4ab8b4a
MemoryStorage: use local mongod when possible except CI
rkingsbury 7e867f7
Merge branch 'main' into inmemory
rkingsbury 1587e2f
pin pymongo-inmemory to pymongo version
rkingsbury a306cb3
try CI fix
rkingsbury ba2b1c5
CI try
rkingsbury c00bd84
CI mongo version
rkingsbury cb57736
CI fix
rkingsbury fae4023
MemoryStore: use MongoDB v6
rkingsbury 09cd5cc
MemoryStore: expand __eq__ testing
rkingsbury cbfc58f
MemoryStore: drop collection on close()
rkingsbury 55963ff
MemoryStore: test cleanups
rkingsbury c7655bd
MemoryStore: assure test files close() part 1
rkingsbury 837b4a7
MemoryStore test updates part 2
rkingsbury 2df7d6a
MemoryStore: unique per instance coll name
rkingsbury 14e843b
MemoryStore __del__ fix
rkingsbury c3f43f9
MemoryStore fixes
rkingsbury 1e8c262
MemoryStore fixes
rkingsbury 232ab89
fixes
rkingsbury e403bfd
MontyStore: inherit from MongoStore
rkingsbury acb98e4
test fixes and MontyStore __eq__ fixups
rkingsbury 03c2e31
revert changes to FileStore and Azure tests
rkingsbury 671bc6f
revert changes to some JsonStore test
rkingsbury 4e0e6b5
more changes
rkingsbury 830d0a6
test fixes
rkingsbury d27558d
fixes
rkingsbury eac9406
fix
rkingsbury 421e4e9
rm print statement
rkingsbury 3cf4e3f
Fix test_patch_submission
772c5f0
Merge branch 'main' of https://github.com/materialsproject/maggma int…
rkingsbury 6ed6898
Merge branch 'main' into inmemory
rkingsbury ec3324e
Merge branch 'main' into inmemory
rkingsbury b478ad5
bump pymongo-inmemory to 0.3.1
rkingsbury 33a1fdf
CI python version workaround
rkingsbury be62d78
Merge branch 'main' of https://github.com/materialsproject/maggma int…
rkingsbury d448e49
add pymongo-inmemory
rkingsbury 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# TODO - this entire file can be removed once pymongo-inmemory supports pyproject.toml | ||
# see https://github.com/kaizendorks/pymongo_inmemory/issues/81 | ||
[pymongo_inmemory] | ||
mongod_port = 27019 | ||
mongo_version = 6.0 |
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
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.
Check notice
Code scanning / CodeQL
Commented-out code Note