Skip to content

Commit

Permalink
Speed up test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Aug 16, 2023
1 parent 02a08b6 commit 1ea9c69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
4 changes: 1 addition & 3 deletions opentelemetry-api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = []

[project]
name = "opentelemetry-api"
description = "OpenTelemetry Python API"
readme = "README.rst"
license = "Apache-2.0"
requires-python = ">=3.7"
authors = [
{ name = "OpenTelemetry Authors", email = "[email protected]" },
Expand Down
4 changes: 1 addition & 3 deletions opentelemetry-sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = []

[project]
name = "opentelemetry-sdk"
dynamic = ["version"]
description = "OpenTelemetry Python SDK"
readme = "README.rst"
license = "Apache-2.0"
requires-python = ">=3.7"
authors = [
{ name = "OpenTelemetry Authors", email = "[email protected]" },
Expand Down
4 changes: 1 addition & 3 deletions opentelemetry-semantic-conventions/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = []

[project]
name = "opentelemetry-semantic-conventions"
dynamic = ["version"]
description = "OpenTelemetry Semantic Conventions"
readme = "README.rst"
license = "Apache-2.0"
requires-python = ">=3.7"
authors = [
{ name = "OpenTelemetry Authors", email = "[email protected]" },
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,9 @@ changedir =

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

protobuf: pip install {toxinidir}/opentelemetry-proto

Expand Down

0 comments on commit 1ea9c69

Please sign in to comment.