V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
laike9m
V2EX  ›  Python

Fabric 竟然还不支持 Python 3

  •  
  •   laike9m ·
    laike9m · 2015-04-16 13:34:45 +08:00 · 7107 次点击
    这是一个创建于 3288 天前的主题,其中的信息可能已经有所发展或是发生改变。

    之前以为只有 gevent 和 Twisted 这种东西才没有 Python3 支持,今天才发现 Fabric 也没有。。看来 Python3 想真正替代 Python2 还需要一段时间。。

    11 条回复    2015-05-18 10:13:15 +08:00
    janxin
        1
    janxin  
       2015-04-16 13:47:24 +08:00
    fabric的Roadmap是2.0的时候支持Python3吧,涉及到代码重构什么的一起做,不知道啥时候了...
    binux
        2
    binux  
       2015-04-16 13:55:24 +08:00
    首先放弃支持 2.5 就容易支持了。
    laike9m
        3
    laike9m  
    OP
       2015-04-16 14:08:47 +08:00
    @janxin 我看网上说之前不支持3是因为 paramiko 这个库,不过现在这个库支持了,所以障碍应该是没了。
    laike9m
        4
    laike9m  
    OP
       2015-04-16 14:10:29 +08:00
    @binux 感觉大多库都放弃 2.5 了,像 Travis CI 里甚至都不支持 2.5 测试。
    futursolo
        5
    futursolo  
       2015-04-16 14:27:38 +08:00
    Gevent 也支持Python3好么。。。
    pip install cython
    pip install git+git://github.com/surfly/gevent.git#egg=gevent
    (两个写到一句pip里可能会无法安装,请分开装)

    其实最想要的是那个PIL图像库的Python3支持。。。
    messense
        6
    messense  
       2015-04-16 14:35:47 +08:00
    ericls
        7
    ericls  
       2015-04-16 15:04:47 +08:00
    @futursolo Python3 有 asyncio
    laike9m
        8
    laike9m  
    OP
       2015-04-16 15:10:43 +08:00
    @futursolo 也就是说最新代码支持了但是还没发布 release?
    laike9m
        9
    laike9m  
    OP
       2015-04-16 15:12:04 +08:00
    @futursolo 以及 PIL 的 Python3 支持不是问题,Pillow 我两年前就用过了。
    Feiox
        10
    Feiox  
       2015-05-17 14:32:16 +08:00
    整个项目的迁移工作就卡在这货上了。没办法,整个自动化运维都是基于这货写的,唉,我大爱的 py3。另外,目前版本的 pypy 不支持 3.4 也是个硬伤啊。
    laike9m
        11
    laike9m  
    OP
       2015-05-18 10:13:15 +08:00
    @Feiox pypy 还不支持3.4倒是可以理解。Fabric 确实太过分了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1395 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:26 · PVG 01:26 · LAX 10:26 · JFK 13:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.