Re: Ports that don't actually support Python 3.x
On 07/07/2014 09:13, Kubilay Kocak wrote: On 7/07/2014 8:41 AM, Melvyn Sopacua wrote: Hi Kubilay! On Mon, 7 Jul 2014, Kubilay Kocak wrote: On 7/07/2014 7:52 AM, Melvyn Sopacua wrote: Submit an issue with patch, I'll add maintainer_approval flag cc'ing maintainer if you cant, just let me know the issue ID :) Thought I submitted more already, but they're still in the queue and django-redis was comitted. Will submit tomorrow. No such thing as too many issue reports, plus that way the maintainer will get to see it :) I've also been looking to support py3.4, I should start sending in some patches. py-openid only supports 2.x there is a fork that supports 3.x - this looks as though it will remain as two separate ports https://github.com/necaris/python3-openid I have a new port created but I'm not looking to maintain it, if your interested - https://github.com/sambler/sambler-redports/tree/master/security/py3-openid ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Ports that don't actually support Python 3.x
Hello, I'm coming accross a few ports that are in the tree as we speak, that do not actually install correctly with Python 3.x but aren't marked as 2.7 only. There seems to be 2 cases: 1. incompatibility in setup.py or related, thus failing in configure 2. incompatibility in the code itself, thus failing in byte_compile The ones in 2 fail with PYDISTUTILS_AUTOPLIST in install, because the files cannot be compiled and thus are missing when using the plist. I've got a few in PRs, few in the queue to become PR's, but perhaps a broader effort is needed? I'm willing to help, if an exp-run or something similar would generate a list. PS: A common error is: `except Exception, var:`. This can probably be fixed with a REINPLACE_CMD that can be standardized, but so far, bringing the port up-to-date with upstream fixes the problem (notable exception being www/py-beautifulsoup32). -- Melvyn ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Ports that don't actually support Python 3.x
Beautiful Soup 3.x is Python 2.x only. From the website: Beautiful Soup 3 works only under Python 2.x. http://www.crummy.com/software/BeautifulSoup/ On Sun, Jul 6, 2014 at 3:56 PM, Melvyn Sopacua mel...@magemana.nl wrote: Hello, I'm coming accross a few ports that are in the tree as we speak, that do not actually install correctly with Python 3.x but aren't marked as 2.7 only. There seems to be 2 cases: 1. incompatibility in setup.py or related, thus failing in configure 2. incompatibility in the code itself, thus failing in byte_compile The ones in 2 fail with PYDISTUTILS_AUTOPLIST in install, because the files cannot be compiled and thus are missing when using the plist. I've got a few in PRs, few in the queue to become PR's, but perhaps a broader effort is needed? I'm willing to help, if an exp-run or something similar would generate a list. PS: A common error is: `except Exception, var:`. This can probably be fixed with a REINPLACE_CMD that can be standardized, but so far, bringing the port up-to-date with upstream fixes the problem (notable exception being www/py-beautifulsoup32). -- Melvyn ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Ports that don't actually support Python 3.x
On Sun, 6 Jul 2014, Robert Simmons wrote: Beautiful Soup 3.x is Python 2.x only. From the website: I know that. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191387#c3 The port doesn't: http://svn.freebsd.org/ports/head/www/py-beautifulsoup32/Makefile That was the point of the mail. -- Melvyn ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Ports that don't actually support Python 3.x
On 7/07/2014 7:52 AM, Melvyn Sopacua wrote: On Sun, 6 Jul 2014, Robert Simmons wrote: Beautiful Soup 3.x is Python 2.x only. From the website: I know that. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191387#c3 The port doesn't: http://svn.freebsd.org/ports/head/www/py-beautifulsoup32/Makefile That was the point of the mail. -- Melvyn ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org Melvyn, Submit an issue with patch, I'll add maintainer_approval flag cc'ing maintainer if you cant, just let me know the issue ID :) These kinds of issues might also be worth granting blanket approval to fix -- Koobs ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Ports that don't actually support Python 3.x
Hi Kubilay! On Mon, 7 Jul 2014, Kubilay Kocak wrote: On 7/07/2014 7:52 AM, Melvyn Sopacua wrote: Submit an issue with patch, I'll add maintainer_approval flag cc'ing maintainer if you cant, just let me know the issue ID :) Thought I submitted more already, but they're still in the queue and django-redis was comitted. Will submit tomorrow. We also gotta decide what you wanna do with www/py-django-mezzanine. I've created a www/py-django-mezzanine3 locally, as I wasn't sure if 1.x was kept in tree for existing projects that cannot migrate. Finally got it working (read: installing) fully (* marks py3.x fixes, - marks fixes bringing the ports to py3.x): % pkg install www/py-django-mezzanine3 Updating repository catalogue The following 31 packages will be installed: Installing gettext: 0.18.3.1_1 Installing sqlite3: 3.8.5_1 Installing libxml2: 2.9.1_1 Installing openssl: 1.0.1_13 Installing png: 1.5.18 Installing jpeg: 8_5 Installing python33: 3.3.5_1 Installing py33-setuptools33: 5.1_1 Installing py33-pycrypto: 2.6.1 Installing py33-slimit: 0.8.1 Installing py33-six: 1.5.2 Installing py33-django-appconf: 0.6_1 Installing py33-beautifulsoup: 4.3.2 - Installing py33-django-mezzanine3-grappelli: 0.3.11 - Installing py33-django-mezzanine3-filebrowser: 0.3.4 Installing py33-sqlite3: 3.3.5_4 Installing postgresql91-client: 9.1.13_1 Installing freetype2: 2.5.3_2 Installing py33-pytz: 2014.4,1 Installing py33-south: 1.0 Installing py33-requests: 2.3.0 * Installing py33-oauthlib: 0.6.3 - Installing py33-html5lib: 0.999_1 Installing py33-psycopg2: 2.5.3 * Installing py33-bleach: 1.4 Installing py33-pillow: 2.4.0 Installing py33-tzlocal: 1.1.1 * Installing py33-requests-oauthlib: 0.4.1 - Installing py33-django_compressor: 1.4 Installing py33-django: 1.6.5 - Installing py33-django-mezzanine3: 3.1.7 The installation will require 190 MB more space Let me know if you want a port www/py-mezzanine3 or upgrade existing. From the top of my head, at least www/py-flup is broken and one in the deps of virtualenvwrapper. -- Melvyn ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Ports that don't actually support Python 3.x
On 7/07/2014 8:41 AM, Melvyn Sopacua wrote: Hi Kubilay! On Mon, 7 Jul 2014, Kubilay Kocak wrote: On 7/07/2014 7:52 AM, Melvyn Sopacua wrote: Submit an issue with patch, I'll add maintainer_approval flag cc'ing maintainer if you cant, just let me know the issue ID :) Thought I submitted more already, but they're still in the queue and django-redis was comitted. Will submit tomorrow. No such thing as too many issue reports, plus that way the maintainer will get to see it :) We also gotta decide what you wanna do with www/py-django-mezzanine. I'm happy to go for a straight upgrade rather than a version 2/3 split I've created a www/py-django-mezzanine3 locally, as I wasn't sure if 1.x was kept in tree for existing projects that cannot migrate. Finally got it working (read: installing) fully (* marks py3.x fixes, - marks fixes bringing the ports to py3.x): % pkg install www/py-django-mezzanine3 Updating repository catalogue The following 31 packages will be installed: Installing gettext: 0.18.3.1_1 Installing sqlite3: 3.8.5_1 Installing libxml2: 2.9.1_1 Installing openssl: 1.0.1_13 Installing png: 1.5.18 Installing jpeg: 8_5 Installing python33: 3.3.5_1 Installing py33-setuptools33: 5.1_1 Installing py33-pycrypto: 2.6.1 Installing py33-slimit: 0.8.1 Installing py33-six: 1.5.2 Installing py33-django-appconf: 0.6_1 Installing py33-beautifulsoup: 4.3.2 - Installing py33-django-mezzanine3-grappelli: 0.3.11 - Installing py33-django-mezzanine3-filebrowser: 0.3.4 Installing py33-sqlite3: 3.3.5_4 Installing postgresql91-client: 9.1.13_1 Installing freetype2: 2.5.3_2 Installing py33-pytz: 2014.4,1 Installing py33-south: 1.0 Installing py33-requests: 2.3.0 * Installing py33-oauthlib: 0.6.3 - Installing py33-html5lib: 0.999_1 Installing py33-psycopg2: 2.5.3 * Installing py33-bleach: 1.4 Installing py33-pillow: 2.4.0 Installing py33-tzlocal: 1.1.1 * Installing py33-requests-oauthlib: 0.4.1 - Installing py33-django_compressor: 1.4 Installing py33-django: 1.6.5 - Installing py33-django-mezzanine3: 3.1.7 The installation will require 190 MB more space Let me know if you want a port www/py-mezzanine3 or upgrade existing. From the top of my head, at least www/py-flup is broken and one in the deps of virtualenvwrapper. -- Melvyn If you're interested, feel free to create an Phabricator account (you can login via github twitter) so we can do the update together with review to save you time: https://phabric.freebsd.org/ Also, join us on freenode IRC (#freebsd-python) for real-time awesomeness -- Koobs ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org