-
Notifications
You must be signed in to change notification settings - Fork 613
Fetching Python version from Pipenv's Pipfile
#574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @kalrish! Thank you for reporting this! |
Thank you, @MaksimZhukov. If you decide to accept this feature, I would be glad to implement it for you, or at least try. In any case, I wish you a good start into the new year :). Take care! |
This would be a most welcome addition. |
Similar to this, [project]
requires-python = ">=3.11" |
Since #669 got merged, could work towards this be started? Would a PR be welcomed? |
Description:
The Python version to set up may be specified with the input
python-version-file
. As I submit this feature request, this input expects a file containing only the Python version, as used by pyenv. I propose that the feature be extended to support the TOML keyrequires.python_version
in Pipenv'sPipfile
.#542 has been submitted as a similar request for
pyproject.toml
, another file in TOML format.Justification:
Dependencies of Python apps not meant to be distributed are often managed with Pipenv, which is developed and maintained by the Python Packaging Authority (PyPA) and their documented tool. Pipenv allows to specify the oldest Python version the app requires in the
Pipfile
.The action
setup-node
, too, can load the Node.js version to set up from a variety of files. It, however, supports not just files containing only the Node.js version, like.nvmrc
and.node_version
, but also the structured format ofpackage.json
.Are you willing to submit a PR?
Yes, I am. If you want me to contribute the described functionality, please let me know of any preferences regarding TOML libraries.
The text was updated successfully, but these errors were encountered: