If any #Python folk have a project that gets published to PyPI, and uses uv and tox, and has only a pyproject.toml (no setup.py or tox.ini), then I'd love to see it. Because it's taking me forever to work out how to do this, or if it's even possible.
=> More informations about this toot | More toots from philgyford@mastodon.social
It took me three afternoons, and a whole lot of frustration, to get this working. Now I have one very long configuration file rather than three shorter ones. Time well spent I'm sure.
=> More informations about this toot | More toots from philgyford@mastodon.social
@philgyford struck me to wonder what you'd done with this, while looking at https://github.com/tox-dev/tox-uv - is your artisanal config file shareable?
=> More informations about this toot | More toots from ultrazool@mastodon.scot
@ultrazool This is what I’ve ended up with. “Seems to work” is the minimal standard I was hoping to reach, so always open to suggestions for how to make it better https://github.com/philgyford/django-spectator/blob/main/pyproject.toml
=> More informations about this toot | More toots from philgyford@mastodon.social
@philgyford thank you for the link!
=> More informations about this toot | More toots from ultrazool@mastodon.scot
@ultrazool I've realised that the Python/Django matrices for tox testing aren't working properly for me using that pyproject.toml, and I'm not sure why yet. (If tests fail for, say, Python 3.11 and Django 5.1, then all other Django envs using Python 3.11 are marked as failing, even if they don’t.)
=> More informations about this toot | More toots from philgyford@mastodon.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini