feat(bkpaas-auth): expand Django version support in tests#250
Closed
feat(bkpaas-auth): expand Django version support in tests#250
Conversation
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.
Motivation
bkpaas-authto upgrade to Django 5.x by relaxing the SDK's dependency bounds.Description
bkpaas-authversion to3.1.4and relaxed the Django dependency from>=4.2,<5.0to>=4.2,<6.0inpyproject.toml.noxfile.pyto run Django-related tests as a version matrix and addednox.options.error_on_missing_interpreters = Falseto tolerate missing interpreters; Django 5.x tests are only run on Python >= 3.10.CHANGES.mdreflecting the Django support change.poetry.lockmetadata to reflect the updated dependency constraints.Testing
nox -s testsinsdks/bkpaas-authto exercise the matrix and test suite under available interpreters.python3.10interpreter was not available, causing that session to be skipped/failed.poetry lockto refreshpoetry.lock, which updated the lock file metadata successfully.Codex Task