[python] Validate pyproject.toml and fix the pyproject.toml version constraint format (#21402)

* Validate pyproject.toml of echo client python sample

* Use PEP-508 compatible version constraint for `requires-python` key

* Update samples

* Move job to petstore workflow

* Update generated sample

* Use equals or greater than operator instead of greater than

* Update samples
This commit is contained in:
Youri Westerman
2025-06-18 10:39:37 +02:00
committed by GitHub
parent 50c6754fcc
commit 43e878b421
5 changed files with 16 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ authors = [
license = "Apache 2.0"
readme = "README.md"
keywords = ["OpenAPI", "OpenAPI-Generator", "Echo Server API"]
requires-python = "^3.9"
requires-python = ">=3.9"
dependencies = [
"urllib3 (>=2.1.0,<3.0.0)",