Thanks for maintaining the project and considering my idea 🙂
Description:
Allowing the action to accept comma-separated lists of Python versions would enhance the user experience if the versions are passed dynamically, as an output from another job.
Justification:
Assume I would like to define multiple Python versions dynamically, e.g., by using a script get_python_versions.py that parses the pyproject.toml file (let us say, from classifiers or requires-python). The script prints the \n-separated list of strings to terminal:
Thanks for maintaining the project and considering my idea 🙂
Description: Allowing the action to accept comma-separated lists of Python versions would enhance the user experience if the versions are passed dynamically, as an output from another job.
Justification: Assume I would like to define multiple Python versions dynamically, e.g., by using a script
get_python_versions.py
that parses thepyproject.toml
file (let us say, fromclassifiers
orrequires-python
). The script prints the\n
-separated list of strings to terminal:Then I would like to use the script's output in the action. Since the action accepts newline-separated lists only, I have to do the following:
This works nicely. But... Now assume that the script returns a comma-separated list:
If comma-separated lists were allowed as the action's input, the
python-versions
step would be more concise and less verbose:Are you willing to submit a PR?
I'm not familiar with Node/JS, so I'm not sure whether I am capable of opening a PR.