Dynamic package version resolution