Rename the package #38

Closed
opened 2026-02-15 23:16:19 -05:00 by yindo · 1 comment
Owner

Originally created by @andreas-hartmann on GitHub (Sep 22, 2024).

Describe the bug
Naming the package "python.py" causes warnings downstream. Linting tools complain that the import "revolt" is coming from a different package. Using an alias doesn't work because "revolt.py" contains a period.

To Reproduce
import revolt in PyCharm for instance with revolt.py==0.2.0 in requirements.txt will cause a warning.

Expected behavior
The package should have a standards-compliant name, such as revoltpy or something.
No warnings should be produced.

Originally created by @andreas-hartmann on GitHub (Sep 22, 2024). **Describe the bug** Naming the package "python.py" causes warnings downstream. Linting tools complain that the import "revolt" is coming from a different package. Using an alias doesn't work because "revolt.py" contains a period. **To Reproduce** `import revolt` in PyCharm for instance with `revolt.py==0.2.0` in requirements.txt will cause a warning. **Expected behavior** The package should have a standards-compliant name, such as revoltpy or something. No warnings should be produced.
yindo added the wontfix label 2026-02-15 23:16:19 -05:00
yindo closed this issue 2026-02-15 23:16:20 -05:00
Author
Owner

@Zomatree commented on GitHub (Sep 22, 2024):

This is an issue with the tools that require the names to match, it is not required that the package name must match the library name.

This is not something I will change.

@Zomatree commented on GitHub (Sep 22, 2024): This is an issue with the tools that require the names to match, it is not required that the package name must match the library name. This is not something I will change.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/python-client-sdk#38