Compatibility-breaking starlette 0.21 -> failing test_delete_token #16
Labels
No Label
Bug
Contributions welcome
Did not do
Duplicate
Feature
Module
Backups
Module
GraphQL
Priority
High
Priority
Low
Priority
Medium
Refactor
Severity
High
Severity
Low
Severity
Medium
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SelfPrivacy/selfprivacy-rest-api#16
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
On master branch,
0a09a338b8
When running pytest
the offending lines
definition of the test client is in
starlette
package0.21.0 of starlette has landed 19 days ago and was a compatibility breaking release.
they provide a migration tool to make un-breaking the tests easier.
https://github.com/encode/starlette/releases/tag/0.21.0
Failing test_delete_tokento Compatibility-breaking starlette 0.21 -> failing test_delete_tokenThe unbreaking tool works, so migrating tests is not the problem.
However, one needs to sync this change of tests with bumping statlette in nix.
Bumping starlette will require bumping python because there are no newer typing-extensions for python 3.9
bumping python to 3.10 passes this obstacle but is blocked by anyio
0.21 version didn't land to NixOS yet. Error didn't show up on nixpkgs-unstable branch.
Starlette upgrade is pending on https://github.com/NixOS/nixpkgs/pull/193923
I guess we have to wait right now.
starlette is now 0.26 in 23.05 release of nix-pkgs
4ecab32735/pkgs/development/python-modules/starlette
Starlette is now 0.31 and we use it this way.