Sometimes when I run my python repl, the packager starts importing/guessing packages even though it is configured not to in .replit file.
The packager should not be guessing and installing packages in my repl, so the configuration is not working.
How to reproduce -
Create a python (or pygame) repl.
In the .replit file, add some packager configuration, then reload shell:
# disables auto-import according to docs
language = "python3"
ignoredPackages = ["pygame", "fold"]
guessImports = false
As an example, create a folder named fold which contains empty files __init__.py and imp1.py.
import pygame # auto imports 'pygame'
import fold.imp1 # auto imports 'math-fold'
Running the repl will cause the packager to auto-import some packages.
Replit’s UPM runs dependency guessing if it thinks something import-related has changed, but I am unable to configure it.