If you want to read the important parts of this email first, scroll to the 
bottom and read from the bottom :)

Tomoaki AOKI wrote on 2024/06/10 20:58:
> I think poudriere would be better ignoring last 3 (at least 2) digits
> of __FreeBSD_version for stable, releng and release branches, as
> API/KPI (not ABI/KBI, unfortunately) are basically assured to be
> downward compatible within each of those branches.

This time, if anything, we'd like to need an event where all packages are lost 
in order to clean up the packages of py39-* that are no longer needed.
How does it go in the official repository?

>From here, it changed to another part...
My poudriere had BUILD_ALL_PYTHON_FLAVORS defined in make.conf to allow 
multimedia/openshot to work with all versions of python.
If it is removed, non-default flavors will only be ignored, and packages that 
have already been made will not be deleted.

[00:01:45] Ignoring multimedia/openshot@py310 | openshot-py310-3.1.1_3: Unknown 
flavor 'py310', possible flavors: py311
[00:01:45] Ignoring multimedia/openshot@py38 | openshot-py38-3.1.1_3: Unknown 
flavor 'py38', possible flavors: py311
[00:01:45] Ignoring multimedia/openshot@py39 | openshot-py39-3.1.1_3: Unknown 
flavor 'py39', possible flavors: py311

I just had multimedia/openshot for py38, py39, and py311, so I also 
experimented with upgrading python.
The approximate steps are as follows:
( cd /packages/Latest/ && pkg add pkg.pkg )
pkg update
pkg install openshot-py38
sh -c 'for i in $(pkg query -g %n "py38-*") ; do pkg set -y -n 
"${i}:py39-${i#py38-}" ; done'
pkg upgrade
pkg install blender
pkg delete blender
pkg autoremove
sh -c 'for i in $(pkg query -g %n "py39-*") ; do pkg set -y -n 
"${i}:py311-${i#py39-}" ; done'
pkg upgrade
pkg install blender

This procedure did not reproduce the same issue.
It may also be that it is not just a matter of sorting.

One additional thing that bothered me was that the py310 package is still 
installed.
It may be that the renaming by pkg-set rewrites the names of packages like 
USES=python:-3.10 to py311, so they cannot be found in the repository.
Again, this is just speculation on my part.
I still can't think of a way to look into it. And it is not possible to prepare 
an experimental environment... 12.4-STABLE disposal is far away :)

Regards.


Reply via email to