Skip to content
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

Merged
merged 4 commits into from
Nov 5, 2024
Merged

PPS-1617 Dependency update #118

merged 4 commits into from
Nov 5, 2024

Conversation

paulineribeyre
Copy link
Contributor

Link to JIRA ticket if there is one: https://ctds-planx.atlassian.net/browse/PPS-1617

Dependency updates

  • fastapi to 0.115.4 and starlette to 0.41.2, and other dependency updates

Copy link

github-actions bot commented Nov 4, 2024

The style in this PR agrees with black. ✔️

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"
Copy link
Contributor

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

Copy link
Contributor Author

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"):
Copy link
Contributor

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?

Copy link
Contributor Author

@paulineribeyre paulineribeyre Nov 4, 2024

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

Copy link
Contributor

@Avantol13 Avantol13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

Copy link

github-actions bot commented Nov 4, 2024

Please find the detailed integration test report here

Please find the ci env pod logs here

Copy link

github-actions bot commented Nov 5, 2024

Please find the detailed integration test report here

Please find the ci env pod logs here

Copy link

github-actions bot commented Nov 5, 2024

filepath $$\textcolor{#23d18b}{\tt{passed}}$$ SUBTOTAL
$$\textcolor{#23d18b}{\tt{tests/test\_discoverypage.py}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{tests/test\_aggregate\_mds.py}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{tests/test\_metadata\_ingestion.py}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{TOTAL}}$$ $$\textcolor{#23d18b}{\tt{3}}$$ $$\textcolor{#23d18b}{\tt{3}}$$

Please find the detailed integration test report here

Please find the ci env pod logs here

@paulineribeyre paulineribeyre merged commit 3f22277 into master Nov 5, 2024
3 checks passed
@paulineribeyre paulineribeyre deleted the deps branch November 5, 2024 15:23
matthewwest55 pushed a commit to matthewwest55/metadata-service that referenced this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants