Remove dev dependencies from package tasks
Merge pull request #993 from nlegoff/fix-dev-dep

[3.9] Fix #991 Remove dev dependencies from package tasks