Skip to content

PR-6090: Use ~= instead of == in Python requirements files #192

PR-6090: Use ~= instead of == in Python requirements files

PR-6090: Use ~= instead of == in Python requirements files #192

Triggered via pull request September 11, 2024 23:43
Status Failure
Total duration 40s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
test: tests/test_auth.py#L25
test_decode_jwt AttributeError: 'bytes' object has no attribute 'encode'
test: tests/test_auth.py#L31
test_decode_jwt_expired AttributeError: 'bytes' object has no attribute 'encode'
test: tests/test_auth.py#L115
test_get_profile_from_header jwt.exceptions.DecodeError: Invalid header padding
test: tests/test_auth.py#L137
test_get_profile_from_header_jwt_blacklisted jwt.exceptions.DecodeError: Invalid header padding
test: tests/test_logging.py#L213
test_filter_log_credentials_jwt TypeError: cannot use a string pattern on a bytes-like object Falsifying example: test_filter_log_credentials_jwt( jwt_priv_key='-----BEGIN RSA PRIVATE KEY-----\nMIIBOgIBAAJBANagXeaHD8qqP3u/R5ozLClxNxlgCdvKYkETk/VU1gjLZjQF8ngc\nGaNPVM9ndQ3JX8Ot24aeZEDk6bZcwD/YZtMCAwEAAQJARaCe9eOJFvlmQPIL+5Vw\nVT16X4wNhrVAbNY6INPV3+HsbJPrUjc72dY/PQf6cMBXgKl9ykq75WsKW5ZghEhA\nwQIhAPGjMI+zlKAvvq2DnW5D1gEzuFhsiLt/tmAgTW9xSnThAiEA42Ir0/98h0wq\nkgpnpbT6aQOD0TOIWIZWyumBhYmo3jMCIQC1HGyMeLxAaCjR4uE/wUaIthxI4miF\nqI6oc+22RsLY4QIgbb+kh954rJUGtxZukHyZoLYhmYfV92Rf3/B0o4+eAiECIBR2\nxOewMazHL1H31fI4/iUYYU6x5I1DTMh4XiAA2ffi\n-----END RSA PRIVATE KEY-----', payload={}, # or any other generated value ) You can reproduce this example by temporarily adding @reproduce_failure('6.112.0', b'AAA=') as a decorator on your test case
test: tests/test_view_util.py#L232
test_make_jwt_payload TypeError: a bytes-like object is required, not 'str'
test
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/