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(pacmak/python): improve detection of twine #845

Merged
merged 2 commits into from
Oct 22, 2019

Conversation

RomainMuller
Copy link
Contributor

Attempt to check for twine using which, and only fall back to
pip3 show if that fails. This should hopefully improve detection in
contexts where a Python virtual environment is activated that does not
have twine installed in it, causing pip3 show to (presumably) not
see it.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Attempt to check for `twine` using `which`, and only fall back to
`pip3 show` if that fails. This should hopefully improve detection in
contexts where a Python virtual environment is activated that does not
have `twine` installed in it, causing `pip3 show` to (presumably) not
see it.
@RomainMuller RomainMuller requested a review from a team as a code owner October 2, 2019 17:34
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test?

@mergify
Copy link
Contributor

mergify bot commented Oct 22, 2019

Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it!

@mergify mergify bot added the pr/ready-to-merge This PR is ready to be merged. label Oct 22, 2019
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 2c4ef29 into master Oct 22, 2019
@mergify mergify bot deleted the rmuller/twine-detection branch October 22, 2019 10:07
@mergify mergify bot removed the pr/ready-to-merge This PR is ready to be merged. label Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants