Bug 1876110

Summary: Review Request: present - A terminal-based presentation tool with colors and effects
Product: [Fedora] Fedora Reporter: Lyes Saadi <fedora>
Component: Package ReviewAssignee: Andy Mender <andymenderunix>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: andymenderunix, package-review
Target Milestone: ---Flags: fedora: fedora-review-
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-05 16:52:10 UTC Type: ---
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: 1876108, 1876109    
Bug Blocks:    

Description Lyes Saadi 2020-09-05 14:32:03 UTC
Spec URL: https://lyessaadi.fedorapeople.org/present/present.spec
SRPM URL: https://lyessaadi.fedorapeople.org/present/present-0.5.1-1.fc32.src.rpm

Copr Build: https://copr.fedorainfracloud.org/coprs/lyessaadi/present/build/1650404/

Description:
A terminal-based presentation tool with colors and effects.

You can also play a codio (pre-recorded code block) on a slide.

present is built on asciimatics, and it works with Python>=3.7.

Check out the gallery[1] to see what everyone is making with present! You can
add your slides by simply opening an issue.

[1]: https://present.readthedocs.io/en/latest/gallery/index.html

Fedora Account System Username: lyessaadi

Comment 1 Lyes Saadi 2020-09-05 14:41:26 UTC
This unfortunately won't work, as development version of mistune is needed.

I will try to create a compat-package to solve that issue or wait until the development version is stabilised.

Is there a clear example of a python compat package that I could use?

Comment 2 Lyes Saadi 2020-09-05 14:42:34 UTC
(Or I could patch the software to use the old mistune, it doesn't seem that hard!)

Comment 3 Andy Mender 2020-09-05 16:16:12 UTC
> This unfortunately won't work, as development version of mistune is needed.
> 
> I will try to create a compat-package to solve that issue or wait until the development version is stabilised.
> 
> (Or I could patch the software to use the old mistune, it doesn't seem that hard!)

I see the latest python-mistune in Fedora repos is 0.8.3: https://src.fedoraproject.org/rpms/python-mistune
The latest full upstream release is 0.8.4: https://github.com/lepture/mistune/releases/tag/v0.8.4
There is also the alpha release: https://github.com/lepture/mistune/releases/tag/v2.0.0a1

Would any of these work with the latest "present"? If so, you can urge the maintainer of python-mistune to update the version in the repos.
You can also urge upstream to cut an earlier release (full v2.0.0 for instance?).

Comment 4 Andy Mender 2020-09-05 16:17:23 UTC
Apologies, just noticed that latest alpha was released very recently: https://github.com/lepture/mistune/releases/tag/v2.0.0a5

Comment 5 Lyes Saadi 2020-09-05 16:25:37 UTC
> Would any of these work with the latest "present"? If so, you can urge the maintainer of python-mistune to update the version in the repos.
> You can also urge upstream to cut an earlier release (full v2.0.0 for instance?).

I double-checked and I discovered that present uses a v2 feature of mistune (AST renderer). And upgrading to v2 fedora-wide would break python-m2r and python-nbconvert. A compat package is definitely needed...

Comment 6 Andy Mender 2020-09-05 16:34:11 UTC
> I double-checked and I discovered that present uses a v2 feature of mistune (AST renderer). And upgrading to v2 fedora-wide would break python-m2r and python-nbconvert. A compat package is definitely needed...

I found these compat packages:
https://src.fedoraproject.org/rpms/compat-gdbm
https://src.fedoraproject.org/rpms/compat-flex

Sadly, a lot of the compat packages were already retired years ago so their format might not be correct.

Comment 7 Lyes Saadi 2020-09-05 16:40:42 UTC
Those aren't Python unfortunately :/...

I could also try bundling... Even if that is a bad idea...

Comment 8 Lyes Saadi 2020-09-05 16:52:10 UTC
Abandoning because of 1876108...

Comment 9 Malinda Comer 2022-11-01 14:47:56 UTC Comment hidden (spam)
Comment 10 Malinda Comer 2022-11-07 01:49:31 UTC Comment hidden (spam)
Comment 11 Malinda Comer 2022-11-18 23:47:01 UTC Comment hidden (spam)