Skip to content
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 to Python 3.10 and MongoDB 7.0 #13

Merged
merged 12 commits into from
Jun 24, 2024
Merged

Conversation

RayPlante
Copy link
Collaborator

This PR to another branch providing DBIO advanced searching--subject to its own PR (#12)--is provided to document some substantial changes that will allow #12 to be merged. That branch's unit tests were failing under GitHub Actions CI because Mongo 4.4 is no longer supported. A key focus of this PR, therefore, is to upgrade the use of MongoDB to v7.0, which in turn requires a migration to Python 3.10. There were previously a handful of deprecated bits of python not compliant with 3.10 (namely importing types from collections instead of collections.abc). These have been fixed and the supporting docker containers have been updated accordingly. (This motivated updating the containers' base OS to Ubuntu 22.)

A few other bug fixes are included in this PR regarding the use of nistoar.web.webrecord in the MIDAS web service. It also removes the on-the-fly generation of the freetext index needed by advanced searching; creating this index is now handled at the oar-docker orchestration level (when the MongoDB instance comes up for the first time.)

Finally, some files that are normally generated on the fly (version files) but were mistakenly checked in have been removed.

@RayPlante RayPlante merged commit 0d045ed into feature/dbio-selected-ep Jun 24, 2024
2 checks passed
@RayPlante RayPlante deleted the py10 branch June 24, 2024 20:52
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.

1 participant