DEP: deprecate pkgload
MAINT: warn instead of raise
Merge pull request #5245 from argriffing/deprecate-pkgload

DEP: deprecate pkgload