<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>41092</bug_id>
          
          <creation_ts>2021-10-12 09:46:11 +0300</creation_ts>
          <short_desc>Удалить python3-module-pygobject</short_desc>
          <delta_ts>2024-05-26 11:58:57 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-pygobject</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=41090</see_also>
    
    <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=37387</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>41093</dependson>
    
    <dependson>49591</dependson>
    
    <dependson>49592</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>antohami</cc>
    
    <cc>grenka</cc>
    
    <cc>nbr</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>203698</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2021-10-12 09:46:11 +0300</bug_when>
    <thetext>python3-module-pygobject (deprecated static Python bindings for the GObject library) десять лет как устарел, хорошо бы его удалить.

 $ apt-cache whatdepends python3-module-pygobject
  tortoisehg-5.9.1-altsisyphus+285149.200.1.1@1631543088
  hplip-gui-3.21.8-alt1:sisyphus+284892.100.1.1@1631168155
  python3-module-pygobject-devel-2.28.6-altsisyphus+279128.100.1.1@1626380821
  python3-module-subunit-1.3.0-altsisyphus+277376.100.1.1@1625525102
  uniset2-testsuite-2.7-altsisyphus+286135.100.1.1@1632959822
  python3-module-pyudev-glib-0.22.0-altsisyphus+286375.1600.1.1@1633363025
  python3-module-ipykernel-6.2.0-altsisyphus+286649.500.2.1@1633698256
  python3-module-ipython-7.27.0-altsisyphus+284725.100.1.1@1631005278
  trace-cmd-python3-2.9.1-altsisyphus+262992.100.1.1@1607257457
  screen-message-0.6-altsisyphus+247571.100.1.2@1583868713
  python3-module-twisted-core-20.3.0-altsisyphus+265234.27700.49.1@1613760186
  linuxcnc-2.9.0-alt0.5.sisyphus+285009.200.2.1@1631302222</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242469</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2024-03-02 21:44:00 +0300</bug_when>
    <thetext>На всякий случай напишу, что речь про версию 2, а актуальным является паукет python3-module-pygobject3, с примером использования https://gnome.pages.gitlab.gnome.org/pygobject/

Текущее состояние:
# epm wd python3-module-pygobject
 # apt-cache whatdepends python3-module-pygobject
  tortoisehg-6.5.1-altsisyphus+333660.200.1.1@1699191521
  pyLinuxWheel-0.6.1-altsisyphus+335926.100.1.1@1701857258
  hplip-gui-3.23.12-alt2:sisyphus+341217.100.1.1@1708531115
  python3-module-pygobject-devel-2.28.6-altsisyphus+333513.36010.77.1@1704961841
  python3-module-twisted-core-22.10.0-altsisyphus+333513.32500.72.1@1704589956
  python3-module-ipykernel-6.29.2-altsisyphus+340117.100.1.1@1707406618
  zenmap-7.94-alt2:sisyphus+340146.100.1.1@1707465142
  python3-module-ipython-8.20.0-altsisyphus+338574.100.1.1@1705843189
  screen-message-0.6-altsisyphus+247571.100.1.2@1583868713
  linuxcnc-2.9.2-alt2.sisyphus+340518.300.2.1@1707752999</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242470</commentid>
    <comment_count>2</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2024-03-02 21:53:28 +0300</bug_when>
    <thetext>Спустя 3 года сильно лучше не стало. У меня этот пакет каждое обновление трипитона встаёт костью в горле.

* Thu Jan 11 2024 Grigory Ustinov &lt;grenka@altlinux.org&gt; 2.28.6-alt15
- Fixed build with python3.12.

* Tue Dec 19 2023 Grigory Ustinov &lt;grenka@altlinux.org&gt; 2.28.6-alt14
- Build without distutils.

* Tue Dec 13 2022 Grigory Ustinov &lt;grenka@altlinux.org&gt; 2.28.6-alt13
- Fixed build with python3.11.

* Sun Jan 30 2022 Grigory Ustinov &lt;grenka@altlinux.org&gt; 2.28.6-alt12
- Fixed build with python3.10.

* Sat Jan 30 2021 Grigory Ustinov &lt;grenka@altlinux.org&gt; 2.28.6-alt11
- Fixed build with python3.9.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242477</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2024-03-02 23:57:38 +0300</bug_when>
    <thetext>Этот модуль (pygobject 2) работает только с python2.7, а его по недосмотру собрали для python3.

При попытке использования
import gobject или
import glib
получается ошибка наподобие
https://bugzilla.altlinux.org/41090

Автоматически зависимость на пакет может находиться из-за конструкций вида

import gi
gi.require_version(&quot;Gtk&quot;,&quot;3.0&quot;)
from gi.repository import Gtk
from gi.repository import GObject
from gi.repository import GLib
import glib


которые дают ложную зависимость python3(glib) или python3(gobject).

На данный момент следующие пакеты исправлены:
hplip-1:3.23.12-alt3
python3-module-twisted-core.git=22.10.0-alt3
pyLinuxWheel.git=0.6.1-alt5
screen-message.git=0.6-alt3

Ожидает подтверждения:
341874 EPERM #2 sisyphus tortoisehg.git=6.5.1-alt2

Для непересобирающихся в Сизифе
python3-module-ipykernel
python3-module-ipython
предложены исправления
https://git.altlinux.org/tasks/341872/
https://git.altlinux.org/tasks/341871/


Текущее состояние:
ACLs of affected packages (4):
 ipython3                  rider @everybody
 nmap                      @core
 python3-module-ipykernel  toni @everybody
 tortoisehg                grenka

https://git.altlinux.org/tasks/341878/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242549</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2024-03-05 10:01:16 +0300</bug_when>
    <thetext>	ACLs of affected packages (2):
 ipython3                  rider @everybody
(сломана сборка в Сизифе)
 nmap                      @core
https://bugzilla.altlinux.org/49592</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>243799</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2024-03-30 23:55:36 +0300</bug_when>
    <thetext>Пакет удалён из Сизифа
https://packages.altlinux.org/ru/tasks/341878/
, но выяснились его упоминания при сборке:

sonata-1.7-alt1.a2.git20140903.2
E: Couldn&apos;t find package python3-module-pygobject-devel

gnome-extension-manager-0.4.3-alt1
E: Couldn&apos;t find package pkgconfig(pygobject-2.0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>246772</commentid>
    <comment_count>6</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2024-05-26 11:58:57 +0300</bug_when>
    <thetext>Упоминания тоже убраны.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>