question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DeprecationWarning: `formatargspec` is deprecated since Python 3.5

See original GitHub issue

Description

.venv/lib/python3.8/site-packages/newrelic/console.py:84: 18 warnings
  /opt/.venv/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
    prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(

Expected Behavior

No deprecation warning.

Your Environment

Python 3.8.5, New Relic agent 5.20.0.149.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

7reactions
mwgamblecommented, Apr 20, 2021

Please re-open this. This issue was not stale and needs attention from the maintainers.

1reaction
Thargelioncommented, Sep 6, 2022

For future reference, this issue has been fixed by newrelic: https://docs.newrelic.com/docs/release-notes/agent-release-notes/python-release-notes/python-agent-60402159/

Version: 6.4.2.159

Read more comments on GitHub >

github_iconTop Results From Across the Web

`formatargspec` is deprecated since Python 3.5. Use ... - GitHub
DeprecationWarning : formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly #50911.
Read more >
Replace inspect.formatargspec by inspect.signature in xmlrpc ...
xmlrpc still makes use of formatargspec which is deprecated since Python 3.5 and raises a deprecation warning: DeprecationWarning: ...
Read more >
Using Python Console with "-Wa" raises "DeprecationWarning
Configure Python Console to use Interpreter Flag -Wa (I supplied my whole config, ... DeprecationWarning: `formatargspec` is deprecated since Python 3.5.
Read more >
Octoprint 1.8.6 startup fails on Python 3.11 re formatargspec
A quick web search yielded: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly.
Read more >
DeprecationWarnings for formatargspec and collections in ...
DeprecationWarning : 'formatargspec' is deprecated since Python 3.5. Use 'signature' and the 'Signature' object directly.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found