elastic / apm-agent-python

Official Python agent for Elastic APM
https://www.elastic.co/guide/en/apm/agent/python/current/index.html
BSD 3-Clause "New" or "Revised" License
403 stars 212 forks source link

New release for apm-agent-python with python 3.12 #2043

Closed timostrunk closed 1 week ago

timostrunk commented 2 weeks ago

Is your feature request related to a problem? Please describe. After the wrapt-dependency was relaxed a new release is required to allow downstream to solve for environments with the new wrapt. Currently this blocks our python 3.12 rollout, because the conda-forge package pins < 1.15.0 and there is no 1.14.1 release for python 3.12. The official support for python 3.12 in wrapt started with 1.16: https://github.com/GrahamDumpleton/wrapt/commit/bc3529c95ba9ade3876a25ca2c3280b799531eb2

Describe the solution you'd like Could a new point release be made soon?

Describe alternatives you've considered I though of simply trying to ask in the conda-forge feedstock, whether we could relax the wrapt dependency as-is, but a new point release would be the much cleaner solution.

xrmx commented 2 weeks ago

I would like to try to sort out #2041 before cutting a new release. I'll try to cut a new release next week.

timostrunk commented 2 weeks ago

Awesome thank you!

fxdgear commented 2 weeks ago

related to wrapt I noticied this error but didn't report it.

We use sqllite and a tool called sqlite-backup to do some sqlite db backups. It runs in an async loop on a periodic basis.

But when the back up function tries to run it errors with: TypeError: backup() argument 1 must be sqlite3.Connection, not SQLiteConnectionProxy

In order to get around it we had to SKIP_INSTRUMENT_SQLITE=true to our env vars.

xrmx commented 1 week ago

Released 6.22.2