Date: Sun, 21 Jan 2024 21:04:20 +0100 From: Moin Rahman <bofh@freebsd.org> To: Lexi Winter <lexi@le-fay.org> Cc: freebsd-python@freebsd.org, FreeBSD Mailing List <freebsd-ports@freebsd.org>, jbo@freebsd.org Subject: Re: USES=python3.10+ and RUN_DEPENDS Message-ID: <8F6F7911-B4D2-4FEB-8C3B-DC25DB578DCF@freebsd.org> In-Reply-To: <Za12pKiZ4dw0N1aA@ilythia.eden.le-fay.org> References: <Za1v3ztvbLwQDdYj@ilythia.eden.le-fay.org> <5A14CE01-367B-4CEC-8CC5-63B8993F72E4@freebsd.org> <Za12pKiZ4dw0N1aA@ilythia.eden.le-fay.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
> On Jan 21, 2024, at 8:55 PM, Lexi Winter <lexi@le-fay.org> wrote:
>
> Moin Rahman:
>> On Jan 21, 2024, at 8:26 PM, Lexi Winter <lexi@le-fay.org> wrote:
>>> i'm trying to port an application that requires Python 3.10+ or later,
>>> while the default Python is still 3.9.
>>
>> .if ${PYTHON_REL} < 31000
>> IGNORE= Does not support python 3.9 or earler
>> .endif
>
> thanks Moin,
>
> if i could ask a couple more questions:
>
> - does this mean this port won't be built by the pkg.freebsd.org
> builder?
By default this will not be built in that case. If you want to build
for python 3.10 you have to add USE_PYTHON=allflavors
> - what is the correct way to testport the port before committing it?
> DEFAULT_VERSIONS+=python=3.10?
If you have USE_PYTHON=allflavors in the port then you can test with
poudriere bulk -t and it will test all available flavors. In case you
want to test with only py310 you should test like following:
poudriere testport -j <JAIL> -p <PORT? -z <SET> -o <CATEGORY>/<PORT>@py310
> thanks, lw.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmWteMRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJFQwRAAl9Dlz3knVHv4Jr8kTQQMQjyDIo17N1dCkEYsYvX4zgXQcmVtWZjgdaSG
24K401BmzsG8wPclgeGzcN9tyV53oCYWuhIWK5/phtyIadl7FoRJZBCWwP9/CyNX
0ZyntTqC5mLpLaIt4wz8QjQ+AkM/Fkwfku7njzgNQ/rXVgcVx3Qnl+9lohDSa3iZ
VlvSIOXElgpyIsRHVT9XqS79foDfxazXtmQtR9VhqR+COScAMaUAlfkJRQYwmvjp
d2RS41+USEC2ZqxDSP7IYBBotEIZvZ0sde+UJn2sNC26lX+tTwVQOJy7XdB1fOHZ
w5VoWYMKOLgxb1ggUw/xyB9E4TDjbelM4aA+IUGoSXCZz4aLDzT6qlC/7lFCZHzt
iVj/+Fe21SgzlLyWnyx/LYZTqBqGCzjs28XyqafFd6+6KQETStOlMNWUjRMN59e8
42LgleUJES3iXbFB7/8dDMLi4BjNzWr3rr9hBG7sKv/b01p83rvub5gQeMNHFwJh
eFp5PDzMgqw/IImgBm/PnowUJ/sVtAQ9v7QaUTYDJX1qnZtMvpOTfomg44DtJZCh
MWXKaJ1Z2Cax3XSV9ISiRNGKo6+V1eJ8OpEAwqit/bEEyIfPkYg4QsgAE3XbRrXP
HRs6JRErykby5H0oACN79SxLAvkSX1VLnDaV43PWGqoftfZcdMA=
=SzyA
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F6F7911-B4D2-4FEB-8C3B-DC25DB578DCF>
