python-anyconfig icon indicating copy to clipboard operation
python-anyconfig copied to clipboard

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

Open johnslavik opened this issue 2 years ago • 6 comments

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!

johnslavik avatar Jun 28 '23 06:06 johnslavik

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.

ssato avatar Jul 04 '23 02:07 ssato

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.

johnslavik avatar Jul 04 '23 11:07 johnslavik

  • [x] configobj: Fix for ssato/python-anyconfig-configobj-backend#1 should resolve this.
  • [x] ion: Fix for ssato/python-anyconfig-ion-backend#1 should resolve this.
  • [x] msgpack: https://github.com/ssato/python-anyconfig-msgpack-backend/releases/tag/RELEASE_0.2.0
  • [x] bson: https://github.com/ssato/python-anyconfig-bson-backend/releases/tag/RELEASE_0.2.0
  • [x] cbor: https://github.com/ssato/python-anyconfig-cbor-backend/releases/tag/RELEASE_0.2.0
  • [x] cbor2: https://github.com/ssato/python-anyconfig-cbor2-backend/releases/tag/RELEASE_0.2.0
  • [x] fit: https://github.com/ssato/python-anyconfig-fit-backend/releases/tag/RELEASE_0.2.0
  • [x] json5: https://github.com/ssato/python-anyconfig-json5-backend/releases/tag/RELEASE_0.2.1

ssato avatar Jul 09 '23 06:07 ssato

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

ssato avatar Jul 15 '23 17:07 ssato

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().

johnslavik avatar Aug 16 '23 17:08 johnslavik

Thanks for your update info.

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

ssato avatar Aug 21 '23 01:08 ssato