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

Further make sure graphviz is truly optional feature on MacOS #43867

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Nov 11, 2024

For our development, Pygraphviz is quite a difficul dependency to
install on MacOS. That's why we disable it by default on MacOS -
it was attempted in #43604, but it turned out some other dependencies
pulled it in as well.

This PR removes all the graphviz dependencies as being required,
and providers more readable error message and iink to documuentation
explaining how to install graphviz if needed.


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

@potiuk potiuk requested a review from ashb as a code owner November 11, 2024 01:12
@potiuk potiuk force-pushed the remove-indirect-diagram-deps-from-darwin branch from acb58d6 to c00234c Compare November 11, 2024 01:14
@potiuk potiuk changed the title Remove indirect diagram deps from darwin Commits on Nov 11, 2024 Further make sure graphviz is truly optional feature on MacOS Nov 11, 2024
@potiuk potiuk changed the title Commits on Nov 11, 2024 Further make sure graphviz is truly optional feature on MacOS Further make sure graphviz is truly optional feature on MacOS Nov 11, 2024
@potiuk
Copy link
Member Author

potiuk commented Nov 11, 2024

cc: @enisnazif

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

Sounds fair to me, just left one suggestion 👍

scripts/ci/pre_commit/generate_airflow_diagrams.py Outdated Show resolved Hide resolved
For our development, Pygraphviz is quite a difficul dependency to
install on MacOS. That's why we disable it by default on MacOS -
it was attempted in apache#43604, but it turned out some other dependencies
pulled it in as well.

This PR removes all the graphviz dependencies as being required,
and providers more readable error message and iink to documuentation
explaining how to install graphviz if needed.
@potiuk potiuk force-pushed the remove-indirect-diagram-deps-from-darwin branch from c00234c to 98605eb Compare November 11, 2024 10:01
@potiuk
Copy link
Member Author

potiuk commented Nov 11, 2024

Another result of the Man's Hackathon :). We were lucky to have @enisnazif who had brand-new M4 Mac just set-up from scratch so I hope firrst time MacOS experience for new contributors will get better thanks to that!

@amoghrajesh
Copy link
Contributor

A new laptop always helps find bugs in the docs :)

@potiuk potiuk merged commit 3f6f048 into apache:main Nov 11, 2024
101 of 103 checks passed
@potiuk potiuk deleted the remove-indirect-diagram-deps-from-darwin branch November 11, 2024 10:28
@ferruzzi
Copy link
Contributor

A new laptop always helps find bugs in the docs :)

New laptops and new hires/interns. Their best first contribution is always verifying and updating docs 👍

ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
…#43867)

For our development, Pygraphviz is quite a difficul dependency to
install on MacOS. That's why we disable it by default on MacOS -
it was attempted in apache#43604, but it turned out some other dependencies
pulled it in as well.

This PR removes all the graphviz dependencies as being required,
and providers more readable error message and iink to documuentation
explaining how to install graphviz if needed.
LefterisXefteris pushed a commit to LefterisXefteris/airflow that referenced this pull request Jan 5, 2025
…#43867)

For our development, Pygraphviz is quite a difficul dependency to
install on MacOS. That's why we disable it by default on MacOS -
it was attempted in apache#43604, but it turned out some other dependencies
pulled it in as well.

This PR removes all the graphviz dependencies as being required,
and providers more readable error message and iink to documuentation
explaining how to install graphviz if needed.
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.

8 participants