Repository navigation
Add version parsing from Pipfile - #1067
v-HarithaVattikuti merged 5 commits into
Conversation
f387444 to
0fc6a29
Compare
commented
Jun 4, 2025
|
Hi @aradkdj, Thanks! |
0fc6a29 to
c44ab2e
Compare
commented
Jun 9, 2025
|
Hi @aradkdj, |
commented
Jun 10, 2025
|
Sure. I took a look at it and could not figure out why it's failing on CI but not on the unit tests. Any pointer would be appreciated |
commented
Jun 12, 2025
|
Hi @aradkdj, Since 'Pipenv' doesn't match 'Pipfile', the corresponding logic isn't triggered. Please update the file name to resolve the issue. |
c44ab2e to
e87e3e9
Compare
commented
Jun 13, 2025
|
Sorry I missed that. It should be fixed now |
commented
Jun 20, 2025
|
Hi @aradkdj, If you need any help interpreting the logs or fixing a specific error, feel free to share the error details here and we can assist further. |
commented
Jun 20, 2025
|
Merged and checked if the dist changes. But it didn't. If I understand the errors correctly they come from annotations about the installed |
commented
Jun 20, 2025
|
Hi @aradkdj, |
4302de9 to
9485ba7
Compare
9485ba7 to
ee0eb5b
Compare
ee0eb5b to
b62f6a8
Compare
commented
Jul 6, 2025
|
@mahabaleshwars this should be passing now. Sorry for the delay |
left a comment
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for parsing Python versions from a Pipfile via the python-version-file option.
- Introduces
getVersionInputFromPipfileFileand hooks it intogetVersionInputFromFile. - Updates docs and CI workflows to demonstrate and test Pipfile usage.
- Adds unit tests covering
python_version,python_full_version, and empty Pipfile cases.
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils.ts | Implement getVersionInputFromPipfileFile and integrate it |
| docs/advanced-usage.md | Document how to use Pipfile with python-version-file |
| tests/utils.test.ts | Add tests for Pipfile parsing scenarios |
| .github/workflows/test-python.yml | Add Pipfile-based setup jobs for python_version and python_full_version |
| .github/workflows/test-python-freethreaded.yml | Add equivalent Pipfile jobs in the freethreaded workflow |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Description:
Add version parsing from a Pipfile, passed through the
python-version-fileoption.Related issue:
#574
Check list: