Commit Graph

12 Commits

Author SHA1 Message Date
Brian Warner
3da52b0a3e add 'mock', building out test_wormhole 2016-05-22 11:31:00 -07:00
Brian Warner
a4ce663c31 tox.ini: pyflakes-1.2.3 is out, and works
This no longer suffers from the bug which caused pyflakes to crash when
it sees "from . import x".
2016-05-12 16:43:46 -07:00
Brian Warner
3f5b66eddc pyflakes-1.2.2 is broken too 2016-05-06 15:45:48 -07:00
Brian Warner
46fb9d9cfc tox: reject pyflakes-1.2*, due to a bug
https://bugs.launchpad.net/pyflakes/+bug/1560134 causes an internal
error in pyflakes 1.2.0 and 1.2.1 when it encounters one of our "from .
import x" statements.
2016-05-06 08:54:25 -07:00
Brian Warner
7a5a99a1a8 unsplit tests step 3: modify files 2016-04-20 18:54:10 -07:00
Brian Warner
f9e3b83456 move tests step 2: fix imports, setup.py, tox.ini 2016-04-18 16:45:03 -07:00
Brian Warner
83c2612fc3 Require twisted (>=16.1.0) all the time.
The core Wormhole exchange will retain a blocking/non-Twisted
implementation, but the file-transferring Transit class is going to be
Twisted-only (maybe Twisted+asyncio). I want to improve the
protocol (add more parallelism, reduce round-trips), and the blocking
implementation is a messy bundle of threads and ick.

When this process is done (eventually), I'll be splitting out the
blocking Wormhole class into a separate distribution, which doesn't
depend upon Twisted.
2016-04-18 15:47:05 -07:00
Brian Warner
c856081a58 tox: we no longer need twisted-trunk, 16.1.0 is good 2016-04-15 16:09:23 -07:00
Brian Warner
d86dc05b5f tox: remove 'meta', do pyflakes/smoketest in each build 2016-03-02 13:35:12 -08:00
Brian Warner
f28f294138 first attempt at windows builds, with appveyor.com
The .appveyor.yml tells the tox.ini to install pypiwin32 directly,
rather than through a "twisted[windows]" extra. I wasn't able to get the
"extra" syntax to work properly under appyeyor, even though it worked ok
for me locally.

We use an extra "meta" tox environment to run "wormhole --version". This
confirms that versioneer is getting the right value, since we're now
running it from an installed sdist, rather than a checked-out git source
tree.
2016-02-27 16:11:02 -08:00
Brian Warner
cc9b2c574b tox: temporary workaround for twisted bug
Install twisted from git trunk until a release after twisted-15.5.0.
2016-02-27 14:43:33 -08:00
Brian Warner
101ac4c1af switch to tox for running tests 2016-02-27 14:39:56 -08:00