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

Add warnings to deprecate Mambaforge #615

Merged
merged 10 commits into from
Jul 30, 2024

Conversation

jaimergp
Copy link
Member

@jaimergp jaimergp commented Jul 24, 2024

Comes from #602.

I've added:

  • A license override to show a message as early as possible, in all installers.
  • Since that will possibly be ignored, a pre-install script will:
    • Echo a warning in Github Actions
    • Print a loud message in Unix
    • Throw a popup in Windows

To be decided, which deprecation periods we offer:

  • Warnings: this is where we are now
  • Brownouts: later but when
    • Include the brownouts in the installer itself; exit 1 if the time and date is part of the preprogrammed brownout windows
    • Toggle the "Release is pre-release" button every now and then to switch between two identical Miniforge releases, but one has Mambaforge and the other doesn't
  • Removal: you tell me

Ideally we print this information in these scary messages already.

@jaimergp jaimergp requested a review from a team as a code owner July 24, 2024 17:02
@jaimergp jaimergp mentioned this pull request Jul 24, 2024
4 tasks
Copy link
Member

@beckermr beckermr left a comment

Choose a reason for hiding this comment

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

Just a few nits.

echo "Future Miniforge releases will NOT build Mambaforge installers."
echo "We advise you switch to Miniforge at your earliest convenience."
echo "Sleeping for 30s..."
sleep 30
Copy link
Member

Choose a reason for hiding this comment

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

We should probably make an announcement before we do this. When do it though, we should include the sleep for GHA as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

Miniforge3/mambaforge_deprecation.sh Outdated Show resolved Hide resolved
Miniforge3/mambaforge_deprecation.bat Outdated Show resolved Hide resolved
run: |
echo "!!!!!! Mambaforge is now deprecated !!!!!" > MAMBAFORGE_LICENSE.txt
echo "Future Miniforge releases will NOT build Mambaforge installers." >> MAMBAFORGE_LICENSE.txt
echo "We advise you switch to Miniforge at your earliest convenience." >> MAMBAFORGE_LICENSE.txt
Copy link
Contributor

Choose a reason for hiding this comment

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

oh man, Miniforge vs Miniforge3..... naming decisions that come back to haunt us!!!!

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea... And how it's Miniforge3 for CPython but just Miniforge for PyPy :P

Copy link
Contributor

Choose a reason for hiding this comment

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

Correct!!!

README.md Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@jaimergp
Copy link
Member Author

I added now some dates between October and end of the year where the installer will refuse to proceed:

  • Every two weeks in October
  • Every ten days in November
  • Every five days in December
  • Never in 2025

Up for discussion, of course, but the setup is there now.

@beckermr
Copy link
Member

Maybe we add the dates to the news item?

@beckermr
Copy link
Member

OK I added them.

README.md Outdated Show resolved Hide resolved
Co-authored-by: Mark Harfouche <[email protected]>
@jaimergp
Copy link
Member Author

The announcement is published so I think this is good to go.

@beckermr beckermr merged commit 1f95f76 into conda-forge:main Jul 30, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants