-
Notifications
You must be signed in to change notification settings - Fork 73
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
Fix warning messages from slowapi and docker #5385
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
fides Run #10459
Run Properties:
|
Project |
fides
|
Run status |
Passed #10459
|
Run duration | 00m 39s |
Commit |
a8f342acca ℹ️: Merge 8638add8447942b3543975a68e9ab79a02f6e818 into e55d71f66ed37d3980ff370ca908...
|
Committer | Neville Samuell |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. |
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.
Makes sense, may need to re-run failed jobs to get the front end CI check passing
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.
LGTM!
fides Run #10469
Run Properties:
|
Project |
fides
|
Run status |
Passed #10469
|
Run duration | 00m 38s |
Commit |
4c9703e9d4: Fix warning messages from slowapi and docker (#5385)
|
Committer | Neville Samuell |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. |
Description Of Changes
Fixes two warnings:
docker build
prints warnings during a build like:FromAsCasing: 'as' and 'FROM' keywords' casing do not match
starlette.py
prints a warning duringfides
startup like:starlette/config.py:66: UserWarning: Config file '.env' not found.
The docker warning is due to a mismatch in our Dockerfile, and the Starlette warning originates from the
slowapi
package which fixed this in their 0.9.1 update: laurentS/slowapi@aa9eb7aCode Changes
slowapi
to 0.1.9 (see CHANGELOG, it's basically just this fix for the env file warning)fides --version
Steps to Confirm
nox -s dev
and confirm no Docker warningsfides
image without a.env
file and check logs do not contain the Starlette warning... (this is fairly hard to repro in dev environment, but trust me this is addressed)Pre-Merge Checklist
CHANGELOG.md
main
downgrade()
migration is correct and works