-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add dependency parsing grammar for gateway allowlist #1459
Conversation
The gateway pod seems to be restarting in the k8s test, not sure why yet |
huh, it's getting hit with an OOMKilled error... |
ok, bumping the resource limits on the gateway fixed the issue |
Good to know because we had the same problem with the scheduler Wed 😂 |
Add it |
1ab46e0
to
0e19e07
Compare
Signed-off-by: Paul S. Schweigert <[email protected]> This PR adds the dependency specification grammar from PEP 508 (https://peps.python.org/pep-0508/) to use when validating dependencies via the allowlist. As a temporary measure, it also simplifies the check to only consider the dependency and not a specific version. As such, it has dropped the test for related to dependency version. Future work should be done to convert the allowlist file from JSON to the standard requirements.txt format, which would allow for easier version checking.
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
f60d468
to
02950ff
Compare
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
Signed-off-by: Paul S. Schweigert <[email protected]>
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.
With the current status LGTM. Feel free to merge it when the tests pass 🙏
Summary
Part of #369
This PR adds the dependency specification grammar from PEP
508 (https://peps.python.org/pep-0508/) to use when validating
dependencies via the allowlist.
As a temporary measure, it also simplifies the check to only consider
the dependency and not a specific version. As such, it has dropped the
test for related to dependency version.
Future work should be done to convert the allowlist file from JSON to
the standard requirements.txt format, which would allow for easier
version checking.
Details and comments