How to lib_ignore a specific library version?

Hi all,

I have a project that works with

(Note: the forum software here eats the identations. They are correct in my platformio.ini)

lib_deps = 
    lvgl/lvgl@7.9.1
    bakercp/CRC32@2.0.0

I tried to upgrade to lvl 8.0.0 by changing to the following

lib_deps = 
    lvgl/lvgl@8.0.0
    bakercp/CRC32@2.0.0

But the automatic lib dependency picks up also the old library

LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 13 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <lvgl> 8.0.0
|   |-- <lvgl> 7.9.1
|-- <CRC32> 2.0.0

Is there a way to lib_ignore the 7.9.1 version only? I tried to ignore lvl@7.9.1 but it doesn’t seem to work.

What in the world. Please remove the .pio folder of the project and retry building. This is not normal.

Only when you use quotes instead of code blocks with tripple-backticks (Markdown)

Thanks @maxgerhardt. I deleted .pio and the problem is gone.

As for the code block, it would be nice to have here attached to one of the icons here, e.g. </>.