Skip to content

Setup command - fix twine and docker#157

Merged
sverdlov93 merged 22 commits intomainfrom
setup-improvements
Sep 14, 2025
Merged

Setup command - fix twine and docker#157
sverdlov93 merged 22 commits intomainfrom
setup-improvements

Conversation

@sverdlov93
Copy link
Copy Markdown
Collaborator

@sverdlov93 sverdlov93 commented Sep 14, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • Appropriate label is added to auto generate release notes.
  • I used gofmt for formatting the code before submitting the pull request.
  • PR description is clear and concise, and it includes the proposed solution/fix.

also added informative errors

@sverdlov93 sverdlov93 requested a review from omerzi September 14, 2025 12:40
@sverdlov93 sverdlov93 added the safe to test Approve running integration tests on a pull request label Sep 14, 2025
@sverdlov93 sverdlov93 added the bug Something isn't working label Sep 14, 2025
@sverdlov93 sverdlov93 changed the title Setup command improvements - fix twine and docker Setup command - fix twine and docker Sep 14, 2025
…lity

- Add getAvailablePipExecutable() function to detect available pip executable (pip or pip3)
- Optimize RunConfigCommand to only use detection for pip build tool
- Add comprehensive tests for pip detection logic
- Fixes issue where systems with only pip3 would fail during pip config operations
The function was accidentally omitted in the previous commit due to git conflict.
Now properly implements pip/pip3 detection and optimized RunConfigCommand logic.
…tion

- Replace getAvailablePipExecutable() with generic getExecutable(buildTool)
- Move all build tool executable logic from RunConfigCommand to getExecutable()
- Use switch statement for extensible build tool handling
- Cleaner RunConfigCommand with single function call instead of if/else logic
- Add comprehensive tests for getExecutable with multiple build tools
- Better separation of concerns and easier future extensibility
@sverdlov93 sverdlov93 merged commit 4fa48a9 into main Sep 14, 2025
18 of 19 checks passed
@sverdlov93 sverdlov93 deleted the setup-improvements branch September 14, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants