-
Notifications
You must be signed in to change notification settings - Fork 893
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
Pin upper pandas version requirement #1182
Conversation
Signed-off-by: Antony Milne <antony.milne@quantumblack.com>
Signed-off-by: Antony Milne <antony.milne@quantumblack.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tbh I think this is perfectly fine. At the end of the day, users can still install newer pandas
themselves with pip install pandas
rather than through pip install kedro[pandas]
, and they would have to be careful to use openpyxl
instead of xlrd
. This won't be as much of a problem in 0.18 cause we default to openpyxl
then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Signed-off-by: Antony Milne <antony.milne@quantumblack.com>
* Add reference to layers medium article * Update docs/source/12_faq/01_faq.md Co-authored-by: Merel Theisen <49397448+MerelTheisenQB@users.noreply.github.com> * Update 01_faq.md Fix spacing * Update docs/source/12_faq/01_faq.md Co-authored-by: Jo Stichbury <stichbury@users.noreply.github.com> Co-authored-by: Merel Theisen <49397448+MerelTheisenQB@users.noreply.github.com> Co-authored-by: Jo Stichbury <stichbury@users.noreply.github.com>
Signed-off-by: Laurens Vijnck <laurens_vijnck@mckinsey.com>
Description
Fixes #1179. pandas have released 1.4.0, which requires
xlrd>=2.0.1
(and is only compatible with Python >=3.8). This is incompatible with ourxlrd~=1.0
.Development notes
Note that pandas was unpinned in August 2020 in https://github.com/quantumblacklabs/private-kedro/pull/772. In hindsight we probably should have reinstated an upper bound some time after that. I've done so now to restrict to
<1.4
.The alternative to this was to allow pandas 1.4 and relax our requirement for xlrd to include 2.0.1. I opted not to do this since xlrd 2.0 introduced breaking changes.
Questions
pandas>=1.4
which is maybe annoying for users who want to use any new features in those releases. We could do something to make the version of xlrd installed depend on the version of pandas so that not everyone getsxlrd>=2.0
, but that seemed like overkill to me.pandas~=1.3
)?Checklist
RELEASE.md
file