Skip to content

Commit

Permalink
Fix DistutilsOptionError (#571)
Browse files Browse the repository at this point in the history
Fix: #570

Solve the CI currently happening in all our branches:
```
File "/home/runner/work/astro-sdk/astro-sdk/.nox/type_check-3-8/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 301, in _ensure_previously_set
          raise OptionError(msg)
      distutils.errors.DistutilsOptionError: No configuration found for dynamic 'description'.
      Some dynamic fields need to be specified via `tool.setuptools.dynamic`
      others must be specified via the equivalent attribute in `setup.py`.
      [end of output]
```

Co-authored-by: @uranusjr
  • Loading branch information
tatiana committed Jul 26, 2022
1 parent 461e63e commit 9c7d7cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Expand Up @@ -36,6 +36,7 @@ jobs:
env:
MYPY_FORCE_COLOR: 1
TERM: xterm-color
SETUPTOOLS_USE_DISTUTILS: stdlib
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
Expand Down Expand Up @@ -124,6 +125,7 @@ jobs:
name: coverage${{ matrix.group }}
path: .coverage
env:
SETUPTOOLS_USE_DISTUTILS: stdlib
GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}
GOOGLE_APPLICATION_CREDENTIALS: /tmp/google_credentials.json
POSTGRES_HOST: postgres
Expand Down

0 comments on commit 9c7d7cc

Please sign in to comment.