Skip to content

Conversation

@o-nikolas
Copy link
Contributor

Migrates the Cloudant provider.

static and unit tests pass.

This provider required changes to the new provider schema to add back support for excluded python versions which cloudant makes use of (see comment annotations for more details). The release management scripts for generating project toml files also needed updating.

related: #46045


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

The provider schema previously supported this field but it was dropped
during the provider migration project. Cloudant is the only provider at
the time of writing which makes use of this mechanism
If it is not already present add a wild card for all patch releases of
an excluded python version
With functional version exclusion in requires-python working, many
things in our CI are not setup to support this. So go back to "soft"
or non-functional exclusions. This will at least update the classifiers
@o-nikolas
Copy link
Contributor Author

@potiuk
I think this PR should be fine now, but it's failing for the kube related issues from main.

@potiuk
Copy link
Member

potiuk commented Feb 5, 2025

Indeed. Looks good. The fix to main is coming #46492

@potiuk potiuk merged commit 9161259 into apache:main Feb 5, 2025
135 of 156 checks passed
insomnes pushed a commit to insomnes/airflow that referenced this pull request Feb 6, 2025
* Update provider schema to include excluded-python-versions

The provider schema previously supported this field but it was dropped
during the provider migration project. Cloudant is the only provider at
the time of writing which makes use of this mechanism

* Migrate Cloudant provider to new structure

* Updates from PR feedback

* Add wildcard for all patch releases of an excluded python version

If it is not already present add a wild card for all patch releases of
an excluded python version

* Fix install_airflow script to remove cloudant on 3.9

* Remove more spaces

* Remove the fix for version exclusions

With functional version exclusion in requires-python working, many
things in our CI are not setup to support this. So go back to "soft"
or non-functional exclusions. This will at least update the classifiers
niklasr22 pushed a commit to niklasr22/airflow that referenced this pull request Feb 8, 2025
* Update provider schema to include excluded-python-versions

The provider schema previously supported this field but it was dropped
during the provider migration project. Cloudant is the only provider at
the time of writing which makes use of this mechanism

* Migrate Cloudant provider to new structure

* Updates from PR feedback

* Add wildcard for all patch releases of an excluded python version

If it is not already present add a wild card for all patch releases of
an excluded python version

* Fix install_airflow script to remove cloudant on 3.9

* Remove more spaces

* Remove the fix for version exclusions

With functional version exclusion in requires-python working, many
things in our CI are not setup to support this. So go back to "soft"
or non-functional exclusions. This will at least update the classifiers
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 17, 2025
* Update provider schema to include excluded-python-versions

The provider schema previously supported this field but it was dropped
during the provider migration project. Cloudant is the only provider at
the time of writing which makes use of this mechanism

* Migrate Cloudant provider to new structure

* Updates from PR feedback

* Add wildcard for all patch releases of an excluded python version

If it is not already present add a wild card for all patch releases of
an excluded python version

* Fix install_airflow script to remove cloudant on 3.9

* Remove more spaces

* Remove the fix for version exclusions

With functional version exclusion in requires-python working, many
things in our CI are not setup to support this. So go back to "soft"
or non-functional exclusions. This will at least update the classifiers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants