raise error if given a package from the future