requirements icon indicating copy to clipboard operation
requirements copied to clipboard

Parsing seems to stop at 64 entries (since 2022.2-2021.3)

Open markusmaresch opened this issue 3 years ago • 4 comments

Since 2022.2-2021.3 (as used in PyCharm), it appears, that only the first 64 entries of a requirements.txt file are parsed. Previously this worked for a much larger number.

To Reproduce Steps to reproduce the behavior: Create a valid requirements.txt file exceeding 64 entries. The right window slider annotation seems to indicating an early stop exactly there

image

Expected behavior Is there a need for a limit at all?

Screenshots If applicable, add screenshots to help explain your problem.

**IDE

  • PyCharm 2021.3 (Community Edition) Build #PC-213.5744.248, built on November 30, 2021 Runtime version: 11.0.13+7-b1751.19 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 12.1 GC: G1 Young Generation, G1 Old Generation Memory: 10240M

    Registry: debugger.watches.in.variables=false documentation.show.toolbar=true ide.balloon.shadow.size=0

    Non-Bundled Plugins: net.seesharpsoft.intellij.plugins.csv (2.18.2) name.kropp.intellij.makefile (213.5744.224) com.jetbrains.performancePlugin (213.5744.122) com.intellij.ideolog (203.0.27.0) com.alayouni.ansiHighlight (1.2.4) ru.meanmail.plugin.requirements (2022.2-2021.3) Docker (213.5744.202)

  • Version: 2022.2-2021.3

Additional context I am defining all sub dependencies explicitly for pip - sometimes this is necessary for pip to complete at all. Hence the active lines or requirements.txt could be much larger.

markusmaresch avatar Jan 30 '22 14:01 markusmaresch

I can provide the full requirements.txt demonstrating the issue - if it helps

markusmaresch avatar Jan 30 '22 15:01 markusmaresch

@markusmaresch An example requirements.txt would be helpful in fixing the issue

meanmail avatar Jan 30 '22 19:01 meanmail

Attached is an exhaustive, valid and currently more or less up-to-date requirements.txt req_problem.txt

Load in PyCharm. Watch the automatic updating. Watch yellow and red annotations

markusmaresch avatar Jan 30 '22 23:01 markusmaresch

The title of this issue is probably not entirely correct any more - only reflects the first impression. Change if needed.

markusmaresch avatar Jan 31 '22 14:01 markusmaresch