Skip to content

Commit 4b497a1

Browse files
ci: pin Python to 3.12 in build workflow to fix PyO3 compatibility
- Add actions/setup-python@v5.3.0 step to pin Python version to 3.12 - Fixes PyO3 build failure where pydantic-core was attempting to build against Python 3.14, which exceeds PyO3 v0.24.1's maximum supported version (3.13) - Also fix docstring linter error in airbyte/mcp/__init__.py (D412) Resolves CI failures in Build and/or Publish and Run Linters workflows. Co-Authored-By: AJ Steers <aj@airbyte.io>
1 parent cb03292 commit 4b497a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/pypi_publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1616
with:
1717
fetch-depth: 0
18+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
19+
with:
20+
python-version: '3.12'
1821
- uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0
1922

2023
publish:

airbyte/mcp/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@
173173
- Is writable by the user account running the MCP server.
174174
175175
Note:
176-
177176
- In rare cases, your agent may not be able to find `uv` or `uvx` if they are not in the system
178177
`PATH` or if the agent has a stale `PATH` value. In these cases, you can use `which uvx` from
179178
your own terminal to discover the full path to the `uvx` binary, and then provide the full path

0 commit comments

Comments
 (0)