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

Fix need for rust/cargo when installing, allow jellyfish 1.1.3 with prebuilt wheels #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrsharp-milken
Copy link

@mrsharp-milken mrsharp-milken commented Jan 24, 2025

As noted in cs50/submit50#364, pip3 install submit50 or installing anything using lib50 gives an error requiring rust/cargo to be installed.

This is because setup.py enforces jellyfish versions jellyfish>=0.7,<1, which defaults to jellyfish 0.11.3. There are no prebuilt wheels for for jellyfish 0.11.3, so pip says you need to get rust/cargo to build jellyfish.

The fix allows versions jellyfish>=0.7,<2 (currently defaults to 1.1.3) which has prebuilt macos wheels, and does not change jaro_wrinkler()

Current install requirements forces the use of jellyfish 0.11.3, for which there are no prebuilt wheels for macOS (which means installation requires downloading rust/cargo). Jellyfish 1.1.3 has prebuilt macos wheels, and does not change jaro_wrinkler() so allowing 1.1.3 makes installing lib50 and others more straightforward
@rongxin-liu rongxin-liu added the enhancement New feature or request label Jan 24, 2025
@rongxin-liu rongxin-liu self-assigned this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants