pkg_resources is deprecated as an API
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start with site-packages/CyberSource/api_client.py at line 19 and inspect the pkg_resources import and its surrounding usage. Done means the client no longer produces the reported deprecation warning without pinning Setuptools below 81; verify the change with the project's available tests.
Written by the indexing model from the issue text.
Description
I'm getting the following warning.
Looks like we have until November 30th to remove the dependency pkg_resources.
site-packages/CyberSource/api_client.py:19: 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
- Dominant language
- Python
- Stars
- 24
- Forks
- 42
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CyberSource/cybersource-rest-client-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
CyberSource/cybersource-rest-client-python#177 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
CyberSource/cybersource-rest-client-python#168 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
CyberSource/cybersource-rest-client-python#156 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
CyberSource/cybersource-rest-client-python#143 · 1 comment ·
All issues in CyberSource/cybersource-rest-client-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-plugin-claude-subscription-directsdk#94 ·
Maintainers usually reply within 1 day
-
namespace operations
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EclipseFdn/open-vsx.org#13702 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
modelscope/ms-swift#10287 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
modelscope/FunASR#3757 ·
Maintainers usually reply within 1 day