You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add unit tests to retrieve fsspec from providers including backwards compatibility #36187
We should indeed test, but should we not yank the older released providers? This seems over doing the backwards compat (and maintaining it!) While the feature , somewhat arguably, couldn't be used.
Well maybe not as they are existing providers, unlike common.io. Still it feels weird. If a change ends up in a provider before generally usable and still being worked on we should have a different mechanism IMHO.
Well maybe not as they are existing providers, unlike common.io. Still it feels weird. If a change ends up in a provider before generally usable and still being worked on we should have a different mechanism IMHO.
Absolutely agree. Any idea how to do it? what do you think will be a better approach here?
We should indeed test, but should we not yank the older released providers? This seems over doing the backwards compat (and maintaining it!) While the feature , somewhat arguably, couldn't be used.
This would not work.
Yanking is when there is an error, and we already have some of those providers as part of "golden" constraints in some versions of airflow, which means that when someone upgrades just airflow without providers, they will still remain with those versions. Yanking only prevents people from making specific version available for pip resolver when it resolves new set of packages to install, but when you either specified the version explicitly (which we do with constraints) or when the package is already installed yanking has no effect.
So in scenario when someone installed airflow[amazon]==2.7.3 and after that airflow==2.8.0 they would end up with broken amazon provider.
Activity
potiuk commentedon Dec 12, 2023
cc: @bolkedebruin
bolkedebruin commentedon Dec 12, 2023
We should indeed test, but should we not yank the older released providers? This seems over doing the backwards compat (and maintaining it!) While the feature , somewhat arguably, couldn't be used.
Well maybe not as they are existing providers, unlike common.io. Still it feels weird. If a change ends up in a provider before generally usable and still being worked on we should have a different mechanism IMHO.
potiuk commentedon Dec 12, 2023
Absolutely agree. Any idea how to do it? what do you think will be a better approach here?
potiuk commentedon Dec 12, 2023
This would not work.
Yanking is when there is an error, and we already have some of those providers as part of "golden" constraints in some versions of airflow, which means that when someone upgrades just airflow without providers, they will still remain with those versions. Yanking only prevents people from making specific version available for
pipresolver when it resolves new set of packages to install, but when you either specified the version explicitly (which we do with constraints) or when the package is already installedyankinghas no effect.So in scenario when someone installed
airflow[amazon]==2.7.3and after thatairflow==2.8.0they would end up with broken amazon provider.