-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move HoloViz projects from setup.py to pyproject.toml #106
Comments
I thought we'd already investigated this and had problems, but it looks like it was for an earlier incarnation of declarative files: holoviz/holoviz#154 . As that issue hints, maybe the toml version eliminates those limitations now that it's in wider use? In HoloViz we do love our declarative approaches, when they actually work! :-) |
Yes indeed things should be better at this point. Yet pyproject.toml isn't fully declarative, in the sense that there are still some fields that can/need to be computed dynamically. This is for instance the case for version, and we'll have to see if Probably trying to convert Panel from setup.py to pyproject.toml would give us enough insight. |
I had a brief look at this and will list here some difficulties to address:
|
Having to rely on a declarative file like pyproject.toml instead of on a Python module like setup.py will bring some advantages. It would for instance make it easier to collect the dependencies required by a package and convert them to an environment.yml file. A project like conda-lock has very good support for this file format.
The text was updated successfully, but these errors were encountered: