Skip to content

pkg_resources warning #481

@killcoder

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.

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