tr11 / python-configuration

A Python library to load configuration parameters
https://tr11.github.io/python-configuration/
MIT License
84 stars 24 forks source link

[Investigation] Limitations of python-configuration that prevent others from adopting it. #53

Closed movermeyer closed 1 year ago

movermeyer commented 3 years ago

I've recently been writing a configuration-loading system for a new library. I was copying the system used by coverage-py. Now that I've stumbled upon python-configuration and I wonder if it might be a better solution.

I'm writing this issue to document what I've discovered, which might give ideas for the future direction of python-configuration.


coverage-py loads its configuration from a hierarchy of locations, including locations in some shared config files (eg. setup.cfg, tox.ini, pyproject.toml).

A few things make their config loading needs different from what ConfigurationSet currently offers:

See their documentation or the source for details.

chinghwayu commented 3 years ago

@tr11 , what are you plans on maintaining this library going forward?

@movermeyer , are you interested in forking and co-maintaining with myself if we don't hear back?

movermeyer commented 3 years ago

@chinghwayu Have you managed to hear back from @tr11 ? Let's not fork unless absolutely necessary.

Unfortunately, I don't have much time to help (I'm already committed to too many other projects right now). I could do some initial help to get things set up initially, but someone else would have to be the primary maintainer / coder.

chinghwayu commented 3 years ago

@movermeyer haven't heard back

tr11 commented 3 years ago

Hey guys, my apologies for the delay getting back to you. Things were a bit crazy at work, but I'm back at actively using and maintaining it.

chinghwayu commented 3 years ago

Great to have you back. Can you push out a release with the recent merges?

tr11 commented 3 years ago

Will do! Just need to figure out what's missing on the tests side now to get full coverage