No response when running script containing bump2version
See original GitHub issuePrerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
Summary
Using Run: Start Without Debugging
to run a PowerShell script containing the bump2version
native command may be unresponsive, but running it in another way is perfectly fine.
PowerShell Version
Name Value
---- -----
PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visual Studio Code Version
1.60.1
83bd43bc519d15e50c4272c6cf5c1479df196a4d
x64
Extension Version
ms-vscode.powershell@2021.9.0
Steps to Reproduce
# main.ps1
bump2version
This bug involves the native command bump2version
, if you don’t have it installed, you can run the command pip install --upgrade bump2version
to install it.
Running main.ps1
with Run: Start Without Debugging
in VSCode will cause a longer unresponsiveness, but if you use the path of main.ps1
entered directly, this problem does not occur.
Visuals
Logs
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
bump2version fails to find the current release tag
bumping with bump2version to the next version. As you'll see, the command is missing the current version. The error in the workflow is:...
Read more >bump2version - PyPI
Version-bump your software with a single command! ... to be configured for one particular software package, you can run it without specifying options...
Read more >Developing hmf — hmf 3.3.5.dev0+gce6520b.d20210625 ...
Runs bump2version and updates the major , minor or patch part (passed like ./bump minor ) in the VERSION file. Updates the changelog...
Read more >Painlessly manage replicated version identification strings
The answer is: “the version identification string”. In our NuxtJS application deployed on a Kubernetes cluster with the help of Helm, ...
Read more >Automatic Semantic Versioning in GitLab CI - Three Dots Labs
I usually stick with Semantic Versioning, as it feels natural and it is ... The essential piece handling versioning is a script that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s very interesting to me that the programs we’re seeing problems with are all interpreted scripts. Both
hg.exe
andbump2version.exe
are Python scripts (executables that bundle the Python interpreter and the associated script), andexiftool.exe
is a Perl script bundled in the same manner. That is to say, they are not simply native executables. There seems to be a connection here but I haven’t quite figured it out.If it is simply not responding, then the problem is not too serious. More importantly, even if the operation has been stopped using
^c
, the corresponding folder will be occupied, and unless the whole program is restarted, it will be difficult to lift it, and the problem will be serious if you accidentally press the wrong button.Moreover, if this problem occurs in debug mode, it is impossible to run the script in vscode using the normal way, and it will all go into debug state.