Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jul 5, 2025

The file might be a left-over from earlier api generation and it is already .gitignored, so it does not appear in the source tarball, but sdist and wheel generation does not look at .gitignored files (for a good reason - we might want to include some generated files in those distributions) - so we should exclude it manually similarly as we already do with node_modules for example.


^ 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 airflow-core/newsfragments.

The file might be a left-over from earlier api generation and it is
already .gitignored, so it does not appear in the source tarball,
but sdist and wheel generation does not look at .gitignored files
(for a good reason - we might want to include some generated files
in those distributions) - so we should exclude it manually similarly
as we already do with node_modules for example.
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had the same reported last two times and am happy that this was not a local issue. Thanks for the fix!

@jscheffl jscheffl added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jul 5, 2025
@potiuk potiuk merged commit 93f2bcc into apache:main Jul 5, 2025
75 checks passed
@potiuk potiuk deleted the exclude-openapi-merged-from-core-packages branch July 5, 2025 13:55
github-actions bot pushed a commit that referenced this pull request Jul 5, 2025
…distributions (#52908)

The file might be a left-over from earlier api generation and it is
already .gitignored, so it does not appear in the source tarball,
but sdist and wheel generation does not look at .gitignored files
(for a good reason - we might want to include some generated files
in those distributions) - so we should exclude it manually similarly
as we already do with node_modules for example.
(cherry picked from commit 93f2bcc)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@github-actions
Copy link

github-actions bot commented Jul 5, 2025

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Jul 5, 2025
…distributions (apache#52908)

The file might be a left-over from earlier api generation and it is
already .gitignored, so it does not appear in the source tarball,
but sdist and wheel generation does not look at .gitignored files
(for a good reason - we might want to include some generated files
in those distributions) - so we should exclude it manually similarly
as we already do with node_modules for example.
(cherry picked from commit 93f2bcc)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk added a commit that referenced this pull request Jul 5, 2025
…distributions (#52908) (#52910)

The file might be a left-over from earlier api generation and it is
already .gitignored, so it does not appear in the source tarball,
but sdist and wheel generation does not look at .gitignored files
(for a good reason - we might want to include some generated files
in those distributions) - so we should exclude it manually similarly
as we already do with node_modules for example.
(cherry picked from commit 93f2bcc)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
kaxil pushed a commit that referenced this pull request Jul 7, 2025
…distributions (#52908) (#52910)

The file might be a left-over from earlier api generation and it is
already .gitignored, so it does not appear in the source tarball,
but sdist and wheel generation does not look at .gitignored files
(for a good reason - we might want to include some generated files
in those distributions) - so we should exclude it manually similarly
as we already do with node_modules for example.
(cherry picked from commit 93f2bcc)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
HsiuChuanHsu pushed a commit to HsiuChuanHsu/airflow that referenced this pull request Jul 10, 2025
apache#52908)

The file might be a left-over from earlier api generation and it is
already .gitignored, so it does not appear in the source tarball,
but sdist and wheel generation does not look at .gitignored files
(for a good reason - we might want to include some generated files
in those distributions) - so we should exclude it manually similarly
as we already do with node_modules for example.
stephen-bracken pushed a commit to stephen-bracken/airflow that referenced this pull request Jul 15, 2025
apache#52908)

The file might be a left-over from earlier api generation and it is
already .gitignored, so it does not appear in the source tarball,
but sdist and wheel generation does not look at .gitignored files
(for a good reason - we might want to include some generated files
in those distributions) - so we should exclude it manually similarly
as we already do with node_modules for example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants