Why not to mention support to Python3 on the official sites main page?

494 views
Skip to first unread message

Ari Lion BR Sp

unread,
Jul 16, 2018, 8:55:01 AM7/16/18
to web2py-users
Hi,

I wonder here why Python3 support is not mentioned at the official web2py's website?

It is a very important feature which was not enough publicized, in my opinion.
It would improove marketing for the framework at least at our Country, Brazil.
Peoples colective memory here tends to remeber web2py only suports python2.


Thanks,
Ari

Marcelo Huerta

unread,
Jul 17, 2018, 11:21:15 AM7/17/18
to web2py-users
El lunes, 16 de julio de 2018, 9:55:01 (UTC-3), Ari Lion BR Sp escribió:
Hi,

I wonder here why Python3 support is not mentioned at the official web2py's website?


I also wonder this. I think it might be because web2py hasn't been 100% in Python3?

This is one of the issues which prevents further visibility of the framework (other that I think is also important is that the demo site doesn't work; if this could be made to work, preferable on Python 3, it would be very useful).

-- 
Marcelo 

Ari Sobel

unread,
Jul 17, 2018, 11:38:06 AM7/17/18
to web...@googlegroups.com
I have been using web2py on Python3 for almost a year, with no apparent issues.

My script to install it with nginx (adaptation from original - please fork and contribute):

Ask everyone to try it. web2py  can grow a lot witrh this visibility.


thanks for all guys working for this wonderful framework.


Ari - Brazil

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/6stn2HcZEG0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anthony

unread,
Jul 17, 2018, 12:14:35 PM7/17/18
to web2py-users
It is mentioned here, but should be updated here and in the first three chapters of the book. Note, these updates can be made via pull requests to https://github.com/web2py/web2py (for the website, which is the "examples" app in the Github repo) and https://github.com/web2py/web2py-book (for the book -- there are mentions of Python 2.7 in each of the first three chapters).

Anthony

Ari Lion BR Sp

unread,
Jul 17, 2018, 12:54:03 PM7/17/18
to web2py-users
Thanks Marcelo Huerta  / Anthony.

Do you have tested python3?

I can testify that perfomance improoves a lot. Whats lacking for official support announcement?
Is there a list of issues for use under Python3?

Thanks again,
Ari - Brazil
https://t.me/web2pybrasil (Brazillian Telegram Group)

Marcelo Huerta

unread,
Jul 17, 2018, 1:00:29 PM7/17/18
to web...@googlegroups.com
El mar., 17 jul. 2018 a las 13:54, Ari Lion BR Sp (<arieh...@gmail.com>) escribió:
Thanks Marcelo Huerta  / Anthony.

Do you have tested python3?

​I don't have the infrastructure to perform testing best performed by the development team...​
 

I can testify that perfomance improoves a lot. Whats lacking for official support announcement?

​Prominent mention in all documentation and ​a working test site would be nice. There are several podcasts and web sites which could be happily informed about web2py if those things were updated and working...
 
Is there a list of issues for use under Python3?

​I would like to know this too.

--
       o-=< Marcelo >=-o

Anthony

unread,
Jul 18, 2018, 10:32:20 PM7/18/18
to web2py-users
I can testify that perfomance improoves a lot. Whats lacking for official support announcement?

I believe support is official -- we just need to make the updates to the site and documentation.

Anthony

unread,
Jul 18, 2018, 10:37:29 PM7/18/18
to web2py-users
Do you have tested python3?

Note, we do have passing tests, at least through Python 3.6: https://travis-ci.org/web2py/web2py

Ari Lion BR Sp

unread,
Jul 19, 2018, 1:05:03 PM7/19/18
to web2py-users
That's awesome.

Antonio Salazar

unread,
Jul 19, 2018, 6:38:15 PM7/19/18
to web...@googlegroups.com
Last April I downloaded the latest official stable release (2017-11-14) and adjusted all my code for Python 3. Unfortunately, two serious bugs in the streamer and scheduler made return to Python 2.

Both bugs are fixed in Github, but I'm wary of trying it again until it's better tested on Python 3. Since no new stable release has been made in eight months, and the current one still has those bugs, I get the impression it's not stable yet.

Ari Lion BR Sp

unread,
Jul 20, 2018, 10:06:46 AM7/20/18
to web2py-users
Hi Antonio Salazar,

But if we do not test, we would not have how to fix BUGs. Maybe from times to times test your whole app on Python3 and report bugs...

Thanks
Ari - Brazil

Antonio Salazar

unread,
Jul 20, 2018, 9:53:08 PM7/20/18
to web2py-users
I try to, as this is the only py2 app I support, but these months I've been swamped with work. I'll resume testing in September.

Massimo Di Pierro

unread,
Aug 5, 2018, 9:33:13 PM8/5/18
to web2py-users
I agree. We should mention it. We should also say that "web2py runs with pyhton 3 BUT web2py apps created with python 2 require web2py running under python 2 and apps created using python 3 requires web2py running python 3. They cannot be mixed."

To some this will break the plug and play if they are not careful. Maybe we should create a mechanism to automatically determine which version of python was used to create an app.

Ari Lion BR Sp

unread,
Aug 13, 2018, 8:05:34 AM8/13/18
to web2py-users
Thank you Massimo,

As our tests, Apps created in Py-3 work in Py-2 and vice-versa - only we need to delete "Sessions", and "databases" folder files for migrations (proceed fake_migrations_all) and app works.

Thanks for this wondefull  Tool called Web2py.


Regards

Nico Zanferrari

unread,
Aug 19, 2018, 4:17:44 PM8/19/18
to web...@googlegroups.com
Hi all, 

I've made a  PR to update the Download page (https://github.com/web2py/web2py/pull/1976).  Also, another PR to update the first chapters  of the book (https://github.com/web2py/web2py-book/pull/392) -
with a specific new paragraph 1.8 = "Running web2py with Python 2 vs. Python 3".

Cheers,
Nico  

--
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.

Massimo Di Pierro

unread,
Sep 2, 2018, 1:28:31 PM9/2/18
to web2py-users
Thanks! merged.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages