Summary: | dev-python/pikepdf fails to compile with: ValueError: not enough values to unpack (expected 3, got 1) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tt_1 <herrtimson> |
Component: | Current packages | Assignee: | Andrey Grozin <grozin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=891159 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 892413 | ||
Bug Blocks: | |||
Attachments: |
build.log
output from emerge --info |
Description
tt_1
2023-01-28 07:24:08 UTC
Created attachment 849335 [details]
output from emerge --info
To fix this, I have to emerge dev-python/setuptools_scm_git_archive to my system. I don't know why this was removed from BDEPEND a week ago, it is still needed at build time. I think it might be something else on your system which needs dev-python/setuptools_scm_git_archive, as nothing in pikepdf actually tries to use it as far as I can see. If you edit /usr/lib/python3.10/site-packages/setuptools_scm/integration.py and put a print(dist_name) under 'config = Configuration.from_file(dist_name=dist_name)', what does the new build.log look like? (In reply to tt_1 from comment #2) > To fix this, I have to emerge dev-python/setuptools_scm_git_archive to my > system. I don't know why this was removed from BDEPEND a week ago, it is > still needed at build time. It was removed because of https://github.com/pikepdf/pikepdf/commit/cc977d343ce044fe021c545c8d8c6b159d477f6b. pikepdf isn't actually using it - if I'm wrong, please show me where. I suspect something else on your system is missing the dep and when setuptools initialises, it finds that package, and blows up. There was a bug in setuptools_scm-7.0.5. Fixed in setuptools_scm-7.1.0: https://github.com/pypa/setuptools_scm/pull/772 Stabilization bug 892413 filed. its fixed with setuptools_scm-7.1.0, thank you for the hint and fast stabilization. |