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

Remove markdown from core dependencies #37396

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

Taragolis
Copy link
Contributor

I can't find any reference to markdown in Airflow codebase

grep -inr --include \*.py 'from markdown ' airflowgrep -inr --include \*.py 'import markdown ' airflowgrep -inr --include \*.py 'import markdown' airflow
airflow/www/utils.py:34:from markdown_it import MarkdownItgrep -inr --include \*.py 'from markdown' airflow
airflow/www/utils.py:34:from markdown_it import MarkdownI

Seems like it is stale dependencies from time when we switch to markdown-it-py library: #19702


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

@boring-cyborg boring-cyborg bot added area:dev-tools area:production-image Production image improvements and fixes labels Feb 13, 2024
@Taragolis
Copy link
Contributor Author

I guess it should be remaining in constraints, because markdown is dependency for apprise which is dependency for apache-airflow-providers-apprise

@potiuk
Copy link
Member

potiuk commented Feb 13, 2024

I guess it should be remaining in constraints, because markdown is dependency for apprise which is dependency for apache-airflow-providers-apprise

Ah yeah - then there is no need to change EPOCH, this will also be nicer for the cache if we do not change it.

Dockerfile Outdated Show resolved Hide resolved
Dockerfile.ci Outdated Show resolved Hide resolved
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk potiuk merged commit 8b6f448 into apache:main Feb 13, 2024
84 checks passed
@potiuk potiuk added this to the Airflow 2.8.2 milestone Feb 13, 2024
@Taragolis Taragolis deleted the remove-markdown-dependency branch February 13, 2024 23:35
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Feb 19, 2024
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
* Remove `markdown` from core dependencies

* Apply suggestions from code review

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
(cherry picked from commit 8b6f448)
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
* Remove `markdown` from core dependencies

* Apply suggestions from code review

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
(cherry picked from commit 8b6f448)
sunank200 pushed a commit to astronomer/airflow that referenced this pull request Feb 21, 2024
* Remove `markdown` from core dependencies

* Apply suggestions from code review

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
ephraimbuddy pushed a commit that referenced this pull request Feb 22, 2024
* Remove `markdown` from core dependencies

* Apply suggestions from code review

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
(cherry picked from commit 8b6f448)
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
* Remove `markdown` from core dependencies

* Apply suggestions from code review

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools area:production-image Production image improvements and fixes type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants