Skip to content

Commit 1ea9c69

Browse files
committed
Speed up test execution
1 parent 02a08b6 commit 1ea9c69

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

opentelemetry-api/pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
requires = []
43

54
[project]
65
name = "opentelemetry-api"
76
description = "OpenTelemetry Python API"
87
readme = "README.rst"
9-
license = "Apache-2.0"
108
requires-python = ">=3.7"
119
authors = [
1210
{ name = "OpenTelemetry Authors", email = "[email protected]" },

opentelemetry-sdk/pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
requires = []
43

54
[project]
65
name = "opentelemetry-sdk"
76
dynamic = ["version"]
87
description = "OpenTelemetry Python SDK"
98
readme = "README.rst"
10-
license = "Apache-2.0"
119
requires-python = ">=3.7"
1210
authors = [
1311
{ name = "OpenTelemetry Authors", email = "[email protected]" },

opentelemetry-semantic-conventions/pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
requires = []
43

54
[project]
65
name = "opentelemetry-semantic-conventions"
76
dynamic = ["version"]
87
description = "OpenTelemetry Semantic Conventions"
98
readme = "README.rst"
10-
license = "Apache-2.0"
119
requires-python = ">=3.7"
1210
authors = [
1311
{ name = "OpenTelemetry Authors", email = "[email protected]" },

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,9 @@ changedir =
125125

126126
commands_pre =
127127
; Install without -e to test the actual installation
128-
py3{7,8,9,10,11}: python -m pip install -U pip setuptools wheel
129128
; Install common packages for all the tests. These are not needed in all the
130129
; cases but it saves a lot of boilerplate in this file.
131-
opentelemetry: pip install {toxinidir}/opentelemetry-api {toxinidir}/opentelemetry-semantic-conventions {toxinidir}/opentelemetry-sdk {toxinidir}/tests/opentelemetry-test-utils
130+
opentelemetry: pip install --no-deps --no-build-isolation -e {toxinidir}/opentelemetry-sdk
132131

133132
protobuf: pip install {toxinidir}/opentelemetry-proto
134133

0 commit comments

Comments
 (0)