Python and GTK4 help!

Hello! I’m trying to understand how snapcraft works for the python GTK4 projects so I created a pet project to see how works I tried without the GTK4 and I made it work but after reading the documentation of GTK4 I couldn’t make work so I was wondering if anyone can spot what is wrong or missing?

name: tasker
summary: Simple task app to remember what you did # 79 char long summary
description: App the uses an external MongoDB to store and find everything you did previous days

base: core22
version: '1.0'
grade: stable
confinement: strict
source-code: https://github.com/Saphyel/tasker

parts:
  tasker:
    plugin: python
    source: git@github.com:Saphyel/tasker.git
    source-branch: gui
    python-packages: [.]

apps:
  tasker:
    command: bin/tasker_gtk
    extensions: [gnome]

slots:
  tasker:
    interface: dbus
    bus: session
    name: org.gnome.Tasker

The UI works locally, and when I run snapcraft is hanging for several minutes at the start, I tried with -v but same result.