The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
f37d6a661ab06b16b83eacfdc4c75b4ed7780a41 / Jarek Potiuk <[email protected]>
Fix validation of date-time field in API and Parameter schemas

The open-api-schema-validator 0.4.3 made RFC3339 validation of
the date-time fields mandatory and this revealed problems in our
test URLs - the '+' was not url-encoded and it was replaced with
space - thus the dates passed were not valid RFC3339 date-time
specifications.

This however revealed one more problem. The RFC3339-validator package
is automatically installed by the open-api-schema-validator, but when
installed, it also adds validation to date-time fields validated by
the Params of ours - for example naive date-time parameters. We
are limiting the supported parameters now to be iso8601-compliant
for backwards compatibility but we deprecate iso8601 in favor of
RFC3339.

This might introduce breaking changes for users who use non-valid
date-time parameters in the API, however we should consider that as a
bugfix, and accidental support, because the date-time schema should
expect RFC3999-formatted date time.

Co-authored-by: Andrey Anshin <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/4113751880

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to