Skip to content
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

完全移除对 Python 2 的支持 #504

Closed
ldsink opened this issue Jan 14, 2020 · 9 comments · Fixed by #528, #529, #535, #537 or #538
Closed

完全移除对 Python 2 的支持 #504

ldsink opened this issue Jan 14, 2020 · 9 comments · Fixed by #528, #529, #535, #537 or #538

Comments

@ldsink
Copy link
Member

ldsink commented Jan 14, 2020

问题描述 (Description)

Python 2.7 尽管4月可能还会有一次安全更新发布,但是现在已经正式停止支持。

是否考虑升级一次大版本,从 1.X.X 跳到 3.X.X(以前讨论过 2.0 的想法,为避免混淆,大版本直接跳到 3),彻底移除 Python2 相关的兼容代码。

坏处

依旧使用 Python2.7 的用户可能无法使用之后的版本

好处

  • 可以删掉大量兼容性代码
  • 使用的一些第三方库不需要考虑 Python2 的兼容性
@messense
Copy link
Member

LGTM, 不过可以晚一点,半年以后?

@messense messense pinned this issue Feb 2, 2020
@king3200
Copy link

king3200 commented Feb 8, 2020

支持~~~

@leeyisoft
Copy link

支持3.0

@azurecn
Copy link

azurecn commented Mar 6, 2020

支持~~

@messense
Copy link
Member

messense commented Mar 7, 2020

建了个 v1 分支,我们可以先在 master 分支上渐渐移除 Python 2 的支持了。

@messense
Copy link
Member

master 分支已经移除 Python 2 兼容,issue 先 close 掉,置顶至只支持 Python 3 的 wechatpy 新版本发布后。

@messense messense changed the title 是否升级一个大版本,完全移除对 Python2 的支持 完全移除对 Python 2 的支持 Mar 15, 2020
@messense messense linked a pull request Mar 15, 2020 that will close this issue
@ldsink
Copy link
Member Author

ldsink commented Sep 29, 2020

十一长假,发个 v3 大版本嘛。

@messense
Copy link
Member

messense commented Oct 3, 2020

@ldsink 最近有点事没太多空哎,要发还是 v2 吧,v2 之前并没有实际落地的东西感觉不需要跳到 v3。

@messense
Copy link
Member

v2.x alpha 版本可通过 pip install -U --pre wechatpy 安装。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment