58 Commits

Author SHA1 Message Date
85e21a9e22 Update version to 1.31.0.dev/0.52b0.dev (#3233) 2025-02-04 12:55:11 -08:00
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
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
490580d6f3 Update version to 1.30.0.dev/0.51b0.dev (#3092) 2024-12-12 11:17:53 +00:00
6c92f387aa Fix doc formatting issues (#3062)
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2024-12-05 13:53:21 +01:00
226258e457 Update version to 1.29.0.dev/0.50b0.dev (#2954) 2024-11-05 14:22:03 -08:00
0adc58b4bf Introducing ruff as linter and formatter (basic setup) (#2921) 2024-10-23 10:54:14 -07:00
e4ece57a81 Remove pkg resources (#2871) 2024-10-19 06:49:08 -07:00
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
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
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
265490fc78 kafka-python Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation (#2537)
* Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation

* Make kafkapython-ng run tests
2024-08-02 12:59:17 -06:00
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
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
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
bc4b0493b9 requirements: bump pytest to 7.4.4 (#2587) 2024-06-07 08:53:22 -07:00
0db9dbe311 Update version to 1.26.0.dev/0.47b0.dev (#2568) 2024-05-30 18:48:51 -07:00
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
24eadcf63d Update version to 1.25.0.dev/0.46b0.dev (#2376) 2024-03-28 14:25:18 -07:00
ab97e07eef Remove [test] package from kafka-python instrumentation (#2292)
Fixes #2205
2024-03-20 14:30:38 -06:00
d2d4561593 Update version to 1.24.0.dev/0.45b0.dev (#2262) 2024-02-23 10:13:21 -08:00
13ce910f14 Fix link to OpenTelemetry kafka-python Instrumentation (#2147)
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2024-02-04 09:26:49 +00:00
6c13a5eddc Drop support for 3.7 (#2152)
* Drop support for 3.7

Fixes #2151

* Remove 37
2024-02-03 11:57:08 -06:00
772063ca8a Update version to 1.23.0.dev/0.44b0.dev (#2091)
* Update version to 1.23.0.dev/0.44b0.dev

* Update core SHA

* Update generate

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-12-15 16:54:11 -06:00
5888d4ef95 Enable lint on CI and update deps (#2067)
* Fix black an isort

* change bootstrap_gen to use a list instead of dict

* Bunch of updates

* Fix build

* fix lint

* Fix docs

* Fix lint

* More fixes

* Fix lint

* fix stupid mistake

---------

Co-authored-by: Christian Hartung <christian.hartung@olist.com>
2023-11-21 10:25:11 +02:00
3b9d6264e2 Update version to 1.22.0.dev/0.43b0.dev (#2031)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-11-07 11:06:08 -06:00
4f6618324d Set schema_url on all tracers and meters (#1977) 2023-11-06 11:39:51 -08:00
54be1603dc Update version to 1.21.0.dev/0.42b0.dev (#1930)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-09-04 17:56:57 +00:00
cfdd4ae77f Update version to 1.20.0.dev/0.41b0.dev (#1885)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-07-13 16:42:32 +02:00
afd8428997 Update version to 1.19.0.dev/0.40b0.dev (#1797)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-05-17 10:47:58 -06:00
e4d8f10ecd Update version to 1.18.0.dev/0.39b0.dev (#1723) 2023-03-22 22:01:45 +05:30
482804451a Update version to 1.17.0.dev/0.38b0.dev (#1677)
* Update version to 1.17.0.dev/0.38b0.dev

* Update SHA

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-17 11:42:54 -06:00
78874df5c2 Fix install of Python 3.10 on GitHub Actions (#1609)
* Fix install of Python 3.10 on GitHub Actions

In PR #1604 the Python version was upgraded to Python 3.10 to fix a
local issue on M1 MacBooks.

The GitHub Action workflows now exit with the following message for the
docker-tests, spellcheck and lint checks, skipping these checks.

```
lint create: /home/runner/work/opentelemetry-python-contrib/opentelemetry-python-contrib/.tox/lint
SKIPPED: InterpreterNotFound: python3.10
___________________________________ summary ____________________________________
SKIPPED:  lint: InterpreterNotFound: python3.10
  congratulations :)
```

Upgrade the Python version in the GitHub Actions workflow to fix this.

* Fix YAML interpretation of Python 3.10

* Upgrade Docker tests dependencies

Upgrade the asyncpg and psycopg2 packages, they don't work on Python
3.10.

This also fixes running these tests no M1 MacBooks.

* Fix linter issues merged into main

They went unnoticed while the CI didn't fail on the lint task not
working.

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-03 08:37:24 +05:30
6d1550bb0b add python-kafka to docs (#1552) 2023-01-07 05:19:39 +00:00
0f2451be26 Update version to 1.16.0.dev/0.37b0.dev (#1485) 2022-12-10 04:03:22 +05:30
71781d3964 updating changelogs and version to 1.15.0-0.36b0 (#1482) 2022-12-10 02:33:51 +05:30
ffb995d28b opentelemetry-instrumentation-kafka-python: wait for metadata (#1260)
* fix kafka: wait for metadata

Kafka's instance metadata could be unavailable (because it's being filled asynchronously). extract_send_partition() is based on a metadata, so it may return `None` for partition and later cause all type of warning messages (e.g. `Invalid type NoneType for attribute value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types`).
The proposed fix makes sure metadata is pre-populated (based on 4d598055da/kafka/producer/kafka.py (L579)).
I'm just not sure if we should wrap `_wait_on_metadata` into try\except, maybe just passing Exception to the caller would be a better idea...

* upd: changelog

* fix: changelog

* fix: import KafkaErrors

* fix: tox -e lint errors

* fix: refact and added unit test

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-11-15 12:42:56 +00:00
af972a07a9 Create RELEASING.md, Update version to 1.15.0.dev/0.36b0.dev (#1429) 2022-11-03 13:26:58 -07:00
05e23cd280 [release/v1.14.x-0.35bx] Prepare release 1.14.0/0.35b0 (#1428) 2022-11-03 10:30:35 -07:00
5c67dee23d Change to use local dev versions (#1425) 2022-11-02 10:19:40 -07:00
38d384a2ae Add support for py3.11 (#1415) 2022-10-31 21:19:50 +00:00
b2923e02fa updating changelogs and version to 1.13.0-0.34b0 (#1352) 2022-09-27 03:12:18 +05:30
e80539cf6f Update package metadata opentelemetry-instrumentation-kafka-python (#1283) 2022-09-14 00:33:03 +05:30
3c24adf1b2 Fix broken links in package metadata (#1314) 2022-09-06 20:15:51 +00:00
03d97ffaf9 Remove support for 3.6 (#853) 2022-08-25 23:32:04 +05:30
7625b82dff Release 1.12.0-0.33b0 (#1223)
* Release 1.12.0-0.33b0

* Update API and SDK versions to 1.12
2022-08-09 21:32:17 +02:00
ee4083982f Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
100ecfeb08 updated type hints for getters and setters (#1106) 2022-05-29 06:02:14 +05:30
10659f8970 Release 1.12.0rc1-0.31b0 (#1094) 2022-05-17 13:18:55 -06:00
b6964ccf3a Release 1.11.1-0.30b1 (#1067) 2022-04-22 02:29:17 +05:30