Skip to content

Require version in tools installed by pip #1242

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

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/autoit-ripper.vm/autoit-ripper.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>autoit-ripper.vm</id>
<version>0.0.0.20240607</version>
<version>1.1.2</version>
<authors>Michał Praszmo</authors>
<description>Extracts compiled AutoIt scripts from PE executables.</description>
<dependencies>
Expand Down
3 changes: 2 additions & 1 deletion packages/autoit-ripper.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ Import-Module vm.common -Force -DisableNameChecking

$toolName = 'autoit-ripper'
$category = 'Packers'
$version = '==1.1.2'

VM-Install-With-Pip -toolName $toolName -category $category
VM-Install-With-Pip -toolName $toolName -category $category -version $version
2 changes: 1 addition & 1 deletion packages/common.vm/common.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>common.vm</id>
<version>0.0.0.20250117</version>
<version>0.0.0.20250122</version>
<description>Common libraries for VM-packages</description>
<authors>Mandiant</authors>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions packages/common.vm/tools/vm.common/vm.common.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1771,8 +1771,8 @@ function VM-Install-With-Pip {
[string] $toolName, # Example: magika
[Parameter(Mandatory=$true)]
[string] $category,
[Parameter(Mandatory=$false)]
[string] $version = "", # Version using pip format, example: "==0.5.0"
[Parameter(Mandatory=$true)]
[string] $version, # Version using pip format, example: "==0.5.0"
[Parameter(Mandatory=$false)]
[string] $arguments = "--help"
)
Expand Down
2 changes: 1 addition & 1 deletion packages/ipython.vm/ipython.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>ipython.vm</id>
<version>8.27.0.20241001</version>
<version>8.27.0.20250122</version>
<authors>Fernando Perez</authors>
<description>A powerful interactive Python shell</description>
<dependencies>
Expand Down
3 changes: 2 additions & 1 deletion packages/ipython.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ Import-Module vm.common -Force -DisableNameChecking

$toolName = 'ipython'
$category = 'Productivity Tools'
$version = '==8.27.0'

VM-Install-With-Pip -toolName $toolName -category $category -arguments ""
VM-Install-With-Pip -toolName $toolName -category $category -arguments "" -version $version
Loading