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
Fix link to Apache Airflow docs in webserver #13250
Conversation
e8d9d21
to
a9d62e9
Compare
tests/utils/test_docs.py
Outdated
self.assertEqual(expected_urk, get_docs_url(page)) | ||
self.assertEqual(expected_url, get_docs_url(page)) | ||
resp = requests.get(expected_url) | ||
assert resp.status_code == 200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about sending requests (in general it's not best practice) but I don't know other way to make sure what we use works - without this the test gives false positives.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems fine in this case, but we can speed up this code a bit if we use HEAD requests.
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
a9d62e9
to
358336b
Compare
@kaxil should we mark it as 2.0.1? |
Yup, just marked |
The Workflow run is cancelling this PR. Building images for the PR has failed. Follow the the workflow link to check the reason. |
8039250
to
f234670
Compare
The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*. |
Conflicting files here @turbaszek |
f234670
to
fecd662
Compare
The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*. |
fecd662
to
31f0788
Compare
The problems were temporary due to wrongly generated constraints (they were there generated from python3.8 in python 3.6 for about an hour by my mistake) |
(cherry picked from commit c90485c)
apache#13250 missed a case to update URL in `tests/www/test_views.py`.
#13250 missed a case to update URL in `tests/www/test_views.py`.
(cherry picked from commit c90485c)
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. (cherry picked from commit 9840e406fd20b91959d603a42f381b014e86d2b3) GitOrigin-RevId: 7c152906d55a98cca07ca81346f25d06fe578f1c
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. (cherry picked from commit 9840e406fd20b91959d603a42f381b014e86d2b3) GitOrigin-RevId: 7c152906d55a98cca07ca81346f25d06fe578f1c
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
apache/airflow#13250 missed a case to update URL in `tests/www/test_views.py`. GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
Current link returns 404
https://airflow.apache.org/docs/2.0.0
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.