Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initially designated Pydantic as an optional dependency. However, a subsequent pull request, #794, introduced an implementation that requires Pydantic to be a mandatory dependency for astronomer-cosmos. This pull request addresses the bug encountered while running airflow db init, as described in issue #936, by enforcing Pydantic as a required dependency. Furthermore, it's worth noting that Pydantic version 2 has known issues with Airflow versions prior to 2.7.0. Given that the minimum Airflow version supported by astronomer-cosmos is 2.3, we have restricted the Pydantic version to be less than 2. Additionally, a comment has been added indicating that we may remove this upper bound once Airflow 2.7 becomes the minimum required version for astronomer-cosmos. closes: #936
- Loading branch information