potiuk opened a new pull request, #66601:
URL: https://github.com/apache/airflow/pull/66601

   The provider's compat job
   ([`Compat 
3.0.6:P3.10:`](https://github.com/apache/airflow/actions/runs/25560261904/job/75031753808))
   fails on `main` with:
   
   ```
   TypeError: Pinecone() got unexpected keyword arguments: ['project_id']
   ```
   
   `pinecone>=7.0.0` (the floor declared in
   `providers/pinecone/pyproject.toml`) removed `project_id` from the
   `Pinecone()` constructor and now does strict kwarg validation, so
   even `project_id=None` raises. The provider's `PineconeHook` was still
   unconditionally passing the kwarg, which broke
   
   * 
`providers/pinecone/tests/unit/pinecone/hooks/test_pinecone.py::TestPineconeHook::test_upsert`
   * 
`providers/pinecone/tests/unit/pinecone/hooks/test_pinecone.py::TestPineconeHook::test_debug_curl_setting`
   
   This PR drops the kwarg from the `Pinecone(...)` call, removes the
   unused local extras lookup, and removes the `project_id` connection
   form field + `provider.yaml` extra so new connections don't expose a
   field that has no effect on the SDK any more. Existing connections
   keep the saved value untouched (it's now silently ignored).
   
   ## Test plan
   
   - [X] `uv run --project providers/pinecone pytest 
providers/pinecone/tests/unit/pinecone/hooks/test_pinecone.py -xvs` — 17 / 17 
pass.
   - [ ] CI `Compat 3.0.6:P3.10` job goes green on this PR.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to