-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Bump azure-kusto-data>=4.1.0 #33598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump azure-kusto-data>=4.1.0 #33598
Conversation
Wow that’s a big leap. Would it be reasonable/meaningful to include some of the versions between 4.1 and 1.0? |
I want to add support for DefaultAzureCredential look like it will work with >4.1.0 https://github.com/Azure/azure-kusto-python/releases/tag/v4.1.0 |
Or would it be reasonable to enable this feature only for users who's using |
yeah i feel that is more reasonable. |
Comment: I don't have, any problems with big jumps like that to be honest - especially in providers. IMHO - if we need a new functionality from a new version of dependency and we are already (via constraints) using newer version of it, this is no brainer and we should simply bump the min version - even if it is few major versions. We're doing it quite often when we see that we want to add a new feature or make sure we do not want to trigger som bugs. For example I just 2 days ago Bumped Celery to 5.3.0+ - relatively new releease from Jun - because it unblocked some other dependencies and actually allowed us to upgrade opentelemetry to newer versions (we were held back before). I think there are very little risks involved in bumping individual dependencies with their minimum versions. For 9X% of our users they are anyhow already using constraints, and if we are bumping the min version to somethign "below" our constraints, it's rather "safe" bet. Of course there might be edge cases that users won't be able to upgrade because they are somehow tied to older versions of the dependency, but: a) risk of it is really small b) effect of it is that simply won't be able upgrade to a new version of provider (but if they are somehow linked to the old version they will know that during the installation and even - if they properly follow our best practices of ours, the provider will be automatically downgraded to the right version by c) they can still use the old version of provider for a long time according to our policies even if they upgrade to a new version of airflow (basically - forever). d) the problem with keeping min-version for a long time is that we do not actually KNOW if the min version is right. We might have added a new feature or incompatible code, accidentally and might have not realised that because we are using the latest "matching" version of the dependency in our tests. So by bumping min version we are actually making it MORE likely that someone will avoid problems (which they might have by using older version that we broke compatibility with accidentallly) So for me I see no reason at all to avoid such jump. IMHO This is completely no brainer that we should bump min version unconditionally here if we want to use the new feature. |
7f0fe96
to
16597b7
Compare
Thanks @potiuk for the details explanation.
@Lee-W @phanikumv I feel this would not be good from a maintenance point of view. |
8e05352
to
53ad99a
Compare
Also one more good tihng about bumping the dependency like that. When you have too many versions to consider, |
@potiuk wondering if need to increase the timeout for ARM image build job https://github.com/apache/airflow/blob/main/.github/workflows/build-images.yml#L242 job getting timeout after 50 min I tried couple of times |
I think we lost capability of using the ARM hardware for the image build in the last upgrade. Let me see. |
Yep. This is the reason:
|
Oh yeah. I was lazy in the past and did not create a separate autossh installation script and now removed it accidentally when I switched to a newer version of docker. apache/airflow-ci-infra@d3600b6#diff-68e4a1b74366f7a6d636f986d2b2b68feba4776d9074d4e2132498d8ae0b2909L44 |
When you rebase next time, I think it should work with the ARM instance. I updated AMI with autossh and when the ARM job will pick up the new AMI it should work fast |
53ad99a
to
fb1ccd9
Compare
^ 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.rst
or{issue_number}.significant.rst
, in newsfragments.