This is an automated email from the ASF dual-hosted git repository.

utkarsharma pushed a commit to branch v2-9-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 800b63ad591dfbc221361eb78018f2c38db5289e
Author: Michael Robinson <[email protected]>
AuthorDate: Fri Jun 14 11:30:07 2024 -0400

    Add slightly more detailed guidance about upgrading to the docs (#40227)
    
    ---------
    
    Signed-off-by: merobi-hub <[email protected]>
    (cherry picked from commit 16b17f72531d87cd51f2b27ce9958a9b6be52be1)
---
 docs/apache-airflow/installation/upgrading.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/apache-airflow/installation/upgrading.rst 
b/docs/apache-airflow/installation/upgrading.rst
index fa972680fc..5ab8100287 100644
--- a/docs/apache-airflow/installation/upgrading.rst
+++ b/docs/apache-airflow/installation/upgrading.rst
@@ -57,6 +57,16 @@ when you choose to upgrade airflow via their UI.
 How to upgrade
 ==============
 
+Reinstall Apache Airflowâ„¢, specifying the desired new version.
+
+To upgrade a bootstrapped local instance, you can set the ``AIRFLOW_VERSION`` 
environment variable to the
+intended version prior to rerunning the installation command. Upgrade 
incrementally by patch version: e.g.,
+if upgrading from version 2.8.2 to 2.8.4, upgrade first to 2.8.3. For more 
detailed guidance, see
+:doc:`/start`.
+
+To upgrade a PyPI package, rerun the ``pip install`` command in your 
environment using the desired version
+as a constraint. For more detailed guidance, see 
:doc:`/installation/installing-from-pypi`.
+
 In order to manually migrate the database you should run the ``airflow db 
migrate`` command in your
 environment. It can be run either in your virtual environment or in the 
containers that give
 you access to Airflow ``CLI`` :doc:`/howto/usage-cli` and the database.

Reply via email to