tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Intentionally smaller pbulk builds



This nugget of knowledge should be documented. I have wanted to wrangle in python versions but thought incompatible was for architecture, not a filter. 

Thanks Wiz!

> On Dec 26, 2024, at 12:22 AM, Thomas Klausner <wiz%gatalith.at@localhost> wrote:
> 
> On Thu, Dec 26, 2024 at 04:06:53AM +0000, John Klos wrote:
>> If I wanted to limit a pbulk run to, say, just use php83 and not php81 and
>> php82 (leaving out php56 and php74), and likewise wanted to just use
>> python312 and not python39, 310, 311, and 313 (leaving out python27), and
>> lua, and ruby, et cetera, how might I do that?
> 
> Set
> PYTHON_VERSION_DEFAULT=         312
> PYTHON_VERSIONS_INCOMPATIBLE+=  310 311 313
> PHP_VERSION_DEFAULT=            83
> PHP_VERSIONS_INCOMPATIBLE+=     56 74 81 82
> in your /etc/mk.conf.
> 
> Depending on what you include in your bulk build, this might
> completely break its scan phase, if the bulk build includes a package
> that doesn't build with Python 3.12 or PHP 8.3. In that case, you'll
> have to check bulklog/meta/presolve for the failing package &
> PHP/Python version, and allow that PHP/Python version, or remove the
> package from your bulk build.
> Thomas


Home | Main Index | Thread Index | Old Index