UCL-ARC / python-tooling

Python package template for new research software projects
http://github-pages.arc.ucl.ac.uk/python-tooling/
MIT License
43 stars 2 forks source link

Adopt native TOML `tox` support #455

Closed paddyroddy closed 1 month ago

paddyroddy commented 1 month ago

Is Your Feature Request Related to a Problem? Please Describe

Following https://github.com/tox-dev/tox/issues/3353 https://github.com/ymyzk/tox-gh-actions/discussions/197, it will at some be possible to have full native TOML support. I tried this for now and couldn't get it to work, so we might need to wait a bit. This would involve removing the lecacy INI format.

Describe the Solution You'd Like

No response

Describe Alternatives You've Considered

No response

Additional Context

No response

gaborbernat commented 1 month ago

https://tox.wiki/en/4.21.0/config.html#pyproject-toml-native You should be able to do it all, in case you're running into problems, please feel free to tag me.

gaborbernat commented 1 month ago

Following tox-dev/tox#3353 ymyzk/tox-gh-actions#197,

Any reason why not use https://github.com/tox-dev/tox-gh instead? 😆

paddyroddy commented 1 month ago

@gaborbernat I have made a start on this and using tox-gh. I'm unsure of how to port the [gh] in the legacy_tox_ini section to TOML, https://github.com/astro-informatics/sleplet/pull/421

gaborbernat commented 1 month ago

https://github.com/tox-dev/tox-gh?tab=readme-ov-file#examples

paddyroddy commented 1 month ago

@gaborbernat got this working in #460 😄