Python 3 version changed?

Hi all … I’ve been running an app that uses f-strings in Python 3 for a couple years now.
Today I find that the f-string syntax isn’t valid, and that I’m running Python 3.5.2 (f-strings landed in 3.6).
Did the Python version somehow get downgraded?

WARNING: You are using pip version 20.3.4; however, version 21.3 is available.
You should consider upgrading via the '/app/.data/venv/bin/python3 -m pip install --upgrade pip' command.
  File "", line 129
    print(f'Syncing {self.payload["issue"]["html_url"]} -- {self.payload["issue"]["title"]}')
SyntaxError: invalid syntax

Update: I have another Python app, on that app, I have 3.7.10

$ python3 -V
Python 3.7.10

1 Like

Python was accidently downgraded yesterday, the Glitch team is working on a fix:


This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.