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

Require version in tools installed by pip #1242

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

sara-rn
Copy link
Contributor

@sara-rn sara-rn commented Jan 17, 2025

Closes #1240

Change the version parameter to required and change tools installed with PIP to include the version

@sara-rn sara-rn self-assigned this Jan 17, 2025
@sara-rn sara-rn requested review from Ana06 and removed request for Ana06 January 17, 2025 11:58
Copy link
Member

@Ana06 Ana06 left a comment

Choose a reason for hiding this comment

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

Thanks for adding the versions @sara-rn!! 💐 As noticed by the linter, you have forgotten to update the version in the ipython.vm nuspec. Also, ensure to follow good commit practices such as limiting the subject line to 50 characters and using the body to explain what and why you make the changes. I recommend reading https://cbea.ms/git-commit for more info on best practices to write good commit messages. 😉

@sara-rn sara-rn force-pushed the version_pip_tools branch 8 times, most recently from dff9f40 to f9fbebb Compare January 22, 2025 11:56
@@ -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</version>
Copy link
Member

@Ana06 Ana06 Jan 22, 2025

Choose a reason for hiding this comment

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

you have decreased the version (by removing the date) causing that our CI is testing the old package version without the version, which now fails as it is required. Ensure you increase the version:

Suggested change
<version>8.27.0</version>
<version>8.27.0.20250122</version>

More context:

In autoit-ripper.vm the version has been increased, so the date is not needed.

Note the version in ipython.vm was wrong before as it should have used the 0.0.0.DATE format as we didn't use a version when installing the tool.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Ana06 changes have been addressed

@Ana06 Ana06 changed the title Fix version of tools installed by pip Require version in tools installed by pip Jan 22, 2025
Update tools installed with pip to include the version in the install script, required by VM-Install-with-PIP.
Copy link
Member

@Ana06 Ana06 left a comment

Choose a reason for hiding this comment

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

The CI is finally happy, thanks @sara-rn for all the changes! 😊

@Ana06 Ana06 merged commit 7943024 into mandiant:main Jan 23, 2025
4 checks passed
@sara-rn sara-rn deleted the version_pip_tools branch January 24, 2025 10:10
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.

Fix version of tools installed by pip
2 participants