pkg_resources warning

Open
#481 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by inspecting streamz/plugins.py in the installed 0.6.4 package and reproduce the pkg_resources warning with Python 3.13 under uv. Check how the plugin entry point is loaded and verify the installed wheel; done means a supported installation no longer emits this deprecation warning.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
1.3k
Forks
149
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-streamz/streamz

All issues in python-streamz/streamz

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.