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

Refresh packages after installation from a terminal #57

Open
eleanorjboyd opened this issue Dec 3, 2024 · 1 comment
Open

Refresh packages after installation from a terminal #57

eleanorjboyd opened this issue Dec 3, 2024 · 1 comment
Labels
feature-request Request for new features or functionality

Comments

@eleanorjboyd
Copy link
Member

Testing #24503

  1. activated my venv called .nvenv by hand in terminal
  2. install pytest
  3. click reload button under .nvenv in the sidebar
  4. 🐛 only shows 2 first pkgs
  5. in the logs, shows it found all the other ones

2024-12-03 11:16:38.730 [info] Running: uv pip list --python /Users/eleanorboyd/testingFiles/python-ext-tester/.nvenv/bin/python
2024-12-03 11:16:38.744 [info] Package            Version
------------------ -------
exceptiongroup     1.2.2
importlib-metadata 6.7.0
iniconfig          2.0.0
packaging          24.0
pip                20.1.1
pluggy             1.2.0
pytest             7.4.4
setuptools         47.1.0
tomli              2.0.1
typing-extensions  4.7.1
zipp               3.15.0


here you can also see pip list gets a different answer
Image

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Dec 4, 2024
@karthiknadig
Copy link
Member

You have to refresh packages specifically. Terminal installs are not currently detected, but we could enable this in the future. Reloading environment does not automatically refresh packages as it can be an expensive operation, if there are lot of environments it can take significantly more time.

Pressing this should get you the latest packages:
Image

@karthiknadig karthiknadig changed the title incorrect listed packages Refresh packages after installation from a terminal Dec 5, 2024
@karthiknadig karthiknadig removed their assignment Dec 5, 2024
@karthiknadig karthiknadig added the feature-request Request for new features or functionality label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants