Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916891 - dev-python/ansi2html-1.8.0-r1 should not depend on dev-python/setuptools_scm_git_archive
Summary: dev-python/ansi2html-1.8.0-r1 should not depend on dev-python/setuptools_scm_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-05 13:25 UTC by Jonas Stein
Modified: 2023-11-05 14:45 UTC (History)
1 user (show)

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 Jonas Stein gentoo-dev 2023-11-05 13:25:02 UTC
The same functionality is supported by dev-python/setuptools-scm-7. See: https://github.com/pypa/setuptools_scm/#git-archives https://github.com/Changaco/setuptools_scm_git_archive/#readme

and
dev-python/setuptools-scm-7.1.0 is the oldest setuptools-scm in the tree.

Reproducible: Always
Comment 1 Sebastian Pipping gentoo-dev 2023-11-05 14:44:12 UTC
Upstream has this fixed in post-1.8.0 commit https://github.com/pycontribs/ansi2html/commit/be9c47dd39e500b2e34e95efde90d0a3b44daaee but the comment at https://github.com/pycontribs/ansi2html/pull/189/files#r1070690286 also indicates that setuptools_scm_git_archive was not even used and building without dev-python/setuptools_scm_git_archive installed seems to work fine, so I'll go ahead and drop the depndency for -r2…
Comment 2 Larry the Git Cow gentoo-dev 2023-11-05 14:45:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1871645858ce48c5cb4d26a74b4b1682b877ec

commit 6e1871645858ce48c5cb4d26a74b4b1682b877ec
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2023-11-05 14:45:01 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2023-11-05 14:45:23 +0000

    dev-python/ansi2html: Drop dev-python/setuptools_scm_git_archive dependency
    
    Closes: https://bugs.gentoo.org/916891
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 dev-python/ansi2html/ansi2html-1.8.0-r2.ebuild | 29 ++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)