diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49cf2eda34a..f561d4cf271 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -152,7 +152,7 @@ jobs: strategy: fail-fast: false matrix: - tox-environment: [ "docker-tests", "lint" ] + tox-environment: [ "docker-tests"] name: ${{ matrix.tox-environment }} runs-on: ubuntu-latest steps: diff --git a/.gitignore b/.gitignore index 75cdf092930..5378aadb363 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ lib64 __pycache__ venv*/ .venv*/ +opentelemetry-python-contrib/ # Installer logs pip-log.txt diff --git a/eachdist.ini b/eachdist.ini index 076c8a4a4af..1b809374ad9 100644 --- a/eachdist.ini +++ b/eachdist.ini @@ -1,6 +1,9 @@ # These will be sorted first in that order. # All packages that are depended upon by others should be listed here. [DEFAULT] +ignore= + opentelemetry-python-contrib + sortfirst= opentelemetry-api opentelemetry-sdk diff --git a/scripts/eachdist.py b/scripts/eachdist.py index 724061690de..cfa1764ab37 100755 --- a/scripts/eachdist.py +++ b/scripts/eachdist.py @@ -309,6 +309,18 @@ def keyfunc(path): return float("inf") targets.sort(key=keyfunc) + if "ignore" in mcfg: + ignore = getlistcfg(mcfg["ignore"]) + + def filter_func(path): + path = path.relative_to(rootpath) + for pattern in ignore: + if path.match(pattern): + return False + return True + + filtered = filter(filter_func, targets) + targets = list(filtered) subglobs = getlistcfg(mcfg.get("subglob", "")) if subglobs: