-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Invalid script entry point when rye sync #531
Comments
update: like that : It seems to be a problem with the punctuation in the name of the project |
Same issue on windows |
Can also confirm the same issue on Windows. FWIW: |
Thanks for your help. It works when delete the section [project-scripts]. |
Steps to Reproduce
mkdir test_script
cd test_script/
rye init .
success: Initialized project in /Users/geoqiao/test_script/.
Run
rye sync
to get startedrye add requests
Added requests>=2.31.0 as regular dependency
rye sync
failed with:ERROR: For req: test-script==0.1.0. Invalid script entry point: <ExportEntry hello = test:None []> - A callable suffix is required. Cf https://packaging.python.org/specifications/entry-points/#use-for-scripts for more information.
Expected Result
Successfully
rye sync
Actual Result
rye sync
failed with:ERROR: For req: test-script==0.1.0. Invalid script entry point: <ExportEntry hello = test:None []> - A callable suffix is required. Cf https://packaging.python.org/specifications/entry-points/#use-for-scripts for more information.
Version Info
rye --version
rye 0.16.0
commit: 0.16.0 (c003223 2023-12-16)
platform: macos (aarch64)
self-python: cpython@3.11
symlink support: true
Stacktrace
No response
The text was updated successfully, but these errors were encountered: