rich-london-74860
07/28/2023, 5:12 PMDEPRECATED: option 'lockfile' in scope 'pytest' is scheduled to be removed in version 2.18.0.dev0.
but the global configuration ignore_warnings is not working consistently.
If I copy and paste the exact string (e.g. DEPRECATED: option 'lockfile' in scope 'pytest' is scheduled to be removed in version 2.18.0.dev0.) into this configuration, then this deprecation warning is not ignored when I run pants on the terminal of my x86 Macbook, but it does work when I run pants inside a docker container with the ubuntu OS.
If I use a broad regex like in the documentation, $regex$:DEPRECATED, then it will not be ignored on neither my Macbook terminal, nor in the docker contianer.
If I drop the : as mentioned here, then it will not be ignored on my Macbook terminal, but will be ignored in the docker container.
In all cases I’m using v2.16.0.
Overall, it looks like this configuration works when written correctly and running inside of a docker container. but not when I run on my Macbook’s terminal.happy-kitchen-89482
07/28/2023, 6:29 PMhappy-kitchen-89482
07/28/2023, 6:29 PMrich-london-74860
07/28/2023, 6:38 PMignore_warning.rich-london-74860
07/28/2023, 6:40 PM--no-local-cache then the copy & paste list of warnings and $regex$DEPRECATED work on my Macbook terminal.rich-london-74860
07/28/2023, 6:44 PM--no-local-cache does not seem to be consistent either.rich-london-74860
07/28/2023, 6:45 PMignore_warnings list is just ignored