-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Do not modify PACKAGE_NAME on install #15493
Conversation
75cd063
to
3531b0d
Compare
The tricky part is that the package selection needs to be included in the build package, so we can instead of rewrite setup.py and write it to an extra file, but it still need to be dumped somewhere and distributed with sdist/wheel |
ffba74d
to
e03646f
Compare
c2903e5
to
fdff3a8
Compare
fdff3a8
to
52c2b5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
There's been a small change to the checkgroup config: f81ae59 so this will need force-merge. CI was green the commit before: https://github.com/Lightning-AI/lightning/actions/runs/3393882442/jobs/5643540143 |
This reverts commit 8340b85.
* Do not modify PACKAGE_NAME on install * Fix ci pkg action * Required * Typos * Apply suggestions from code review * Undo defaults * Cleanup * Implement idea * Fuck * Apps mock fix * Fix app-pytest with PKG_NAME=app * Justus suggestion * Debug Windows * Update setup.py Co-authored-by: Adrian Wälchli <[email protected]> * Revert "Debug Windows" This reverts commit 9fe3ba3. * SSH action * Crazy bug * Revert "SSH action" This reverts commit 5061e8e. * Package import step * Avoid env conflict * Debug * Whitespace * Try removing existing lite build * This should be redundant now * Add back env now that source-lit is gone * Remove download artifact * checkgroup * TODOs suggested by Jirka * _ * Revert "_". These are local variables, do not need protected This reverts commit 8340b85. Co-authored-by: Jirka Borovec <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]> (cherry picked from commit f392180)
* Do not modify PACKAGE_NAME on install * Fix ci pkg action * Required * Typos * Apply suggestions from code review * Undo defaults * Cleanup * Implement idea * Fuck * Apps mock fix * Fix app-pytest with PKG_NAME=app * Justus suggestion * Debug Windows * Update setup.py Co-authored-by: Adrian Wälchli <[email protected]> * Revert "Debug Windows" This reverts commit 9fe3ba3. * SSH action * Crazy bug * Revert "SSH action" This reverts commit 5061e8e. * Package import step * Avoid env conflict * Debug * Whitespace * Try removing existing lite build * This should be redundant now * Add back env now that source-lit is gone * Remove download artifact * checkgroup * TODOs suggested by Jirka * _ * Revert "_". These are local variables, do not need protected This reverts commit 8340b85. Co-authored-by: Jirka Borovec <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]> (cherry picked from commit f392180)
What does this PR do?
See title.
lightning
is no longer installed whenPACKAGE_NAME=lite|app|pytorch
is installed.Part of #15474
Fixes #15489 by reverting most of #14517
Does your PR introduce any breaking changes? If yes, please list them.
None
cc @carmocca @akihironitta @Borda