SyntaxError: invalid syntax

Bug report

Step 1: Are you in the right place?

  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • I have verified that I am using the latest version of GtkStressTesting (GST)

Step 2: Describe your environment

  • GST version: 0.6.1
  • Installed from source/Flatpak/other (specify): build from source
  • Distribution name and version (e.g. Ubuntu 18.10): OpenMandriva Cooker (never ending rolling/dev branch)
  • Desktop Environment (e.g. Gnome 3.30): Plasma 5.17.5
  • CPU (e.g. AMD Ryzen 7 3800X): Phenom II X6

Step 3: Describe the problem:

Steps to reproduce:

  1. Package build from sources in current OpenMandriva env, clang, ldd and .spec based on Fedora Copr.
  2. Installed.
  3. Error at launch.

Observed Results:

  • When I open gst in console I see error: SyntaxError: invalid syntax

Expected Results:

Console logs:

[x@OpenMandriva-Cooker ~]$ gst
Traceback (most recent call last):
  File "/usr/bin/gst", line 53, in <module>
    from gst import __main__
  File "/usr/lib/python3.8/site-packages/gst/__main__.py", line 36, in <module>
    from gst.app import Application
  File "/usr/lib/python3.8/site-packages/gst/app.py", line 28, in <module>
    from gst.presenter.main_presenter import MainPresenter
  File "/usr/lib/python3.8/site-packages/gst/presenter/main_presenter.py", line 32, in <module>
    from gst.interactor.check_new_version_interactor import CheckNewVersionInteractor
  File "/usr/lib/python3.8/site-packages/gst/interactor/check_new_version_interactor.py", line 18, in <module>
    import json
  File "/usr/lib/python3.8/site-packages/json.py", line 61
    raise ReadException, "Nothing to read: '%s'" % self._generator.all()
                       ^
SyntaxError: invalid syntax

Not sure how to fix it. Here is my spec (based on Fedora Copr) https://github.com/OpenMandrivaAssociation/gst/blob/master/gst.spec So all needed buildrequires and dependecies should be here. Not sure what wrong.