In short, I don’t think there’s an easy way to do that.
The meta-pynq layer moves together with petalinux releases, there’s a handy reference here https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841883/Yocto. Going from pynq v2.7 to v3.0 we jump over the 2021 series of tools straight to 2022, so straight from zeus to honister.
You can look at commits on the meta-pynq folder and see what had to be changed as we moved through versions, e.g. this commit updates meta-pynq from zeus to honister meta-pynq updates to Petalinux 2022.1 · Xilinx/PYNQ@5512aff · GitHub (there was a big api update in honister). It can be a tedious process however, so if possible I’d recommend sticking with proven versions of tools for the images.
I am trying to have a pynq-overlay version higher than 2.5.2, which is the default installation on meta-pynq layer by Xilinx (which hasn’t been upgraded…). As the examples based on version >=2.6 are not executed on <=2.5…So I am trying to do this upgrade in a custom-way. (Need to add here that of course I have completed the PYNQ make image for ZCU104 from the sdbuild folder, but this misses basic petalinux-configuration for my ZCU104 board. The final Image when I run XRT can’t find me device at all…)
I tried to install pynq from python -m pip install, on an image produced by petalinux tools both on 2021 and 2022…In various ways, using the pynq_dist.tar.gz (* see at the end what I mean) or by default using the pip pool (using sudo or not). Both ways fail with :