UserWarning: pkg_resources is deprecated as an API. Pollination Component Run Error

See error message below.

  1. C:\Program Files\ladybug_tools\python\lib\site-packages\queenbee\cli_init_.py:11: UserWarning: pkg_resources is deprecated as an API. See Package Discovery and Resource Access using pkg_resources - setuptools 80.9.0 documentation. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import iter_entry_points

Hi @eheldridge,

Thank you for sharing this deprecation warning. This shouldn’t cause any issues in your workflow right now. We will update the library before the deprecation date.

Thanks for the quick response, however after running, the component threw this error and turned red, and there is no data being output. That error is the only info I could see to indicate what might be wrong. Is this error unrelated to the component not producing any data?

1 Like

Mikkel, can you have a look and see if you can recreate the issue? If that’s the case then we need to update the dependency sooner rather than later.

Hi all,

I just want to report that we are also having the same issue for another recipe.

  1. C:\Program Files\ladybug_tools\python\lib\site-packages\queenbee\cli_init_.py:11: UserWarning: pkg_resources is deprecated as an API.

Thanks,

Yes. This is happening for all the local runs. We have a new version of the Rhino plugin that will address this issue. We’re doing some internal testing and will release it later today or tomorrow.

3 Likes

We just released version 1.64.5, which should resolve this issue. Let us know otherwise. Thanks!

1 Like