Python 3.6 support?
Python 3.6 support?
Are there any plans or ETA to add Python 3.6 support? There are a few huge things in it, namely faster dicts, f-strings, and __init_subclass__(), last of which I'd love to get my hands on already. I believe the f-strings make it worthy upgrade for almost any SP plugin though.
Re: Python 3.6 support?
It has been planned for a while, we just haven't gotten around to doing it, yet. And yes, there are a lot of nice updates in 3.6!
Re: Python 3.6 support?
Glad to hear it's under the radar! Not to hurry, but can't wait!
Re: Python 3.6 support?
For those not following the repository on GitHub, SP now uses Python 3.6 (available starting with version 583)!
Re: Python 3.6 support?
Thanks for the awesome work!
Re: Python 3.6 support?
Is it just me that I cant load the new build on linux css?
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
Re: Python 3.6 support?
You might need to yum or apt-get install libffi on your Linux system. Is that the entire traceback?
Re: Python 3.6 support?
Sorry
Code: Select all
[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/__init__.py", line 58, in load
setup_sqlite()
File "../addons/source-python/packages/source-python/__init__.py", line 343, in setup_sqlite
import ctypes
File "../addons/source-python/Python3/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
Re: Python 3.6 support?
Our build server has the same issue. Note that you need to install the 32bit version.
Re: Python 3.6 support?
I just noticed the following in the upcoming Python 3.7 changes:
What's New In Python3.7 wrote:
- A full copy of libffi is no longer bundled for use when building the _ctypes module on non-OSX UNIX platforms. An installed copy of libffi is now required when building _ctypes on such platforms.
Re: Python 3.6 support?
satoon101 wrote:You might need to yum or apt-get install libffi on your Linux system.
So this is currently the only fix for that? Guess python 3.7 wont come tht quick?
Re: Python 3.6 support?
I think you are misinterpreting the text I quoted. The issue is that for Python 3.7 they removed that file. While our current version does say Python 3.6.1, I am fairly certain it contains the code in the Python master repository that was even committed after the 3.6.1 release. That is fine, as that is what I believe I used when I last updated the SP Python version. I am not sure if we can handle this within the SP build itself, but we will look into it. But for now, yes, that is the only fix.
Re: Python 3.6 support?
Actually, I have taken the source from the 3.6.1 release and not from the repository. Our build server also suffers from this problem. I hope necavi has some time to install the library very soon.
Re: Python 3.6 support?
Wow !!! Such a great, thanks for updating .....its really awesome update.
Python Training at CETPA :)
Python Training at CETPA :)
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 6 guests