You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "eladkal (via GitHub)" <gi...@apache.org> on 2026/04/14 19:11:11 UTC

Re: [I] Remove dependency on lockfile [airflow]

eladkal commented on issue #56769:
URL: https://github.com/apache/airflow/issues/56769#issuecomment-4246470254

   Good news [filelock](https://github.com/tox-dev/filelock) version 3.26.1 added native replacement.
   
   https://py-filelock.readthedocs.io/en/latest/tutorials.html#migrating-from-lockfile-pidlockfile
   
   we need to replace:
   
   **providers:**
   `providers/celery/src/airflow/providers/celery/cli/celery_command.py`
   `providers/edge3/src/airflow/providers/edge3/cli/signalling.py`
   `providers/edge3/src/airflow/providers/edge3/cli/worker.py`
   
   note: providers needs to add filelock to their `pyproject.toml`
   
   **core:**
   airflow-core/src/airflow/utils/process_utils.py
   
   When all changes are completed we can remove
   https://github.com/apache/airflow/blob/90deddd00c54b3f883f215a232fe1524e6f7236f/airflow-core/pyproject.toml#L110
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org