I can successfully create a virtual environment that installs all the packages listed in our requirements.txt, but when I open this file it only list the available upgrades for packages that are available on pypi.org. For packages that we have in our own feed I get a "!!!" and when hovering over it I get "Errors: *package: No versions found"
Steps to reproduce:
Add an extra-index-url in the pip.ini (or pip.conf on Linux) for a different package feed than pypi.org
With a requirements.txt containing one or more packages that only exists in the extra-index-url feed, install a virtual environment and make sure it works
Open requirements.txt
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
```
XXX
```
Behaviour
XXX
Steps to reproduce:
XXX
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
```
XXX
```
Extension version: 2024.20.0
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Python version (& distribution if applicable, e.g. Anaconda): 3.11.9
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Default
Type: Bug
Behaviour
We have a private package feed hosted on Azure at the company. This is listed as an extra index in C:\ProgramData\pip.ini:
I can successfully create a virtual environment that installs all the packages listed in our requirements.txt, but when I open this file it only list the available upgrades for packages that are available on pypi.org. For packages that we have in our own feed I get a "!!!" and when hovering over it I get "Errors: *package: No versions found"
Steps to reproduce:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)``` XXX ```
Behaviour
XXX
Steps to reproduce:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)``` XXX ```
Extension version: 2024.20.0 VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z) OS version: Windows_NT x64 10.0.19045 Modes:
python.languageServer
setting: DefaultUser Settings
``` languageServer: "Pylance" ```
Installed Extensions
|Extension Name|Extension Id|Version| |---|---|---| |Atom One Dark Theme|akamud.vscode-theme-onedark|2.3.0| |Auto Comment Blocks|kevinkyang.auto-comment-blocks|1.0.1| |Auto Markdown TOC|huntertran.auto-markdown-toc|3.0.13| |autopep8|ms-python.autopep8|2024.0.0| |Azure Account|ms-vscode.azure-account|0.12.0| |Azure Pipelines|ms-azure-devops.azure-pipelines|1.247.2| |Bash IDE|mads-hartmann.bash-ide-vscode|1.43.0| |Better C++ Syntax|jeff-hykin.better-cpp-syntax|1.27.1| |C++ Class Creator|FleeXo.cpp-class-creator|1.4.0| |C++ Helper|amiralizadeh9480.cpp-helper|0.3.4| |undefined|bbenoist.Doxygen|1.0.0| |Azure Resources|ms-azuretools.vscode-azureresourcegroups|0.9.9| |C/C++|ms-vscode.cpptools|1.23.1| |clangd|llvm-vs-code-extensions.vscode-clangd|0.1.31| |CodeLLDB|vadimcn.vscode-lldb|1.11.1| |Dependi|fill-labs.dependi|0.7.11| |Dev Containers|ms-vscode-remote.remote-containers|0.391.0| |Docker|ms-azuretools.vscode-docker|1.29.3| |Doxygen Documentation Generator|cschlosser.doxdocgen|1.4.0| |ESLint|dbaeumer.vscode-eslint|3.0.10| |file-picker|dfarley1.file-picker|0.2.0| |Git Graph|mhutchie.git-graph|1.30.0| |GitHub Copilot|GitHub.copilot|1.245.1215| |GitHub Copilot Chat|GitHub.copilot-chat|0.22.2| |GitLens — Git supercharged|eamodio.gitlens|16.0.1| |glTF Tools|cesium.gltf-vscode|2.5.1| |HTML Preview|george-alisson.html-preview-vscode|0.2.5| |Insert GUID|heaths.vscode-guid|1.9.0| |isort|ms-python.isort|2023.10.1| |JavaScript Debugger|ms-vscode.js-debug|1.95.3| |JavaScript Debugger Companion Extension|ms-vscode.js-debug-companion|1.1.3| |LaTeX Workshop|James-Yu.latex-workshop|10.5.6| |LintLens — ESLint rules made easier|ghmcadams.lintlens|7.5.0| |Markdown PDF|yzane.markdown-pdf|1.5.0| |Markdown Shortcuts|robole.markdown-shortcuts|0.7.1| |Markdown Snippets|robole.markdown-snippets|0.9.1| |markdown-viewer|juliencroain.markdown-viewer|1.0.0| |Open in Application|fabiospampinato.vscode-open-in-application|2.2.0| |PlantUML|jebbs.plantuml|2.18.1| |PowerShell|ms-vscode.powershell|2024.4.0| |PureEclipse|minchingtonak.pure-eclipse|1.2.3| |Pylance|ms-python.vscode-pylance|2024.11.2| |Python|ms-python.python|2024.20.0| |Python Debugger|ms-python.debugpy|2024.12.0| |Rainbow CSV|mechatroner.rainbow-csv|3.12.0| |Remote - SSH|ms-vscode-remote.remote-ssh|0.115.1| |Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|0.87.0| |Remote Explorer|ms-vscode.remote-explorer|0.4.3| |Robot Framework Language Server|robocorp.robotframework-lsp|1.13.0| |Ruff|charliermarsh.ruff|2024.54.0| |Sort JSON|Thinker.sort-json|19.1.2| |STIL|TMHMS.stil-vscode|1.0.3| |Table Visualizer for JavaScript Profiles|ms-vscode.vscode-js-profile-table|1.0.10| |Trigger Task on Save|Gruntfuggly.triggertaskonsave|0.2.17| |UUID Generator|motivesoft.vscode-uuid-generator|0.4.1| |UUID Generator|netcorext.uuid-generator|0.0.5| |vscode-icons|vscode-icons-team.vscode-icons|12.9.0| |WSL|ms-vscode-remote.remote-wsl|0.88.5| |XML|redhat.vscode-xml|0.27.1| |YAML|redhat.vscode-yaml|1.15.0|System Info
|Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|31.69GB (17.74GB free)| |Process Argv|--folder-uri file:///c%3A/Dev/auto-uac --crash-reporter-id 2a286375-e22a-4b88-bd1a-0d5929f39dbb| |Screen Reader|no| |VM|0%|
A/B Experiments
``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 vscrpc:30673769 962ge761:30959799 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 724cj586:31013169 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl2:31139839 pythonrstrctxt:31112756 cf971741:31144450 iacca1:31171482 notype1:31157159 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31181875 ```