-
Notifications
You must be signed in to change notification settings - Fork 51
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
Drop support for py2, py35 and py36 #130
Comments
Yes, I agree. (EDIT: on dropping 2.7 and 3.5) Let's see if we should make a final release that supports legacy python. |
For 0.4.0 we said it's the last one to be tested against 2.7 and 3.5. We can't really drop 3.6, though. What are the bugs in attr in pre-1.2 pandas? |
@orbeckst
for pandas >=1.0 and < 1.2
This would mean that any slicing operation would drop the |
We should add a section to the docs explaining that after user manipulation of dataframes, they need to apply the copy attr function. Maybe @dotsdl has any ideas for the interface here. Short of subclassing DataFrame to AlchemlybDataFrame I don't have a better idea. |
I think the easiest way would be to drop the py36 support. |
I disagree with pandas — that's not good practice for scientific software. |
I could write a decorator which checks if attr is present, and give a warning when it is absent for the estimator module. Would mind merging the #131 so I could start working on this? Thanks. |
* fix #130 * drop Python 2.7 and =< 3.5 support * remove all Py2 compatibility * require pandas >= 1.0 * Update CHANGES Co-authored-by: Zhiyi Wu <zhiyi.wu@msdtc.ox.ac.uk> Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
…#131) * fix alchemistry#130 * drop Python 2.7 and =< 3.5 support * remove all Py2 compatibility * require pandas >= 1.0 * Update CHANGES Co-authored-by: Zhiyi Wu <zhiyi.wu@msdtc.ox.ac.uk> Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
@xiki-tempula so I think we'll drop Python 3.6 as you proposed here, at least judging by comments on #140 — please do weigh in and make your opinion known as a developer. Unlike dropping 2.7 and 3.5 support, that was not as clear cut of a decision for me and required some thought and weighing different arguments. Ultimately, I see that maintaining software longer than other parts of the ecosystem puts too much burden on voluntary developers. In the specific case here it also prevents us from using features that we need (or working with many ugly workarounds). So on balance, I can justify deprecating support for older versions more rapidly, as long as we communicate clearly what we do and make sure that there's a fairly stable release for any Python version near end of our support period. |
I was thinking of dropping support for py2, py35 and py36.
Python 2 reached the end of its life on January 1st, 2020.
Python 3.5 reached the end of its life on September 13th, 2020.
Python 3.6 will end in 7 months. However, as discussed in #125, I'm interested in using pandas.Dataframe.attrs which only becomes relatively bug-free from 1.2. pandas 1.2 would only support from py37.
The text was updated successfully, but these errors were encountered: