I have to own this mistake: I'd have caught it if I run PyType on the
code base. Sorry again (for the second time in a few days).
I'd like to be able to execute at least the majority of checks locally
(lint, type checks, tests) with a few make commands, before submitting a
patch. Setting a working development venv is easy when using Poetry (or
uv, which I know less), for declaring runtime and development
dependencies. With TortoiseHg it is harder, probably because of
historical reasons and because the application is complex and has to be
supported on a variety of platforms. I am not sure we could easily
migrate to one of those tools.
Yes, the Heptapod CI helped, because it caught the problem at
least.
I'd be happy to streamline the "run everything locally and offline because I am in a transcontinental flight with no wifi" use case (at least on linux/unix); hopefully the CI runs could then become a generalization of that.
I have seen that there was a thread about setup.py in the
mercurial mailing list, but I still did not looked at the code.
I'll do it.
My story with Python packaging started with Poetry and
pyproject.toml; I know it well and maintain some project with it
myself. Conversely, I have no clue of the "imperative age" of
python packaging.
My sensation is that with TortoiseHg everything will be more difficult than the standard pure-python application, at least because of Qt{5,6}, PyQt, Scintilla, PyType with its strange requirement of a specific python version, and the complex incarnation needed for running PyTest.
We'll get there, eventually, won't we? :)
Antonio
--
You received this message because you are subscribed to the Google Groups "TortoiseHg Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thg-dev+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/thg-dev/23b7ba7f-2a60-4692-bb1c-6062dd75cb39n%40googlegroups.com.