Skip to content

Commit

Permalink
Update Pypi publish workflow to use Python 3.9 (#1638)
Browse files Browse the repository at this point in the history
Got this error while trying to publish in the workflow:

```
ERROR    InvalidDistribution: Invalid distribution metadata: license-expression 
         introduced in metadata version 2.4, not 2.1     
```

Might be caused by something else, but fixing the Python version to rule
it out.
  • Loading branch information
plypaul authored Jan 25, 2025
1 parent 78a0224 commit ac1bdf0
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-python-env/action.yaml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ inputs:
python-version:
description: "Version of Python to use for testing"
required: false
default: "3.8"
default: "3.9"

runs:
using: "composite"
2 changes: 1 addition & 1 deletion .github/workflows/cd-push-metricflow-to-pypi.yaml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+*"

env:
PYTHON_VERSION: "3.8"
PYTHON_VERSION: "3.9"

jobs:
pypi-publish:

0 comments on commit ac1bdf0

Please sign in to comment.