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

feat(installer): remove updater & support installing from wheel #6054

Merged

Conversation

psychedelicious
Copy link
Collaborator

Summary

  • Remove update functionality from the launcher
  • Add support for installing from a wheel (useful for testing and troubleshooting)
  • Minor cleanup in the installer

Please see the commit messages for details.

Related Issues / Discussions

By removing the ability to update, we should reduce the number of user issues caused by user blindly updating to an RC without understanding how this could impact their data.

QA Instructions

You can test the wheel install by running make installer-zip and then manually running the installer, pointing to the wheel python3 installer/lib/main.py --wheel installer/dist/InvokeAI-4.0.0rc5-py3-none-any.whl

Merge Plan

N/A

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable) N/A
  • Documentation added / updated (if applicable) Will be updating docs in a followup PR

Updating should always be done via the installer. We initially planned to only deprecate the updater, but given the scale of changes for v4, there's no point in waiting to remove it entirely.
This allows us to easily test the installer without needing the desired version to be published on PyPI:
```sh
python3 installer/lib/main.py --wheel installer/dist/InvokeAI-4.0.0rc6-py3-none-any.whl
```

A warning message and confirmation are displayed when the arg is used.

The rest of the installer is unchanged.
Forgot to update this when removing references to updating the app in invoke.sh.in
@github-actions github-actions bot added python PRs that change python files Root installer PRs that change the installer python-deps PRs that change python dependencies labels Mar 26, 2024
@psychedelicious psychedelicious enabled auto-merge (rebase) March 26, 2024 03:42
@psychedelicious psychedelicious merged commit fb317d0 into main Mar 26, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/feat/installer/remove-update-support-wheel branch March 26, 2024 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installer PRs that change the installer python PRs that change python files python-deps PRs that change python dependencies Root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants