ssato / python-anyconfig

Python library provides common APIs to load and dump configuration files in various formats
MIT License
278 stars 31 forks source link

bug: Plugins are not compatible with the latest versions of anyconfig and these do not work well with it. #152

Open bswck opened 1 year ago

bswck commented 1 year ago

Frankly, I'd be happy to incorporate it into my library configzen. ION, MsgPack and ConfigObj backends are not loading because of backwards incompatibility with anyconfig. If you are planning to drop support on this one, please let me know, I'll then include this project in my library, continue its development, transfer issues from this issue tracker and fix any new bugs. Otherwise I'll be uploading fixes here, as PRs, using anyconfig as a standalone package. I just want to make sure that those would ever be reviewed. Last commit here was quite a long time ago.

Thanks!

ssato commented 1 year ago

Thanks for your feedback and questions.

You're right that some of the plugins are not up-to-date with anyconfig itself, sorry. I've been wanting to fix them but I didn't have enough time to fix them all.

I'll look into these plugins this weekend so please let me know if there are plugins you want to prioritize.

bswck commented 1 year ago

I'll look into these plugins this weekend so please let me know if there are plugins you want to prioritize.

Thanks for replying! If I were to prioritize, it would be ConfigObj > ION > MsgPack.

ssato commented 1 year ago
ssato commented 1 year ago

I think that these plugins now works with the latest anyconfig. Could you please check them?

bswck commented 1 year ago

I think that these plugins now works with the latest anyconfig. Could you please check them?

Msgpack, except all the rest, is not found when installed. To reproduce, install the latest version of anyconfig-msgpack-backend in a new environment and check anyconfig.list_types().

ssato commented 1 year ago

Thanks for your update info.

Could you please report that issue to https://github.com/ssato/python-anyconfig-msgpack-backend instead of this project?