Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702226 - www-apps/blohg[git]: problematic py2→py3 dependency
Summary: www-apps/blohg[git]: problematic py2→py3 dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-07 06:55 UTC by Michał Górny
Modified: 2020-03-10 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-07 06:55:04 UTC
dev-python/pygit just dropped Python 2 support entirely.  Since blohg is Python 2-only, its presence is going to prevent users from upgrading and prevent us from removing the old version once the new one is stable.

Please either port your package to py3 or add py3 to PYTHON_COMPAT if it works with py3.  If it doesn't, I will p.u.mask the git flag on the judgement day.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-07 06:56:57 UTC
s/pygit/pygit2/ ofc.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-01 06:03:58 UTC
Ping.
Comment 3 Rafael Martins (RETIRED) gentoo-dev 2020-02-01 21:01:01 UTC
(In reply to Michał Górny from comment #2)
> Ping.

I spent some time trying to port to python 3 this week. The way mercurial was ported to python3 makes it very hard to port any software using its api to python3 too. they want bytes in a lot of "string" apis. I'm still deciding if I'll drop mercurial support or try to port it.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-16 07:01:24 UTC
Final ping.  New version of pygit2 is going stable now, and the old version is going to be removed.
Comment 5 Rafael Martins (RETIRED) gentoo-dev 2020-03-08 23:11:50 UTC
quick update: I have a solution and I'm working on it. I expected to be done today, but it will take a little more time. I don't know if masking it helps you in any way, but if it does, feel free to do it. I unmask it when bumping the package with the python3 fixes I'm working on. Anyway, it should not take a lot of time now that I have the solution.
Comment 6 Rafael Martins (RETIRED) gentoo-dev 2020-03-10 22:19:05 UTC
done. it works nicely with python 3.6, 3.7 and 3.8 now, however PYTHON_COMPAT is still limited to 3.6, because of frozen-flask (3.6 only) and mercurial (3.6 and 3.7). I'll look soon at adding the newer python versions to them.