[Bug 242463] devel/mercurial: Update to 5.2.1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 31 11:58:40 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242463

--- Comment #6 from Kubilay Kocak <koobs at FreeBSD.org> ---
(In reply to Peter Wullinger from comment #5)

Yeh, I believe I was looking at this a number of weeks back.

module policy is treated specially, in setup.py [1]:

class hgbuildpy(build_py):
...
    def run(self):
...
        write_if_changed(os.path.join(basepath, '__modulepolicy__.py'),
content)


[1] https://www.mercurial-scm.org/repo/hg-committed/file/tip/setup.py#l644

Technically, its a packaging bug, as all created files (especially manual ones)
need to be added to the list of output files, so they are included in setup.py
install --record output, which autoplist uses

This is a common issue with packages that do/execute custom things, see

https://github.com/skorokithakis/tbvaccine/blob/master/setup.py#L14

https://stackoverflow.com/questions/25686900/pip-install-misses-some-generated-files-when-writing-installed-files-txt

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-python mailing list