Skip to content

Commit b25a9e4

Browse files
committed
Disable pypy since shapely fails to compile its native extension
1 parent 6a8878d commit b25a9e4

File tree

4 files changed

+75
-109
lines changed

4 files changed

+75
-109
lines changed

.github/workflows/test_0.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -412,42 +412,6 @@ jobs:
412412
- name: Run tests
413413
run: tox -e py312-test-instrumentation-vertexai-v2-1 -- -ra
414414

415-
pypy3-test-instrumentation-vertexai-v2-0_ubuntu-latest:
416-
name: instrumentation-vertexai-v2-0 pypy-3.8 Ubuntu
417-
runs-on: ubuntu-latest
418-
steps:
419-
- name: Checkout repo @ SHA - ${{ github.sha }}
420-
uses: actions/checkout@v4
421-
422-
- name: Set up Python pypy-3.8
423-
uses: actions/setup-python@v5
424-
with:
425-
python-version: "pypy-3.8"
426-
427-
- name: Install tox
428-
run: pip install tox
429-
430-
- name: Run tests
431-
run: tox -e pypy3-test-instrumentation-vertexai-v2-0 -- -ra
432-
433-
pypy3-test-instrumentation-vertexai-v2-1_ubuntu-latest:
434-
name: instrumentation-vertexai-v2-1 pypy-3.8 Ubuntu
435-
runs-on: ubuntu-latest
436-
steps:
437-
- name: Checkout repo @ SHA - ${{ github.sha }}
438-
uses: actions/checkout@v4
439-
440-
- name: Set up Python pypy-3.8
441-
uses: actions/setup-python@v5
442-
with:
443-
python-version: "pypy-3.8"
444-
445-
- name: Install tox
446-
run: pip install tox
447-
448-
- name: Run tests
449-
run: tox -e pypy3-test-instrumentation-vertexai-v2-1 -- -ra
450-
451415
py38-test-resource-detector-container_ubuntu-latest:
452416
name: resource-detector-container 3.8 Ubuntu
453417
runs-on: ubuntu-latest
@@ -4515,3 +4479,39 @@ jobs:
45154479

45164480
- name: Run tests
45174481
run: tox -e pypy3-test-instrumentation-mysql-0 -- -ra
4482+
4483+
pypy3-test-instrumentation-mysql-1_ubuntu-latest:
4484+
name: instrumentation-mysql-1 pypy-3.8 Ubuntu
4485+
runs-on: ubuntu-latest
4486+
steps:
4487+
- name: Checkout repo @ SHA - ${{ github.sha }}
4488+
uses: actions/checkout@v4
4489+
4490+
- name: Set up Python pypy-3.8
4491+
uses: actions/setup-python@v5
4492+
with:
4493+
python-version: "pypy-3.8"
4494+
4495+
- name: Install tox
4496+
run: pip install tox
4497+
4498+
- name: Run tests
4499+
run: tox -e pypy3-test-instrumentation-mysql-1 -- -ra
4500+
4501+
py38-test-instrumentation-mysqlclient_ubuntu-latest:
4502+
name: instrumentation-mysqlclient 3.8 Ubuntu
4503+
runs-on: ubuntu-latest
4504+
steps:
4505+
- name: Checkout repo @ SHA - ${{ github.sha }}
4506+
uses: actions/checkout@v4
4507+
4508+
- name: Set up Python 3.8
4509+
uses: actions/setup-python@v5
4510+
with:
4511+
python-version: "3.8"
4512+
4513+
- name: Install tox
4514+
run: pip install tox
4515+
4516+
- name: Run tests
4517+
run: tox -e py38-test-instrumentation-mysqlclient -- -ra

.github/workflows/test_1.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,6 @@ env:
1616

1717
jobs:
1818

19-
pypy3-test-instrumentation-mysql-1_ubuntu-latest:
20-
name: instrumentation-mysql-1 pypy-3.8 Ubuntu
21-
runs-on: ubuntu-latest
22-
steps:
23-
- name: Checkout repo @ SHA - ${{ github.sha }}
24-
uses: actions/checkout@v4
25-
26-
- name: Set up Python pypy-3.8
27-
uses: actions/setup-python@v5
28-
with:
29-
python-version: "pypy-3.8"
30-
31-
- name: Install tox
32-
run: pip install tox
33-
34-
- name: Run tests
35-
run: tox -e pypy3-test-instrumentation-mysql-1 -- -ra
36-
37-
py38-test-instrumentation-mysqlclient_ubuntu-latest:
38-
name: instrumentation-mysqlclient 3.8 Ubuntu
39-
runs-on: ubuntu-latest
40-
steps:
41-
- name: Checkout repo @ SHA - ${{ github.sha }}
42-
uses: actions/checkout@v4
43-
44-
- name: Set up Python 3.8
45-
uses: actions/setup-python@v5
46-
with:
47-
python-version: "3.8"
48-
49-
- name: Install tox
50-
run: pip install tox
51-
52-
- name: Run tests
53-
run: tox -e py38-test-instrumentation-mysqlclient -- -ra
54-
5519
py39-test-instrumentation-mysqlclient_ubuntu-latest:
5620
name: instrumentation-mysqlclient 3.9 Ubuntu
5721
runs-on: ubuntu-latest
@@ -4515,3 +4479,39 @@ jobs:
45154479

45164480
- name: Run tests
45174481
run: tox -e py310-test-instrumentation-asyncio -- -ra
4482+
4483+
py311-test-instrumentation-asyncio_ubuntu-latest:
4484+
name: instrumentation-asyncio 3.11 Ubuntu
4485+
runs-on: ubuntu-latest
4486+
steps:
4487+
- name: Checkout repo @ SHA - ${{ github.sha }}
4488+
uses: actions/checkout@v4
4489+
4490+
- name: Set up Python 3.11
4491+
uses: actions/setup-python@v5
4492+
with:
4493+
python-version: "3.11"
4494+
4495+
- name: Install tox
4496+
run: pip install tox
4497+
4498+
- name: Run tests
4499+
run: tox -e py311-test-instrumentation-asyncio -- -ra
4500+
4501+
py312-test-instrumentation-asyncio_ubuntu-latest:
4502+
name: instrumentation-asyncio 3.12 Ubuntu
4503+
runs-on: ubuntu-latest
4504+
steps:
4505+
- name: Checkout repo @ SHA - ${{ github.sha }}
4506+
uses: actions/checkout@v4
4507+
4508+
- name: Set up Python 3.12
4509+
uses: actions/setup-python@v5
4510+
with:
4511+
python-version: "3.12"
4512+
4513+
- name: Install tox
4514+
run: pip install tox
4515+
4516+
- name: Run tests
4517+
run: tox -e py312-test-instrumentation-asyncio -- -ra

.github/workflows/test_2.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,6 @@ env:
1616

1717
jobs:
1818

19-
py311-test-instrumentation-asyncio_ubuntu-latest:
20-
name: instrumentation-asyncio 3.11 Ubuntu
21-
runs-on: ubuntu-latest
22-
steps:
23-
- name: Checkout repo @ SHA - ${{ github.sha }}
24-
uses: actions/checkout@v4
25-
26-
- name: Set up Python 3.11
27-
uses: actions/setup-python@v5
28-
with:
29-
python-version: "3.11"
30-
31-
- name: Install tox
32-
run: pip install tox
33-
34-
- name: Run tests
35-
run: tox -e py311-test-instrumentation-asyncio -- -ra
36-
37-
py312-test-instrumentation-asyncio_ubuntu-latest:
38-
name: instrumentation-asyncio 3.12 Ubuntu
39-
runs-on: ubuntu-latest
40-
steps:
41-
- name: Checkout repo @ SHA - ${{ github.sha }}
42-
uses: actions/checkout@v4
43-
44-
- name: Set up Python 3.12
45-
uses: actions/setup-python@v5
46-
with:
47-
python-version: "3.12"
48-
49-
- name: Install tox
50-
run: pip install tox
51-
52-
- name: Run tests
53-
run: tox -e py312-test-instrumentation-asyncio -- -ra
54-
5519
py38-test-instrumentation-cassandra_ubuntu-latest:
5620
name: instrumentation-cassandra 3.8 Ubuntu
5721
runs-on: ubuntu-latest

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ envlist =
1313

1414
; instrumentation-vertexai
1515
py3{8,9,10,11,12}-test-instrumentation-vertexai-v2-{0,1}
16-
pypy3-test-instrumentation-vertexai-v2-{0,1}
16+
# Disable pypy which fails in CI because shapely does not have wheels for PyPI and requires
17+
# some C libraries
18+
## pypy3-test-instrumentation-vertexai-v2-{0,1}
1719
lint-instrumentation-vertexai-v2
1820

1921
; opentelemetry-resource-detector-container

0 commit comments

Comments
 (0)