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

close #991