Update Poetry to 1.8.2 to align with Dependabot
Update Poetry to 1.8.2 to align with the version in Dependabot.

Fix #2675.
Update Poetry to 1.8.2 to align with Dependabot: Update Poetry to 1.8.2 to align with the version in Dependabot.

Fix #2675.