Skip to content

"Deprecated! since version 0.0.3. Please use scan_plugins_regex!" #16

Closed

Description

@chansdad

Receiving this warning when trying out the v2 example . Any suggestions on fixing it ?
$robotchef_v2 "Portable Battery"
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lml/loader.py:64: UserWarning: Deprecated! since version 0.0.3. Please use scan_plugins_regex!
"Deprecated! since version 0.0.3. Please use scan_plugins_regex!"
I can cook Portable Battery for robots

Regards

Activity

  1. chfw commented on Apr 3, 2019

    @chfw
    Collaborator

    Thanks for trying examples. Yes, can fix it.

  2. chansdad commented on Apr 3, 2019

    @chansdad
    Author

    while you fix this. i am looking to use lml in production with scan_plugins function. Main reason for using lml is lazy loading and how easily i can add plugin functionality ..

  3. chfw commented on Apr 3, 2019

    @chfw
    Collaborator

    to add a plugin is down to your design. lml provides a way to install, discover and load your plugin.

    Take pyexcel as an example, by default pyexcel provides csv, tsv read/write capability. To be able to read and write xlsx, you install pyexcel-xlsx.

  4. markp2 commented on May 11, 2019

    @markp2
  5. chfw commented on May 11, 2019

    @chfw
    Collaborator

    It is a fix in examples, not in the library itself so I didn’t give it a release. How did it affect you?

  6. markp2 commented on May 12, 2019

    @markp2

    I am using pyexcel.

    In file: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyexcel/internal/init.py

    At lIne 27:

    scan_plugins('pyexcel_', 'pyexcel', BLACK_LIST, WHITE_LIST)

  7. markp2 commented on May 12, 2019

    @markp2

    Apologies- looks like I was running an old [0.5.7] version of pyexcel. Upgrading to the latest 0.5.13 fixed this.

  8. chfw commented on May 12, 2019

    @chfw
    Collaborator

    Alright then

  9. KeithTt commented on Dec 8, 2021

    @KeithTt

    Apologies- looks like I was running an old [0.5.7] version of pyexcel. Upgrading to the latest 0.5.13 fixed this.

    I checked my package version, it is pyexcel==0.5.13, but I still face this problem.

  10. chfw commented on Dec 10, 2021

    @chfw
    Collaborator

    Please try 0.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions