Replace deprecated logging.warn
piuparts warned with: /usr/bin/piuparts:2375: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead logging.warn(changes_path + " is not readable. Skipping.")
And https://docs.python.org/3/library/logging.html#logging.Logger.warning mentions this deprecated function should be replaced by warning()