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

Bug: 12.1 release installs, but does not add directory to site-packages #66

Closed
1 of 4 tasks
matthew-carta opened this issue Jan 3, 2025 · 1 comment · Fixed by #67
Closed
1 of 4 tasks

Bug: 12.1 release installs, but does not add directory to site-packages #66

matthew-carta opened this issue Jan 3, 2025 · 1 comment · Fixed by #67
Labels
bug Something isn't working

Comments

@matthew-carta
Copy link

matthew-carta commented Jan 3, 2025

Description

The recent 12.1 release installs the .dist-info into a virtual env, but does not unpack any files into the litestar_vite directory as required. This results in a ModuleNotFoundError on import.

URL to code causing the issue

No response

MCVE

No response

Steps to reproduce

python3 -m venv venv
source venv/bin/activate
pip install litestar-vite==12.1
python3 -c 'import litestar_vite'

Screenshots

No response

Logs

(venv) > python3 -c 'import litestar_vite'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'litestar_vite'

Package Version

12.1

Platform

  • Linux
  • Mac
  • Windows
  • Other (Please specify in the description above)
@matthew-carta matthew-carta added the bug Something isn't working label Jan 3, 2025
@matthew-carta matthew-carta changed the title Bug: 12.* releases install, but do not add directory to site-packages Bug: 12.1 releases install, but do not add directory to site-packages Jan 3, 2025
@matthew-carta matthew-carta changed the title Bug: 12.1 releases install, but do not add directory to site-packages Bug: 12.1 release installs, but does not add directory to site-packages Jan 3, 2025
@TakiMoysha
Copy link

Same problem on Linux 6.12.7-arch1-1 x86_64 GNU/Linux,
package version 0.12.1, uv as package manager:

uv add litestar-vite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants