Re: git: de6965254c3a - main - Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode
Date: Sun, 05 Feb 2023 18:24:13 UTC
Po-Chuan Hsieh wrote: > The branch main has been updated by sunpoet: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=de6965254c3a007efcf697c3d455b54d2aeb2383 > > commit de6965254c3a007efcf697c3d455b54d2aeb2383 > Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> > AuthorDate: 2023-02-05 18:16:47 +0000 > Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> > CommitDate: 2023-02-05 18:16:47 +0000 > > Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode > > - While I'm here, use long options for easier reading [1][2] > - Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change > > It fixes build_fs_violation of dependent ports in poudriere (with -t flag). > It is also the default behavior of installer [2]. > > from py-sphinx log: > =>> Checking for staging violations... done > =>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}): > extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__ > =>> Cleaning up wrkdir > > from installer documentation: > --compile-bytecode > Possible choices: 0, 1, 2 > generate bytecode for the specified optimization level(s) (default=0, 1) > --no-compile-bytecode > don’t generate bytecode for installed modules > Default: False > > With hat: python > Reference: https://pypa-build.readthedocs.io/en/stable/ [1] > https://installer.pypa.io/en/stable/cli/installer/ [2] Please revert this. Again, read the wiki for why we are not installing bytecode moving forward. -- Charlie Li …nope, still don't have an exit line.