potiuk commented on PR #58409:
URL: https://github.com/apache/airflow/pull/58409#issuecomment-3567145168
> @potiuk - nothing wrong with that, was just considering a scenario like
"what about on an old machine without python / uv / etc". I forgot that running
tasks is in main `airflow` CLI, though, not `airflowctl`, which limits the
effectiveness but this is still an interesting POC, IMO
o
I think `uv` is generally working **anywhere** and has way better coverage
of supported systems that `pyinstaller` can do.
Installing uv is **super** easy, and I think people still have misconception
about how difficult it is to run a modern version of python application/cli on
virtually **any** system. The main premise of `uv tool` is that it **just
works**. And you don't even think that about python version, venv, installing
package.
I **honstly** think that publishing your CLI package to `PyPI` and asking
your users - if you want to **easily** install things then go:
```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```
(or whatever your OS needs from
https://docs.astral.sh/uv/getting-started/installation/)
followed by
```bash
uv tool install YOUR_PACKAGE
```
Of course - that should also be paired with regular `pip install`
installation or maybe `pipx install` - for those who manage their own Python
and are more "experienced".
But adding `pyinstaller` and stuff to the mix only complicates things and
does not - eventually - make it easier even for casual non-python-profficient
users.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]