-
|
Hi! My project uses vcpkg (manifest mode) to fetch, among other packages, OpenCV 4.10.0#3, Python 3.12.9 and Pybind11 3.0.1. I've been using commit 5f4628b89f3f98cd9a0b43c27ded2aa53da1f790 of this repository as the default registry in my vcpkg-configuration.json, and it works like a charm, as it gets the exact versions I specify in the vcpkg.json. However, I've recently found out that said commit does not actually have the versions I'm requesting, as can be seen in the baseline. How is it possible that vcpkg is getting the versions I'm asking for, even though there weren't ports for them when that commit was created? Just in case vcpkg was fetching them from a cache in my computer, I built a very simple vcpkg project in a virtual machine, and it still gets the requested versions. To reproduce it, you only have to:
CMake should log that opencv4 4.10.0#3, python3 3.12.9 and pybind11 3.0.1 will be installed. These are the project's files: vcpkg.json vcpkg-configuration.json CMakePresets.json CMakeLists.txt |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
Git registries have
|
Beta Was this translation helpful? Give feedback.
-
|
The purpose of baseline is only to choose the minimum (default) version to be considered. By |
Beta Was this translation helpful? Give feedback.
-
|
I've moved to the latest commit as of right now (aa2d37682e3318d93aef87efa7b0e88e81cd3d59), which has OpenCV 4.12, but vcpkg still fetches 4.10. If I'm using |
Beta Was this translation helpful? Give feedback.
This is actually documented here https://learn.microsoft.com/en-us/vcpkg/users/versioning.concepts