opentelemetry-python-contrib/opentelemetry-instrumentation/tests
Tom de Bruijn 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
..
__init__.py Add instrumentation and distro packages (#738) 2021-10-14 20:35:28 +00:00
test_bootstrap.py Fix install of Python 3.10 on GitHub Actions (#1609) 2023-02-03 08:37:24 +05:30
test_dependencies.py Sync with sdk setup from setUpClass to setUp (#1193) 2022-07-19 02:02:13 +05:30
test_distro.py Add instrumentation and distro packages (#738) 2021-10-14 20:35:28 +00:00
test_instrumentor.py Add instrumentation and distro packages (#738) 2021-10-14 20:35:28 +00:00
test_propagators.py Sync with sdk setup from setUpClass to setUp (#1193) 2022-07-19 02:02:13 +05:30
test_run.py Add instrumentation and distro packages (#738) 2021-10-14 20:35:28 +00:00
test_utils.py Flask sqlalchemy psycopg2 integration (#1224) 2022-09-08 20:18:27 +00:00