Bug 1913779

Summary: zeitgeist-1.0.3 python3 module not found in zeitgeist package
Product: [Fedora] Fedora Reporter: crvi <crvisqr>
Component: zeitgeistAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: amigadave, dakingun, decathorpe, i, maxx
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: zeitgeist-1.0.3-3.fc34 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-19 20:15:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1938522    

Description crvi 2021-01-07 15:30:36 UTC
Description of problem:

zeitgeist-1.0.3 python3 module not found in zeitgeist package 

The change was made part of https://src.fedoraproject.org/rpms/zeitgeist/c/594940b69b5b1df72c25bd9fa591f5626287527f?branch=master 

The following change should be removed.

# Remove unused Python bindings.
rm -rf %{buildroot}%{python3_sitelib}

Python3 support was added in 1.0.3. Refer https://gitlab.freedesktop.org/zeitgeist/zeitgeist/-/merge_requests/2

Version-Release number of selected component (if applicable):

zeitgeist-1.0.3-1.fc34.x86_64

How reproducible:

Always

Steps to Reproduce:

$ python3

Python 3.9.1 (default, Dec  8 2020, 00:00:00) 
[GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> import zeitgeist
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'zeitgeist'
>>> 

zeitgeist package supports both:

1. python3 module
2. python3 gir bindings.

GNOME Activity Journal 1.0.0 ( yet to be released ) uses python3 package, while rhythmbox zeitgeist plugin uses the gir package. 

python3 package support addition was the main change in zeitgeist-1.0.3.

Refer: https://gitlab.gnome.org/crvi/gnome-activity-journal
Refer: https://discourse.gnome.org/t/zeitgeist-gnome-activity-journal-1-0/4521

Thanks.

Comment 1 crvi 2021-01-08 03:49:08 UTC
The python3 module needs to go to a separate 'python3-zeitgeist' rpm package.

Thanks!

Comment 2 Ben Cotton 2021-02-09 16:18:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 3 Fedora Update System 2021-03-14 19:26:52 UTC
FEDORA-2021-42dfd4101e has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-42dfd4101e

Comment 4 crvi 2021-03-16 04:18:16 UTC
'python3-zeitgeist' works fine in rawhide.

Comment 5 Fedora Update System 2021-03-16 14:42:03 UTC
FEDORA-2021-42dfd4101e has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-42dfd4101e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-42dfd4101e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-03-19 20:15:15 UTC
FEDORA-2021-42dfd4101e has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.