This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9a835cdf80f Remove password extra - nothing uses those deps (#48027)
9a835cdf80f is described below
commit 9a835cdf80f38df8dd61f3ed6a6539d694154310
Author: Jed Cunningham <[email protected]>
AuthorDate: Sat Mar 22 13:34:01 2025 -0600
Remove password extra - nothing uses those deps (#48027)
---
INSTALL | 2 +-
airflow-core/docs/extra-packages-ref.rst | 2 --
airflow-core/pyproject.toml | 4 ----
contributing-docs/12_airflow_dependencies_and_extras.rst | 2 +-
newsfragments/48027.significant.rst | 14 ++++++++++++++
pyproject.toml | 2 +-
6 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/INSTALL b/INSTALL
index 6a8d3a78233..46c2411a9db 100644
--- a/INSTALL
+++ b/INSTALL
@@ -305,7 +305,7 @@ Those extras are available as regular core airflow extras -
they install optiona
# START CORE EXTRAS HERE
aiobotocore, apache-atlas, apache-webhdfs, async, cgroups, cloudpickle,
github-enterprise, google-
-auth, graphviz, kerberos, ldap, leveldb, otel, pandas, password, rabbitmq,
s3fs, sentry, statsd, uv
+auth, graphviz, kerberos, ldap, leveldb, otel, pandas, rabbitmq, s3fs, sentry,
statsd, uv
# END CORE EXTRAS HERE
diff --git a/airflow-core/docs/extra-packages-ref.rst
b/airflow-core/docs/extra-packages-ref.rst
index aac5be80b65..983292f1239 100644
--- a/airflow-core/docs/extra-packages-ref.rst
+++ b/airflow-core/docs/extra-packages-ref.rst
@@ -69,8 +69,6 @@ python dependencies for the provided package.
+---------------------+-----------------------------------------------------+----------------------------------------------------------------------------+
| pandas | ``pip install 'apache-airflow[pandas]'`` |
Install Pandas library compatible with Airflow |
+---------------------+-----------------------------------------------------+----------------------------------------------------------------------------+
-| password | ``pip install 'apache-airflow[password]'`` |
Password authentication for users |
-+---------------------+-----------------------------------------------------+----------------------------------------------------------------------------+
| rabbitmq | ``pip install 'apache-airflow[rabbitmq]'`` |
RabbitMQ support as a Celery backend |
+---------------------+-----------------------------------------------------+----------------------------------------------------------------------------+
| sentry | ``pip install 'apache-airflow[sentry]'`` |
Sentry service for application logging and monitoring |
diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index fdef4b34749..9d6faf7a730 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -222,10 +222,6 @@ dependencies = [
# In addition FAB also limit sqlalchemy to < 2.0
"pandas>=1.2.5,<2.2",
]
-"password" = [
- "bcrypt>=2.0.0",
- "flask-bcrypt>=0.7.1",
-]
"rabbitmq" = [
"amqp>=5.2.0",
]
diff --git a/contributing-docs/12_airflow_dependencies_and_extras.rst
b/contributing-docs/12_airflow_dependencies_and_extras.rst
index ee373bb726e..42b1536cec7 100644
--- a/contributing-docs/12_airflow_dependencies_and_extras.rst
+++ b/contributing-docs/12_airflow_dependencies_and_extras.rst
@@ -165,7 +165,7 @@ Those extras are available as regular core airflow extras -
they install optiona
.. START CORE EXTRAS HERE
aiobotocore, apache-atlas, apache-webhdfs, async, cgroups, cloudpickle,
github-enterprise, google-
-auth, graphviz, kerberos, ldap, leveldb, otel, pandas, password, rabbitmq,
s3fs, sentry, statsd, uv
+auth, graphviz, kerberos, ldap, leveldb, otel, pandas, rabbitmq, s3fs, sentry,
statsd, uv
.. END CORE EXTRAS HERE
diff --git a/newsfragments/48027.significant.rst
b/newsfragments/48027.significant.rst
new file mode 100644
index 00000000000..bdabd5d40e2
--- /dev/null
+++ b/newsfragments/48027.significant.rst
@@ -0,0 +1,14 @@
+``password`` extra has been removed
+
+Nothing is using the dependencies that are installed in the ``password`` extra
(``bcrypt`` and ``flask-bcrypt``), so the extra has been removed.
+
+* Types of change
+
+ * [ ] Dag changes
+ * [ ] Config changes
+ * [ ] API changes
+ * [ ] CLI changes
+ * [ ] Behaviour changes
+ * [ ] Plugin changes
+ * [x] Dependency changes
+ * [ ] Code interface changes
diff --git a/pyproject.toml b/pyproject.toml
index e71b685dc62..2dfeb5efc76 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -73,7 +73,7 @@ dynamic = ["version", "optional-dependencies", "dependencies"]
# START CORE EXTRAS HERE
#
# aiobotocore, apache-atlas, apache-webhdfs, async, cgroups, cloudpickle,
github-enterprise, google-
-# auth, graphviz, kerberos, ldap, leveldb, otel, pandas, password, rabbitmq,
s3fs, sentry, statsd, uv
+# auth, graphviz, kerberos, ldap, leveldb, otel, pandas, rabbitmq, s3fs,
sentry, statsd, uv
#
# END CORE EXTRAS HERE
#