Closed SMoraisAnsys closed 1 week ago
Which project is still not using pyproject.toml
?
Which project is still not using
pyproject.toml
?
I was mainly thinking about example repos, e.g. pymapdl-examples or pymechanical-examples.
I don't think we have other public repos without pyproject.toml
Fine in that case =)
Agreed to use pip by default.
At the moment there is no check on the existence of the
pyproject.toml
file in our doc build actions. However, this file is leveraged to decide which backend should be used in our CICD, see https://github.com/ansys/actions/blob/8643c5a882d18be06255fa8cc6e32bd9cc7e8cf1/_doc-build-linux/action.yml#L188 and https://github.com/ansys/actions/blob/8643c5a882d18be06255fa8cc6e32bd9cc7e8cf1/_doc-build-linux/action.yml#L198.If this is a requirement then we should put it somewhere in the documentation. If that's not the case then we should fix the current action to add this check. Note that this would help projects which have no
pyproject.toml
file, e.g. projects mainly composed of examples. Currently, I'm not sure that they are able to use thedoc-build
action.Note: speaking of projects without
pyproject.toml
file, we could usepip
as default backend in those cases. What do you think ?