Bumping pinecone sdk to 7.0.0 to improve podspec handling#50868
Bumping pinecone sdk to 7.0.0 to improve podspec handling#50868amoghrajesh merged 5 commits intoapache:mainfrom
Conversation
providers/pinecone/src/airflow/providers/pinecone/hooks/pinecone.py
Outdated
Show resolved
Hide resolved
providers/pinecone/src/airflow/providers/pinecone/hooks/pinecone.py
Outdated
Show resolved
Hide resolved
|
@uranusjr @gopidesupavan @eladkal tried handling it better. LMK what you think |
|
@eladkal should i bump the pinecone provider to 7.0.0 and up? |
This is a bug fix i don't think anything needs to be bumped. |
|
Ah you are referring to the pinecone sdk. |
|
Yeah doesn't seem that it is. They do the same in their code: Let me bump it |
|
@eladkal bumped it. Looks ok? |
|
Yes, lets please update the commit message to notify about the version bump. The mypy issue is secondary. |
Backport failed to create: v3-0-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker 4af10c9 v3-0-testThis should apply the commit to the v3-0-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continue |
|
Ideally we should not need to cherry-pick that one if it's just a mypy check. |
|
@potiuk its a bump to the pinecone version used. But shouldn't be cherry picked imo |
|
We do need it in v3 branch for constraints generation |
Not any more after we split the providers to separate pyproject.toml files - it should only be (rarely) needed if the changes in dependencies are conflicting and in "preinstalled" dependencies like FAB. Generally we should only cherry-pick provider dependency changes if v3-0-test is broken without it. |
|
Why? The |
But we could have a case that pypi backtrack and uses older versions which are under the lower limit. So there is a possibility that generating the constraints will work but it would produce unsupported versions. |
Unlikely - but even if it does, it does not matter as we are not running provider tests in release branches. It's only a problem if the image cannot be built in 3.0-test due to conflicts |
* Fixing mypy checks on pinecone provider * bump pinecone to 7.0.0
* Fixing mypy checks on pinecone provider * bump pinecone to 7.0.0
* Fixing mypy checks on pinecone provider * bump pinecone to 7.0.0
Due to pinecone bump to 7.0.0 as in https://github.com/apache/airflow/actions/runs/15151908599/job/42599727921, the argument type has changed leading to failures like:
Removing Optional[str] and making it str with a default. Also adding type[ignore]
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.