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: bundle pyright inside wheel #300

Merged
merged 2 commits into from
Jan 15, 2025
Merged

feat: bundle pyright inside wheel #300

merged 2 commits into from
Jan 15, 2025

Conversation

RobertCraigie
Copy link
Owner

@RobertCraigie RobertCraigie commented Sep 21, 2024

closes #231

My main concern with this change is that it increases the footprint of this package by a considerable margin, both over-the-wire bytes and disk storage needed as there is no per-machine cache anymore, the files pyright needs to run will be duplicated for each project.

I think this is a fairly marginal concern though, if users report any issues about the package size I'd be investigate publishing a separate pyright-slim (or similar) package that retains the non-bundled behaviour.

@RobertCraigie RobertCraigie force-pushed the feat/nodejs-extra branch 2 times, most recently from d221beb to 407f2a5 Compare September 22, 2024 09:59
Base automatically changed from feat/nodejs-extra to main September 22, 2024 10:14
@RobertCraigie RobertCraigie force-pushed the feat/bundle-pyright branch 6 times, most recently from f4fe729 to 32f626e Compare September 22, 2024 18:45
@RobertCraigie RobertCraigie force-pushed the feat/bundle-pyright branch 4 times, most recently from 40cbf39 to 7815db2 Compare September 27, 2024 12:58
Bibo-Joshi added a commit to Bibo-Joshi/chango that referenced this pull request Sep 29, 2024
cswartzvi added a commit to cswartzvi/pyright-python-bundle that referenced this pull request Dec 16, 2024
cswartzvi added a commit to cswartzvi/pyright-python-bundle that referenced this pull request Dec 16, 2024
add test for bundled version

fix

fix

fix

fix

fix
@RobertCraigie RobertCraigie marked this pull request as ready for review January 15, 2025 14:20
@RobertCraigie RobertCraigie enabled auto-merge (squash) January 15, 2025 14:20
@RobertCraigie RobertCraigie enabled auto-merge (squash) January 15, 2025 14:27
@RobertCraigie RobertCraigie merged commit f15e56f into main Jan 15, 2025
51 checks passed
@RobertCraigie RobertCraigie deleted the feat/bundle-pyright branch January 15, 2025 14:54
@RobertCraigie RobertCraigie mentioned this pull request Jan 15, 2025
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.

bundle node and pyright with the pypi package
1 participant