You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was among the first thing I started working on when making the v6 branch originally, so I rewrote setup.py to work on newer python versions and using setup.cfg, but since then the community decided to go with PEP-517 and pyproject.toml instead.
Optional: Investigate / use Meson and meson-python instead of setuptools? See for example https://github.com/GNOME/meld (or any other Gnome Python app)
Optional: Store the version (and gi_versions?) in setup.toml (see wip: build system refactoring draft #1312 or use importlib.metadata (py3.8+) to import the version (pkg_resources.get_distribution('ulauncher').version) only (better way imo)
Poetry has a PEP 517 build back-end (poetry-core), but it is not PEP 621 compliant (not pyproject.toml), and Poetry also comes with a lot of dependencies, and they did do that weird breaking change in 1.2, where it threw an error 5% of the time intentionally in CI, so I am very reluctant to become dependent on poetry.
The text was updated successfully, but these errors were encountered:
Description
This was among the first thing I started working on when making the v6 branch originally, so I rewrote setup.py to work on newer python versions and using setup.cfg, but since then the community decided to go with PEP-517 and pyproject.toml instead.
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
https://drivendata.co/blog/python-packaging-2023
Sub tasks:
pkg_resources.get_distribution('ulauncher').version
) only (better way imo)Poetry has a PEP 517 build back-end (poetry-core), but it is not PEP 621 compliant (not pyproject.toml), and Poetry also comes with a lot of dependencies, and they did do that weird breaking change in 1.2, where it threw an error 5% of the time intentionally in CI, so I am very reluctant to become dependent on poetry.
The text was updated successfully, but these errors were encountered: