Skip to content

Conversation

@dstandish
Copy link
Contributor

@dstandish dstandish commented Oct 20, 2022

UPDATE this fix didn't quite work. The actual fix is #27451 and should be out in 2.5.0

This ensures that any templates required as part of the provider are included in the distributed packages.

Resolves #26910.

To test this locally, I did this:

./dev/provider_packages/prepare_provider_packages.py generate-setup-files --version-suffix rc1 --no-git-update --verbose --skip-tag-check cncf.kubernetes

then

./dev/provider_packages/prepare_provider_packages.py build-provider-packages --package-format sdist cncf.kubernetes --version-suffix rc1 --no-git-update --skip-tag-check

then check dist folder, expand package, and, there it is.

This ensures that any templates required as part of the provider are included in the distributed packages.

Resolves apache#26910.
@dstandish
Copy link
Contributor Author

dstandish commented Oct 20, 2022

ok... not there for wheel

@dstandish
Copy link
Contributor Author

wait... yes it does -- good to go

@dstandish dstandish requested a review from kaxil October 20, 2022 23:08
@kaxil kaxil merged commit 7be7772 into apache:main Oct 21, 2022
@kaxil kaxil deleted the add-jinja2-to-provider-packages branch October 21, 2022 11:34
dstandish added a commit to astronomer/airflow that referenced this pull request Oct 24, 2022
This ensures that any templates required as part of the provider are included in the distributed packages.

Resolves apache#26910.

(cherry picked from commit 7be7772)
dstandish added a commit that referenced this pull request Nov 1, 2022
Ensures jinja2 files are included in provider package.

Resloves #26910

Followup to PR #27171 (first attempt)
ephraimbuddy pushed a commit that referenced this pull request Nov 10, 2022
This ensures that any templates required as part of the provider are included in the distributed packages.

Resolves #26910.

(cherry picked from commit 7be7772)
@dstandish
Copy link
Contributor Author

UPDATE this fix didn't quite work. The actual fix is #27451 and should be out in 2.5.0

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.

python_kubernetes_script.jinja2 file missing from apache-airflow-providers-cncf-kubernetes==4.4.0 release

3 participants