-
Notifications
You must be signed in to change notification settings - Fork 10
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
PPS-1617 Dependency update #118
Conversation
The style in this PR agrees with This formatting comment was generated automatically by a script in uc-cdis/wool. |
pyproject.toml
Outdated
@@ -7,7 +7,7 @@ license = "Apache-2.0" | |||
|
|||
[tool.poetry.dependencies] | |||
python = "^3.9" | |||
fastapi = "^0.65.2" | |||
fastapi = "<1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's just do "*" or >=0.65.2. attempt a potential major version upgrade
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
).raise_for_status() | ||
res = client.post(f"/metadata/{guid}/aliases", json={"aliases": aliases}) | ||
if aliases is None: | ||
with pytest.raises(httpx.HTTPStatusError, match="422 Unprocessable Entity"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remind me why we're only raising if aliases is None?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The endpoint expects a list, with the new version of fastapi the request returns a 422 when the value is None. The other values are lists so they're fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments
Please find the detailed integration test report here Please find the ci env pod logs here |
Link to JIRA ticket if there is one: https://ctds-planx.atlassian.net/browse/PPS-1617
Dependency updates