Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: DeprecationWarning: pkg_resources is deprecated as an API #11845

Open
waaldev opened this issue Dec 31, 2024 · 3 comments
Open

[BUG]: DeprecationWarning: pkg_resources is deprecated as an API #11845

waaldev opened this issue Dec 31, 2024 · 3 comments
Assignees
Labels

Comments

@waaldev
Copy link

waaldev commented Dec 31, 2024

Tracer Version(s)

2.18.1,1.18.0

Python Version(s)

3.13.1

Pip Version(s)

24.3.1

Bug Report

We are seeing deprecation error when install the ddtrace library.

Reproduction Code

pip install ddtrace

Error Logs

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Rust toolchain not found. Please install Rust from https://rustup.rs/
[end of output]

Libraries in Use

aioboto3==13.3.0
aiobotocore==2.16.0
aiofiles==24.1.0
aiohappyeyeballs==2.4.4
aiohttp==3.11.11
aioitertools==0.12.0
aiosignal==1.3.2
annotated-types==0.7.0
anyio==4.7.0
attrs==24.3.0
babel==2.16.0
beautifulsoup4==4.12.3
boto3==1.35.81
botocore==1.35.81
certifi==2024.12.14
charset-normalizer==3.4.1
courlan==1.3.2
dateparser==1.2.0
distro==1.9.0
frozenlist==1.5.0
greenlet==3.1.1
h11==0.14.0
htmldate==1.9.3
httpcore==1.0.7
httpx==0.28.1
idna==3.10
jiter==0.8.2
jmespath==1.0.1
JSON-log-formatter==1.1
jusText==3.0.1
lxml==5.3.0
lxml_html_clean==0.4.1
multidict==6.1.0
openai==1.58.1
playwright==1.49.1
propcache==0.2.1
pydantic==2.10.4
pydantic_core==2.27.2
pyee==12.0.0
python-dateutil==2.9.0.post0
pytz==2024.2
regex==2024.11.6
s3transfer==0.10.4
six==1.17.0
sniffio==1.3.1
soupsieve==2.6
tld==0.13
tqdm==4.67.1
trafilatura==2.0.0
typing_extensions==4.12.2
tzlocal==5.2
urllib3==2.3.0
wrapt==1.17.0
yarl==1.18.3

Operating System

Darwin 24.2.0 Darwin Kernel Version 24.2.0: arm64

@waaldev waaldev added the bug label Dec 31, 2024
@sanchda
Copy link
Contributor

sanchda commented Dec 31, 2024

👋 Hello, thank you for the report.

Building ddtrace from source requires a valid Rust (1.78 or later) toolchain. You'll need to install one before building.

On the other hand, we also do make darwin arm64 wheels available on pypi, so you could just install ddtrace through pip or a similar package manager.

@sanchda sanchda self-assigned this Dec 31, 2024
@RyPeck
Copy link

RyPeck commented Jan 2, 2025

@sanchda will you be added the darwin arm64 wheels to pypi for 3.13? I experienced this same issue on 3.13 but not 3.12.

@sanchda
Copy link
Contributor

sanchda commented Jan 2, 2025

@RyPeck Ah, that may be because this library doesn't yet support 3.13. See the latest comments in #11833 for release timeline and details (and a link to an RC which should have a 3.13-compatible darwin arm64 wheel).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants