Skip to content

pkg_resources warning #481

Description

@killcoder

Using UV to manage python (3.13) & python packages, the following warning is thrown for streamz

.venv\Lib\site-packages\streamz\plugins.py:3: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources

Inspecting the plugins file shows that it's the old version and does contain pkg_resources even though the latest version of streamz is installed

> uv pip list
...
streamz                 0.6.4
...

On two different computer, I've tried clearing the cache "uv cache clean " and deleting the .venv folder but the issue is still present once resync'd "uv sync" so it makes me think that its in the wheel and has nothing to do with uv.

Activity

  1. martindurant commented on Jun 24, 2025

    @martindurant
    Member

    The last release here was three years ago, so this is not surprising.

    We could mark the whole library as "archived", except I believe it might still be useful for some. In any case, it should be safe to ignore the warning.

  2. yohplala commented on Jun 24, 2025

    @yohplala

    Hi @martindurant ,
    I have just written this post on stackoverflow to ask for some advices on possible "simple" equivalent python library.
    Please, what would be your own advice?

  3. martindurant commented on Jun 24, 2025

    @martindurant
    Member

    I don't have an alternative.
    A simple way to async with complex logic and possibility to offload dataframes and/or dask.... streamz is great, but it just hasn't had much interest ever.

  4. yohplala commented on Jun 24, 2025

    @yohplala

    Thanks for your quick answer. No complaints here. I just come to it now, and yes, it seems great. My workflows may still be simple enough that I can handle them on my own if each task is encapsulated well enough. Thanks again!

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