Skip to content
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

fix: correct cmd to get python version for pipenv projects #244

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

gemaxim
Copy link
Contributor

@gemaxim gemaxim commented Jul 30, 2024

What does this PR do?

After #242.
Fixed command to check python version. For pipenv projects, it changes to pipenv, but we need the initial python or python3 to check python version with --version.
Python version is checked because setuptools need to be installed in case of python 3.12.

Added tests to simulate pipenv virtualenv, where pipenv install is performed and then inspect called.

@gemaxim gemaxim requested a review from a team as a code owner July 30, 2024 07:47
@gemaxim gemaxim self-assigned this Jul 30, 2024
@gemaxim gemaxim force-pushed the fix/fix-setuptools-install-pipenv branch from 7a47a39 to a6c4f9f Compare July 30, 2024 07:53
@gemaxim gemaxim merged commit 21ce344 into main Jul 30, 2024
23 checks passed
@gemaxim gemaxim deleted the fix/fix-setuptools-install-pipenv branch July 30, 2024 08:04
@snyksec
Copy link

snyksec commented Jul 30, 2024

🎉 This PR is included in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants