Bug 261047

Summary: devel/py-virtualenv@py37: Fails to build with DOCS=ON (devel/py-click after ports 305f148f482)
Product: Ports & Packages Reporter: Peter Much <pmc>
Component: Individual Port(s)Assignee: Nicola Vitale <nivit>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: nivit, robak
Priority: --- Keywords: needs-qa
Version: LatestFlags: koobs: maintainer-feedback? (nivit)
koobs: maintainer-feedback? (robak)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for devel/py-click
none
py37-virtualenv.log
none
no idea what this is good for
none
Poudriere log for py-virtualenv with Python 3.7 none

Description Peter Much 2022-01-09 00:18:14 UTC
Created attachment 230832 [details]
patch for devel/py-click

When building py-virtualenv for python3.7 with option DOCS, there is this error:

Traceback (most recent call last):
  File "/var/local/ports/usr/ports/devel/py-virtualenv/work-py37/.bin/towncrier"
, line 10, in <module>
    from importlib.metadata import distribution
ModuleNotFoundError: No module named 'importlib.metadata'

This supposedly appeared by the upgrade of py-click to 8.0.3 (305f148f482)

(fix attached)
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-09 00:24:33 UTC
Thank you for your report Peter. Could you attach:

- A full build log (compressed if necessary)
- pkg version -v output
Comment 2 Peter Much 2022-01-09 06:08:55 UTC
Created attachment 230837 [details]
py37-virtualenv.log
Comment 3 Peter Much 2022-01-09 06:09:58 UTC
Created attachment 230838 [details]
no idea what this is good for
Comment 4 Peter Much 2022-01-09 06:22:37 UTC
Alright, I have attached the full log of the build, and the output of "pkg version -v". I wasn't sure *where* I should run that, since the build instances are dynamically created and destroyed. So this is now the output from the base image that is used for the build instances.
Comment 5 Nicola Vitale freebsd_committer freebsd_triage 2022-11-25 17:24:33 UTC
Created attachment 238343 [details]
Poudriere log for py-virtualenv with Python 3.7

The port has been update to 20.16.7, and now it builds correctly with DOCS=on.