Skip to content
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

Bump min versions of openapi validators #37691

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ repos:
name: Lint OpenAPI using openapi-spec-validator
entry: openapi-spec-validator --schema 3.0.0
language: python
additional_dependencies: ['openapi-spec-validator>=0.6.0']
additional_dependencies: ['openapi-spec-validator>=0.7.1', 'openapi-schema-validator>=0.6.2']
files: ^airflow/api_connexion/openapi/
- id: lint-dockerfile
name: Lint Dockerfile
Expand Down
2 changes: 2 additions & 0 deletions airflow/providers/amazon/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ devel-dependencies:
- mypy-boto3-redshift-data>=1.33.0
- mypy-boto3-s3>=1.33.0
- s3fs>=2023.10.0
- openapi-schema-validator>=0.6.2
- openapi-spec-validator>=0.7.1

integrations:
- integration-name: Amazon Athena
Expand Down
4 changes: 3 additions & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
"mypy-boto3-rds>=1.33.0",
"mypy-boto3-redshift-data>=1.33.0",
"mypy-boto3-s3>=1.33.0",
"s3fs>=2023.10.0"
"s3fs>=2023.10.0",
"openapi-schema-validator>=0.6.2",
"openapi-spec-validator>=0.7.1"
],
"cross-providers-deps": [
"apache.hive",
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,8 @@ amazon = [ # source: airflow/providers/amazon/provider.yaml
"mypy-boto3-redshift-data>=1.33.0",
"mypy-boto3-s3>=1.33.0",
"s3fs>=2023.10.0",
"openapi-schema-validator>=0.6.2",
"openapi-spec-validator>=0.7.1",
]
apache-beam = [ # source: airflow/providers/apache/beam/provider.yaml
"apache-beam>=2.53.0;python_version != \"3.12\"",
Expand Down