Ancestors

Written by Phil Gyford on 2025-01-07 at 12:14

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

Toot

Written by Phil Gyford on 2025-01-09 at 18:01

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

Descendants

Written by Jo Walsh on 2025-01-16 at 13:27

@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

Written by Phil Gyford on 2025-01-16 at 14:26

@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

Written by Jo Walsh on 2025-01-16 at 14:55

@philgyford thank you for the link!

=> More informations about this toot | More toots from ultrazool@mastodon.scot

Written by Phil Gyford on 2025-01-17 at 14:38

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113799704222487498
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
266.288575 milliseconds
Gemini-to-HTML Time
1.303442 milliseconds

This content has been proxied by September (ba2dc).