pkg_resources warning

Đang mở
#481 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
stream-processing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
1.3k
Fork
149
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-streamz/streamz

Tất cả issue của python-streamz/streamz

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.