Repository navigation
Tags/annotations editing + dependency modernization + CI modernization - #22
Merged
Merged
Conversation
- Read MongoDB URI from MONGO_URI env var (default: mongodb://localhost:27017/) - Add client.close() after drop_database() to prevent connection pool exhaustion - Remove stale FLASK_ENV config key (removed in Flask 3.0) - Config route test: compare URI against MONGO_URI env var instead of hardcoded value Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Aligns with dservercore's new minimum Python version. Drop EOL Python 3.7-3.9; drop EOL MongoDB 4.2/4.4; add MongoDB 7.0/8.0. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…test fixes for authenticated MongoDB
…ags_annotations # Conflicts: # pyproject.toml # tests/conftest.py # tests/test_config_route.py # tests/test_utils_retrieve_standalone.py
- actions/checkout v4 -> v6 - actions/setup-python v5 -> v6 - supercharge/mongodb-github-action 1.11.0 -> 1.12.1 (test.yml) - actions/upload-artifact v4 -> v7 (publish.yml) - actions/download-artifact v4 -> v8 (publish.yml) - sigstore/gh-action-sigstore-python v2.1.1 -> v3 (publish.yml) pypa/gh-action-pypi-publish stays on the maintained release/v1 floating tag. Mirrors the modernization applied to dserver-search-plugin-mongo. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Brings the
25_tags_annotationsfeature work together with the dependency/test modernization (PR #21's2026-06-10-modernized) and a GitHub Actions refresh. Mirrors the same modernization applied todserver-search-plugin-mongo.Contents
Feature work (from
25_tags_annotations)set_tags/set_annotations/set_readmeonMongoRetrievereadme_parsedfor structured queries by co-installed plugins (e.g. dependency-graph'sreadme_parsed.derived_from.uuid); addsPyYAMLdependencyflit_scm)Dependency/test modernization (merge of
2026-06-10-modernized)requires-python = ">=3.10"; CI matrix updated to Python 3.10–3.13 × MongoDB 5.0–8.0TEST_MONGO_URIenv var (defaultmongodb://localhost:27017/); addedclient.close()in teardown to avoid connection-pool exhaustion; removed staleFLASK_ENVkeyMONGO_URI/MONGO_DB/MONGO_COLLECTIONkeys for co-installed pluginsCI actions modernization
actions/checkoutv4 → v6actions/setup-pythonv5 → v6supercharge/mongodb-github-action1.11.0 → 1.12.1actions/upload-artifactv4 → v7actions/download-artifactv4 → v8sigstore/gh-action-sigstore-pythonv2.1.1 → v3pypa/gh-action-pypi-publishstays on the maintainedrelease/v1floating tagDocs
CLAUDE.mddescribing architecture, commands, and the test/packaging setupMerge-conflict resolution notes
The merge of
2026-06-10-modernizedconflicted inpyproject.tomland the three test files. Resolved by taking modernization'srequires-python >=3.10,client.close()teardowns,FLASK_ENVremoval and CI matrix, while keeping the feature branch's flit build,readme_parsed/PyYAML, and the co-installed-plugin config keys. The test-connection override env var is standardized onTEST_MONGO_URI(kept distinct from theMONGO_URIFlask config key used by co-installed plugins).Verification
The equivalent modernization on
dserver-search-plugin-mongopassed the full 16-cell matrix locally underact. For this PR, GitHub Actions will run the full Python 3.10–3.13 × MongoDB 5.0–8.0 matrix. (A localactrun confirmed the first cell green; a clean full local re-run is in progress.)🤖 Generated with Claude Code