-
Notifications
You must be signed in to change notification settings - Fork 34
feat: bkpaas-auth supports django 5.x #251
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,9 @@ | ||
| # 版本历史 | ||
|
|
||
| ## 3.2.0 | ||
|
|
||
| - 增加对 Django 5.x 版本并移除 Python 3.9 版本支持 | ||
|
|
||
| ## 3.1.3 | ||
| - feat: 用户模型增加时区支持,新增 time_zone 属性,由认证服务返回时区 | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
|
|
||
| import nox | ||
|
|
||
| ALL_PYTHON = ["3.9", "3.10", "3.11"] | ||
| ALL_PYTHON = ["3.10", "3.11", "3.12"] | ||
|
|
||
|
|
||
| # ref: https://stackoverflow.com/questions/59768651/how-to-use-nox-with-poetry | ||
|
|
@@ -49,8 +49,17 @@ def tests(session): | |
| install_with_constraints( | ||
| session, | ||
| "pytest", | ||
| "django", | ||
| "pytest-django", | ||
| "pytest-mock", | ||
| ) | ||
| session.run("pytest", *session.posargs) | ||
| # Install the SQLite driver manually because some environment's sqlite3 version is too old | ||
| # to meet the Django requirement. | ||
| session.install("pysqlite3-binary") | ||
|
|
||
| django_versions = [ | ||
| ">=4.2,<5", | ||
| ">=5.0,<6", | ||
| ] | ||
| for django in django_versions: | ||
| session.install(f"django{django}") | ||
| session.run("pytest", *session.posargs) | ||
|
Comment on lines
+67
to
+69
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.