[Twisted-web] Nevow and python 3

Werner Thie werner at thieprojects.ch
Sat Jan 27 15:09:24 MST 2018


Aloha Markus

just spent a few minutessetting up a python3 venv and have trial working 
through the tests. Observations so far

twisted pip installation fails with

Building wheels for collected packages: twisted
   Running setup.py bdist_wheel for twisted ... error
   Complete output from command /home/wthie/proj/nevowport/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-u8jezyy7/twisted/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpb5r0x53kpip-wheel- --python-tag cp36:
   usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
      or: -c --help [cmd1 cmd2 ...]
      or: -c --help-commands
      or: -c cmd --help

   error: invalid command 'bdist_wheel'

   ----------------------------------------
   Failed building wheel for twisted
   Running setup.py clean for twisted

But trial seemed to start up ok, so I proceeded to install your nevow 
fork with

python setup.py install

and then ran trial on nevow and formless with

trial test.nevow.test

Ran 856 tests in 1.333s

FAILED (skips=22, expectedFailures=2, failures=1, errors=4, successes=827)

trial formless.test

Ran 18 tests in 0.019s

FAILED (errors=6, successes=12)

I hope this is in sync with your experience, if not please advise.

Mahalo, Werner

On 01/26/2018 06:41 AM, Markus Demleitner wrote:
>   Hi Werner,
>
> On Thu, Jan 25, 2018 at 10:09:24AM -1000, Werner Thie wrote:
>> Fair enough, I assume you forked Nevow, is the code accessible publicly?
> It's on https://github.com/msdemlei/nevow.git.
>
>        -- Markus
>
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web



More information about the Twisted-web mailing list