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

potiuk 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 ca13c7b77e Update comment for editable installs wrt setuptools (#32090)
ca13c7b77e is described below

commit ca13c7b77ea0e7d37bfe893871bab565d26884d0
Author: Pankaj Koti <[email protected]>
AuthorDate: Fri Jun 23 15:42:45 2023 +0530

    Update comment for editable installs wrt setuptools (#32090)
---
 pyproject.toml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index d2aa3ec1fc..bdddc5610c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,11 +17,13 @@
 [tool.black]
 line-length = 110
 target-version = ['py37', 'py38', 'py39', 'py310']
-# The build system section is needed in order to workaround the side-effect 
introduced by recent
-# setup tools version. The recent setuptools version update (64.0.0) broke 
paths of editable installations
-# and we have to pin it to 63.4.3 version
-# The problem is tracked (and this limitation might be removed if it is 
solved) in:
-# https://github.com/pypa/setuptools/issues/3548
+
+# Editable installs are currently broken using setuptools 64.0.0 and above. 
The problem is tracked in
+# https://github.com/pypa/setuptools/issues/3548. We're also discussing how we 
could potentially fix
+# this problem on our end in issue 
https://github.com/apache/airflow/issues/30764. Until then we need
+# to use one of the following workarounds locally for editable installs:
+# 1) Pin setuptools <= 63.4.3 below in the [build-system] section.
+# 2) Include your airflow source code directory in PYTHONPATH.
 [build-system]
 requires = ['setuptools==67.2.0']
 build-backend = "setuptools.build_meta"

Reply via email to