There’ll be no last-minute shopping for turkeys or trimmings on Thanksgiving Day in Massachusetts.

The state has warned the upscale Whole Foods supermarket chain that it will risk criminal charges under the state’s centuries-old “blue laws” if it goes ahead with plans to open on the holiday.