-
-
Notifications
You must be signed in to change notification settings - Fork 65
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 3 support #121
Comments
Hey Can I take this. is it resolved. |
No it hasn't been fixed yet. |
is it fixed? |
@asmeurer @oscarbenjamin I want to work on this issue |
@asmeurer @oscarbenjamin I have made some changes and now SymPy Live supports Python3. I made it run on my localhost. I wanted to discuss about where to host it because the changes I made are very significant. |
Is it based on the changes here? I would start a pull request here. Even if there are a lot of changes, that is the best way to discuss them. I played with your test instance a bit and it seems like quite a few things are broken. What I found so far
|
As python2 is not supported anymore and to use python3 on google AppEngine, we need to use a web framework, and I think Django will be better than Flask. I have deployed many web apps and have good experience in the same. I think using GoogleCompute Engine instead of AppEngine is better as it is more flexible and economic. I have been working on this for 15 days. I have used function-based views in Django and used inbuilt Django sessions for storing statements. It could be extended to sympy-gamma also. These changes may contain many bugs and work is still in progress. For now, I have fixed the But there is an issue. PR made by me will not get reflected on the simpy-live because it is hosted on AppEngine and my changes are for ComputeEngine. The reason for using ComputeEngine is mentioned at [Discussion] GSOC 2020: Python3 support for sympy-live. Thanks |
Even if there is a significant rewrite we should keep the code in this repository. So even if there are a lot of changes it's good to do it in this repo and make a PR there. We can worry about deploying it later. |
Ok sure. I will make a PR. |
ping @asmeurer |
I don't know what the progress is. |
@certik frankly speaking, if the online sympy shell can upgrade to Python 3 , and the sympy version can always stick to master branch daily. It would be really awesome. In the classroom or laboratory, user have no administrator or superuser privilege, They can not install sympy locally, the online shell is essential to them. What is the major difficulties to upgrade online shell? |
You have to ask @asmeurer or @oscarbenjamin. I am not involved with the sympy-live much. |
The major difficulty is that most of us are not web developers. |
We need to figure out how to get SymPy Live to support Python 3. I saw https://stackoverflow.com/questions/24229203/does-google-app-engine-support-python-3 but I couldn't figure out how to get it working.
SymPy will drop Python 2 support at the end of 2019, so we won't be able to update SymPy Live after that unless we get Python 3 working.
The text was updated successfully, but these errors were encountered: