Skip to content

Conversation

@marcoesters
Copy link
Contributor

@marcoesters marcoesters commented Sep 17, 2025

Description

Remove unused subcommands and functions in _nsis.py. This is part of the effort to remove the cross-bundling between constructor and conda-standalone, and remove dependencies on python (#549).

There are three main subcommands that are not used anymore:

  • mkmenus and rmmenus have been replaced by menuinst.
  • del appears to be a wrapper around the RD command. RMDIR is called directly in NSIS.

The remaining functions are only needed by the removed subcommands.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Sep 17, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in 🔎 Review Sep 17, 2025
@marcoesters marcoesters marked this pull request as ready for review September 17, 2025 23:20
@marcoesters marcoesters requested a review from a team as a code owner September 17, 2025 23:20
Copy link
Contributor

@jaimergp jaimergp left a comment

Choose a reason for hiding this comment

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

LGTM. Can you add PR comments pointing to their replacement counterparts, if they exist? The menuinst ones did have deprecation messaegs, but win_del and others are not so clear.

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Approved in 🔎 Review Oct 2, 2025
@marcoesters
Copy link
Contributor Author

LGTM. Can you add PR comments pointing to their replacement counterparts, if they exist? The menuinst ones did have deprecation messaegs, but win_del and others are not so clear.

I updated the PR description. From what I can see, win_del is a wrapper around some file removal logic, but we're calling RMDIR directly in NSIS.

@marcoesters marcoesters merged commit c95a5c4 into conda:main Oct 2, 2025
20 checks passed
@github-project-automation github-project-automation bot moved this from ✅ Approved to 🏁 Done in 🔎 Review Oct 2, 2025
@marcoesters marcoesters deleted the remove-obsolete-nsispy-functions branch November 11, 2025 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed [bot] added once the contributor has signed the CLA

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants