8 Commits

Author SHA1 Message Date
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
3137c1fa41 Upgrade black (#802) 2021-11-10 20:57:01 +00:00
3a7eb5364c Make propagators conform to spec (#488)
* Make propagators conform to spec

* do not modify / set an invalid span in the passed context in case
  a propagator did not manage to extract
* in case no context is passed to propagator.extract assume the root
  context as default so that a new trace is started instead of continung
  the current active trace in case extraction fails
* fix also ot-trace propagator which compared int with str trace/span ids
  when checking for validity in extract
2021-05-31 09:35:28 -07:00
bdbc249ff0 Use traceflags object (#472) 2021-04-27 11:06:24 -07:00
d89f865221 Sync with Make setters and getters optional (#372) 2021-03-26 10:20:01 -07:00
2f088f8de0 Fix the empty headers use case for OTTracePropagator (#378) 2021-03-25 07:54:59 -07:00
10a448ee75 move textmap propagators to opentelemetry.propagators (#355) 2021-03-02 16:47:29 -08:00
269e0f4de3 Add OpenTracing propagator (#302) 2021-02-16 15:42:13 -08:00