                     (or (and (python-use-poetry-p)
                              (condition-case err
                                  (process-lines "poetry" "run" "pip" "list" "--format=freeze" "--disable-pip-version-check")
-                               (error (message "%s" (error-message-string err)) nil)))
+                               (error (minibuffer-message "%s" (error-message-string err)) nil)))
                         ;; TODO: search the project root for something that
                         ;; looks a virtualenv, activate it and call pip list
                         ;; --format=freeze in it

      (with-temp-buffer
        (funcall 'call-process "dasel" nil t nil "select" "-f" file-path "-w" "json")
        (json-parse-string (buffer-string) :object-type 'alist :array-type 'list))
    (error (message "%s" (error-message-string err)) nil)))

(defvar python-watched-config-files nil)
(defun python-watch-config-file (config-file cache-var parser)

                           project-root-requirements-file))
                        (condition-case err
                            (process-lines "pip" "list" "--format=freeze" "--disable-pip-version-check")
                          (error (minibuffer-message "%s" (error-message-string err)) nil)))))
      (setf python-project-requirements-cache
            (assoc-delete-all file-path python-project-requirements-cache))
      (when requirements
