JetBrains / requirements

Intellij plugin for requirements.txt file
https://meanmail.dev/plugin/1
GNU Lesser General Public License v3.0
74 stars 23 forks source link

"Install all packages" doesn't recurse into files from `-r <file>` lines #83

Open marjeta42 opened 2 years ago

marjeta42 commented 2 years ago

Describe the bug "Install all packages" doesn't recurse into files from -r <file> lines

To Reproduce Steps to reproduce the behavior:

  1. Create file requirements.txt with some requirements
  2. Create file test.txt with -r ./requirements.txt
  3. Inside test.txt right-click, and select "install all packages"
  4. Nothing is installed

Expected behavior "Install all packages" should do the same as pip install -- recurse through all the files in -r <file> lines and install all those packages

IDE (please complete the following information. See Main Menu -> Help -> About):

PY-221.5080.212, JRE 11.0.14.1+1-b2043.25x64 JetBrains s.r.o.

Plugin (please complete the following information. See Main Menu -> File -> Settings -> Plugins):

stdedos commented 1 year ago

Also affects some warnings, like:

Package containing module 'xyz' is not listed in the project requirements

For a package referenced in a -r requirements-extra.txt, but not directly inside project's requirements.txt