diff --git a/.github/workflows/samples-python-petstore.yaml b/.github/workflows/samples-python-petstore.yaml index 12094eea2668..97634329ff68 100644 --- a/.github/workflows/samples-python-petstore.yaml +++ b/.github/workflows/samples-python-petstore.yaml @@ -4,6 +4,7 @@ on: pull_request: paths: - samples/openapi3/client/petstore/python-aiohttp/** + - samples/openapi3/client/petstore/python-httpx/** - samples/openapi3/client/petstore/python/** - .github/workflows/samples-python-petstore.yaml diff --git a/bin/configs/python-httpx.yaml b/bin/configs/python-httpx.yaml index afc0b04ee9c0..e869fc19d669 100644 --- a/bin/configs/python-httpx.yaml +++ b/bin/configs/python-httpx.yaml @@ -4,6 +4,7 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/python/petstore-with templateDir: modules/openapi-generator/src/main/resources/python library: httpx additionalProperties: + buildSystem: hatchling packageName: petstore_api mapNumberTo: float poetry1: false diff --git a/samples/openapi3/client/petstore/python-httpx/pyproject.toml b/samples/openapi3/client/petstore/python-httpx/pyproject.toml index e2b04a89e77e..fd41b01c6fd1 100644 --- a/samples/openapi3/client/petstore/python-httpx/pyproject.toml +++ b/samples/openapi3/client/petstore/python-httpx/pyproject.toml @@ -35,8 +35,8 @@ mypy = ">= 1.5" [build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" [tool.pylint.'MESSAGES CONTROL'] extension-pkg-whitelist = "pydantic"