cadadr / pomodorino

A little Pomodoro app
https://www.gkayaalp.com/pomodorino.html
GNU General Public License v3.0
12 stars 1 forks source link

Pinned version of PyGObject doesn't appear to support Python 3.10 #63

Open antgel opened 2 years ago

antgel commented 2 years ago

From my box (NB it might be a different library, I'm just getting into the PyGtk ecosystem):

 ~/src/git/pomodorino [default|✚ 1] 
22:59 $ ./run.sh 
Translation log, Thu Aug 25 10:59:10 PM IDT 2022
po/it.po: 34 translated messages, 1 untranslated message.
po/tr.po: 34 translated messages, 1 untranslated message.
Collecting dbus-python==1.2.12
  Using cached dbus-python-1.2.12.tar.gz (574 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: notify2==0.3.1 in ./.venv/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (0.3.1)
Requirement already satisfied: pycairo==1.18.2 in ./.venv/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (1.18.2)
Collecting PyGObject==3.34.0
  Using cached PyGObject-3.34.0-cp310-cp310-linux_x86_64.whl
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Installing collected packages: dbus-python, PyGObject
  Running setup.py install for dbus-python ... done
Successfully installed PyGObject-3.34.0 dbus-python-1.2.12
Traceback (most recent call last):
  File "/home/antony/src/git/pomodorino/src/pomodorino/app.py", line 25, in <module>
    import gi
  File "/home/antony/src/git/pomodorino/.venv/lib/python3.10/site-packages/gi/__init__.py", line 42, in <module>
    from . import _gi
ImportError: /home/antony/src/git/pomodorino/.venv/lib/python3.10/site-packages/gi/_gi.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyUnicode_AsStringAndSize