-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Use traitlets
for our configuration.
#16476
Comments
Vendoring something that isn't actively developed indeed sounds worse than adding a dependency on a package that doesn't have any. |
Dependency.
Nothing can be promised, but it's been stable. And the config system in particular is stable because it's isolated: we would only use it for our config. |
Could switching to |
I think you are talking about gutting out something fundamental in |
Yes! Traitlets supports custom types. It's quite easy to do (https://traitlets.readthedocs.io/en/stable/defining_traits.html)
Yes.
🎉
There's two different uses:
Sadly, probably. |
What is the problem this feature will solve?
We currently bundle
configobj
with Astropy and use it to do our configuration. It's old, not well supported / actively developed, and doesn't do nice things like load configurations from JSON files.Describe the desired outcome
We replace
configobj
with traitlets, which is the IPython and Jupyter configuration system (but that depends on neither). It's stable, well-supported, actively developed, supports a lot of modern conveniences, and has 0 dependencies.Additional context
See the Design Requirements!
I wish our config system supported this.
The text was updated successfully, but these errors were encountered: