Open mrchoke opened 2 weeks ago
Hi @mrchoke! This is quite surprising, because I'm unable to reproduce the problem. When creating a pyproject.toml
file with the contents you provided, I do see dependencies recognized:
Is the problem still present on your end when you give it a try?
Apologies for the late reply. I have done further testing and can consistently reproduce the issue as follows:
This issue does not occur with a standard project on a local machine, but it arises when working within a devcontainer or over SSH remote. As shown in the attached image, the extension works correctly with requirements.txt, but fails to parse the pyproject.toml.
@Twixes
Devcontainer
Remote SSH
Could you kindly look into this? Thank you!
When working with a project that uses uv as the project manager, the PyPI-Assistant extension for VSCode does not recognize or read the pyproject.toml file. However, it continues to function properly when the project uses a requirements.txt file for dependency management.
The project structure is as follows:
The contents of the pyproject.toml are:
Expected Behavior: The PyPI-Assistant extension should detect and properly read the pyproject.toml file for dependency management when uv is used as the project manager.
Actual Behavior: The extension does not recognize the dependencies listed in pyproject.toml, but it works as expected with requirements.txt if used.
Steps to Reproduce:
Environment:
• VSCode version: 1.93.1 • PyPI-Assistant extension version: 2.1.2 • Python version: 3.12 • uv project manager version: 0.4.10 • OS: Docker Container Debian 12
Let me know if additional information is needed! Thank you for your support.