Giter VIP home page Giter VIP logo

Comments (8)

paulperegud avatar paulperegud commented on August 18, 2024 3

@kroko moving to py3 is a question of "when" only, since pyethereum will drop py2 support this year. Dependencies that does not support py3 will be dropped one by one. E.g. see branch gevent-pydevp2p.

from clay.

Behoston avatar Behoston commented on August 18, 2024 1

Please, kill Python 2
Python 3 should be much much easier when you write async code

from clay.

chfast avatar chfast commented on August 18, 2024

Do we want do switch to Python 3 or support both 2 and 3?

It seems to be quite difficult to support both, mostly because of dependencies. E.g. Python2 has a external package ipaddr (by Google), Python3 has a built in package ipaddress (based on ipaddr) and ipaddr is syntax-incompatible with Python3.

from clay.

badb avatar badb commented on August 18, 2024

In my opinion it makes no sense to support both. We will probably add whole python directory to a final app anyway, so it should be just Python 3.

from clay.

badb avatar badb commented on August 18, 2024

There are many problems with combination of Twisted, Python3 and Windows.

Twisted is claiming: "Ideally we could omit a number of them: twisted.python.win32 - windows is not a target platform for the initial release."

Source: https://twistedmatrix.com/trac/wiki/Plan/Python3].

Some functions are badly tested, there are fixes for some of them but not necessarily active in official releases. We can try to patch twisted by hand: (change file to open, change implements to @Implementer), but it will not be tested and may lead to unexpected behaviours on windows.

There is much better library for Python3 called asyncio, but moving to this new platform may be time-absorbing.

I propose to stay with Python2 during development of Python render but we may return to this topic in the future.

from clay.

chfast avatar chfast commented on August 18, 2024

At least pyethereum has been ported to Python 3 recently.

from clay.

chfast avatar chfast commented on August 18, 2024

We would do that if it was up to us only, but we have dependencies that does not support Py3.

from clay.

kroko avatar kroko commented on August 18, 2024

which deps are holding you back to deploy on py3 (which. is. the. future.) and have no alternatives?

i do network renderings in cycles (inhouse modded blender netrender, i will not push it upstream as long as they stay on svn not git, who has time for that? :) ) as well as have contributed to lux in the context of amd gpus & building @ macOS. i am very optimistic about what golem could bring. you do know that even blender that is your proof of concept example uses:

>>> import sys
>>> print(sys.version_info)
#sys.version_info(major=3, minor=5, micro=1, releaselevel='final', serial=0)

right?

from clay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.