To prepare a gluten-free version of this Classic Buttermilk Pie Recipe, replace the traditional pie crust with a certified gluten-free pie crust. Additionally, substitute the all-purpose flour with a gluten-free flour blend or cornstarch in equal measure to maintain the custard structure while keeping the filling smooth and stable.