You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Create virtualenv and install dependencies
39
+
- name: Determine Python version string for PDM
40
40
run: |
41
-
pdm python install ${{ matrix.python-version }}
41
+
TARGET_PYTHON_VERSION_FOR_PDM=$( python -c 'import sys; v = sys.argv[1]; print(v if "-" not in v else v.replace("-", "@"))' ${{ matrix.python-version }} )
42
+
# We need this hack at all because CI expects e.g. "pypy-3.10", whereas PDM expects "[email protected]".
43
+
# Now that we have the result, send it to an environment variable so that the next step can use it.
0 commit comments