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

Test adding openlineage requirements #32894

Closed
wants to merge 3 commits into from
Closed

Test adding openlineage requirements #32894

wants to merge 3 commits into from

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jul 27, 2023


^ 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.

eladkal and others added 2 commits July 27, 2023 12:54
So far we only applied PyPi suffix for cross-provider dependencies -
i.e. when one airflow package depended on another one released at
the same time we added "dev0" suffix to their cross-dependencies,
when building them on CI so that they can be installed together
without conflicts (this is because of decisions made with PEP-440
where version suffixes are in different namespaces than the final
versions, so it is impossible to specify "final" dependency as
minimal and have the ".dev0" satisfy it only for that single package.

With openlineage provider, we need to release it before Airflow 2.7.0
gets released, and openlineage provider depends on Airflow 2.7.0 so
we need to also handle the situation, where OpenLineage has >= 2.7.0
for Airflow, but the dependency that is used to resolve dependencies
in CI uses 2.7.0dev0. This is done by dynamically manipulating the
dependencies in setup.py based on VERSION_SUFFIX_FOR_PYPI variable.

This variable in CI is set to "dev0" thus all packages built have
"dev0" added as version, with this change if any package has
>= <CURRENT_AIRFLOW_VERSION> specified, it will also be extended
with the same "dev0" suffix.
@potiuk
Copy link
Member Author

potiuk commented Jul 27, 2023

Seems to work. Closing the experiment.

@potiuk potiuk closed this Jul 27, 2023
@potiuk potiuk deleted the ol branch November 17, 2023 16:23
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.

None yet

2 participants