I am expecting my button function to print a number (minutes_selected) based on the current value of the Spinner UI element, but the variable is always PY_VAR1:
minutes_selected
You need to use the get method to get the value of the variable.
get
Change this:
print(mintes_selected)
To this:
print(minutes_selected.get())