Marcelo Trylesinski
07c97eac38
Add type hints to `psycopg` ( #3067 )
...
* Add type hints to Psycopg
* fix tests
* fix
* Add psycopg.Connection to nitpick
* Add py.typed
* add psycopg to nitpick again
* add psycopg to nitpick again
* move py.typed to the right folder
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2025-01-15 16:30:01 +00:00
Tammy Baylis
8406e2e789
DB drivers: db.statement inclusion of sqlcomment as opt-in ( #3121 )
...
* db-api opt-in for enable_attribute_commenter
* Refactor db-api traced_execution
* Changelog
* Update comment
* psycopg(2), mysqlclient, pymysql support enable_attribute_commenter
* Changelog
2025-01-13 10:40:43 +01:00
Emídio Neto
54882871b9
add official support to Python 3.13 ( #3134 )
...
* add py313 to tox
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix wrong identation troveclassifiers
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix pyramid, django
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix httpx
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix httpx, grpc and add vertex
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* generate-workflows
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix generate-workflows
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix celery and psycopg
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* add changelog
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* Update CHANGELOG.md
* Update tox.ini
---------
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-12-31 16:08:20 +00:00
Emídio Neto
375eb6f2cc
psycopg: bump versions in test-requirements to support py313 ( #3147 )
...
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-12-24 13:47:18 +00:00
Beijie Zhang
1092344918
Add docstring for instrument_connection() and tests for database drivers ( #3108 )
2024-12-20 12:24:46 -08:00
Andrea Galbusera
54cbf59aae
Update package metadata adding "Repository" to project urls ( #3119 )
...
Add "Repository" label to project urls pointing to the
opentelemetry-python repo root url.
Having within project urls one entry with the same value for all
packages released by the project will help tools for automatic
dependency management to suggest coherent upgrades for related packages.
2024-12-19 10:15:58 +00:00
OpenTelemetry Bot
490580d6f3
Update version to 1.30.0.dev/0.51b0.dev ( #3092 )
2024-12-12 11:17:53 +00:00
Tammy Baylis
5c5fc732fb
Replace assertEqualSpanInstrumentationInfo with assertEqualSpanInstrumentationScope ( #3037 )
...
* Replace assertInstInfo with assertInstScope
* Update Changelog
* Fix order of other changelog entries
2024-11-22 09:32:04 +01:00
OpenTelemetry Bot
226258e457
Update version to 1.29.0.dev/0.50b0.dev ( #2954 )
2024-11-05 14:22:03 -08:00
Emídio Neto
0adc58b4bf
Introducing ruff as linter and formatter (basic setup) ( #2921 )
2024-10-23 10:54:14 -07:00
Riccardo Magliocchetti
e4ece57a81
Remove pkg resources ( #2871 )
2024-10-19 06:49:08 -07:00
Anton Pirker
f8bb28928c
Update test requirements for work with Python 3.13 ( #2887 )
...
* Added deb to make cassandra tests work with python 3.13
* Bumped cffi to work with Python 3.13
* Fixed some test-requirements for Python 3.13
* Updated typing_extensions everywhere
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2024-09-26 08:52:02 +02:00
Emídio Neto
40c3363e9d
bump asgiref to 3.8.1 in test-requirements ( #2841 )
...
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-09-03 13:28:53 -06:00
OpenTelemetry Bot
ee67ea8ba5
Update version to 1.28.0.dev/0.49b0.dev ( #2828 )
...
* Update version to 1.28.0.dev/0.49b0.dev
* Update core SHA
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-08-28 15:20:37 -06:00
OpenTelemetry Bot
68b20f96c5
Update version to 1.27.0.dev/0.48b0.dev ( #2728 )
...
* Update version to 1.27.0.dev/0.48b0.dev
* Update SHA and fix test cases
* Update SHA
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-07-24 21:18:49 -06:00
Riccardo Magliocchetti
15fd1de93f
Bump certifi and zipp ( #2689 )
...
* requirements: bump zipp to 3.19.2
To resolve a dependabot securiy report.
* requirements: bump certifi to 2024.7.4
To resolve a dependabot security report.
2024-07-10 09:24:05 -06:00
Diego Hurtado
75faaad986
Remove unnecessary dependencies ( #2663 )
...
* Remove unnecessary dependencies
Fixes #2661
* Separate runs
* Remove dev-requirements from test environment
* Try without negative if
* Remove positive if
* Remove if
* Separate benchmark-containing packages in another file
* Add missing test-requirements.txt file
2024-07-04 16:04:53 -06:00
Hollis Wu
90211489a3
Handle empty statement in psycopg instrumentation ( #2644 )
2024-07-02 09:05:41 -07:00
Riccardo Magliocchetti
ab0ea0e0f9
Add support for python 3.12 ( #2572 )
2024-06-10 12:49:10 -07:00
Riccardo Magliocchetti
bc4b0493b9
requirements: bump pytest to 7.4.4 ( #2587 )
2024-06-07 08:53:22 -07:00
Riccardo Magliocchetti
95fea2bfa7
Fix running async psycopg tests ( #2540 )
2024-06-05 11:14:44 -07:00
OpenTelemetry Bot
0db9dbe311
Update version to 1.26.0.dev/0.47b0.dev ( #2568 )
2024-05-30 18:48:51 -07:00
Riccardo Magliocchetti
e6409568c1
Reenable pylint broad exception ( #2536 )
2024-05-24 11:12:53 -07:00
Severin Neumann
7f4853ac79
fix: revert modifications to Apache license ( #2429 )
...
* fix: revert modifications to Apache license
See open-telemetry/community#2056 for background
* path all LICENSE files
Signed-off-by: svrnm <neumanns@cisco.com>
* Fix missing LICENSE files
---------
Signed-off-by: svrnm <neumanns@cisco.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-04-22 13:23:38 -05:00
OpenTelemetry Bot
24eadcf63d
Update version to 1.25.0.dev/0.46b0.dev ( #2376 )
2024-03-28 14:25:18 -07:00
Diego Hurtado
a892b0b0f3
Remove [test] package from psycopg instrumentation ( #2309 )
...
Fixes #2308
2024-03-21 13:49:38 -06:00
Markus
1b68fdc8c8
Psycopg3 sync and async instrumentation ( #2146 )
2024-03-19 11:24:25 -07:00
Federico Bond
8daa8ad481
Add instrumentation for Psycopg 3.x ( #2123 )
...
* Add instrumentation for Psycopg 3.x
* Add federicobond to component_owners.yml
2024-02-24 19:35:25 +00:00