Skip to content

fix(python-sdk): remove poetry.lock, overlay dir→direction for pylint W0622#702

Merged
leggetter merged 1 commit into
mainfrom
fix/python-sdk-poetry-dir-overlay
Feb 12, 2026
Merged

fix(python-sdk): remove poetry.lock, overlay dir→direction for pylint W0622#702
leggetter merged 1 commit into
mainfrom
fix/python-sdk-poetry-dir-overlay

Conversation

@leggetter

Copy link
Copy Markdown
Collaborator

Summary

Addresses Python SDK CI compile failures (per Speakeasy feedback):

  1. Delete poetry.lock – The pinned pydantic-core (2.33.2) has no Python 3.14 wheels; poetry install was failing when building from source. Removing the lock lets CI regenerate it with compatible versions.

  2. Pagination overlay: dirdirection – The query param dir (sort direction) was generated as a Python parameter dir, shadowing the builtin and causing pylint W0622. Overlay renames it to direction on the four list endpoints (GET /tenants, /events, /attempts, /tenants/.../destinations/.../attempts).

How to verify

After merge: run Generate OUTPOST-PYTHON workflow and confirm the compile step passes.

Made with Cursor

… W0622

- Delete poetry.lock so CI regenerates it (avoids pydantic-core 2.33.2 without
  Python 3.14 wheels; Speakeasy repro confirmed this fixes venv/install).
- Add pagination overlay: rename query param 'dir' to 'direction' on four
  list endpoints to avoid shadowing Python builtin dir() (pylint W0622).

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI review requested due to automatic review settings February 12, 2026 11:38
@vercel

vercel Bot commented Feb 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
outpost-docs Building Building Preview, Comment Feb 12, 2026 11:38am
outpost-website Building Building Preview, Comment Feb 12, 2026 11:38am

Request Review

@leggetter
leggetter merged commit 58a277b into main Feb 12, 2026
6 of 8 checks passed
@leggetter
leggetter deleted the fix/python-sdk-poetry-dir-overlay branch February 12, 2026 11:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves Python SDK generation/CI reliability by removing the pinned Poetry lockfile (allowing dependency resolution to adapt to the CI Python version) and by overlay-renaming the dir query parameter to avoid Python builtin shadowing in generated SDK method signatures.

Changes:

  • Delete sdks/outpost-python/poetry.lock to avoid pinning transitive deps that may not have wheels for the CI Python version.
  • Add overlay actions to rename the dir query parameter to direction on the four endpoints that expose it.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
sdks/schemas/pagination-fixes-overlay.yaml Adds x-speakeasy-name-override rules to rename dirdirection for Python SDK generation.
sdks/outpost-python/poetry.lock Removes the Poetry lockfile so CI/generation can resolve compatible dependency versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vercel
vercel Bot temporarily deployed to Preview – outpost-website February 12, 2026 11:43 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-docs February 12, 2026 11:44 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants