Commit Graph

9076 Commits

Author SHA1 Message Date
Jean-Paul Calderone
ec304a8c2a Constrain to older pip that might be less broken
Trying to fix appveyor failure:

```
Obtaining file:///C:/projects/tahoe-lafs
    Complete output from command python setup.py egg_info:
    warning: no previously-included files found matching 'pyproject.toml'

    Installed c:\projects\tahoe-lafs\.eggs\setuptools-41.0.1-py2.7.egg
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\projects\tahoe-lafs\setup.py", line 297, in <module>
        **setup_args
      File "c:\python27\Lib\distutils\core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "C:\projects\tahoe-lafs\.tox\coverage\lib\site-packages\setuptools\dist.py", line 272, in __init__
        _Distribution.__init__(self,attrs)
      File "c:\python27\Lib\distutils\dist.py", line 287, in __init__
        self.finalize_options()
      File "C:\projects\tahoe-lafs\.tox\coverage\lib\site-packages\setuptools\dist.py", line 327, in finalize_options
        ep.load()(self, ep.name, value)
      File "C:\projects\tahoe-lafs\.tox\coverage\lib\site-packages\pkg_resources\__init__.py", line 2202, in load
        return self.resolve()
      File "C:\projects\tahoe-lafs\.tox\coverage\lib\site-packages\pkg_resources\__init__.py", line 2212, in resolve
        raise ImportError(str(exc))
    ImportError: 'module' object has no attribute 'check_specifier'
```
2019-05-13 10:09:01 -04:00
Jean-Paul Calderone
463f6ae63c sigh, I don't know 2019-05-13 09:35:31 -04:00
Jean-Paul Calderone
79a230cce5 Fix stopping on Windows 2019-05-13 09:31:46 -04:00
Jean-Paul Calderone
d8b65d1374 Merge remote-tracking branch 'origin/master' into 3025.fix-test_runner-hangs 2019-05-13 07:19:59 -04:00
Jean-Paul Calderone
6110fb0b9c Skip the PID file checks on Windows 2019-05-13 06:28:57 -04:00
Jean-Paul Calderone
b5659bd312 Some gc hinting and docs 2019-05-09 15:45:07 -06:00
Jean-Paul Calderone
8368a72657 news fragment 2019-05-09 15:45:07 -06:00
Jean-Paul Calderone
b31acb790a Try to clean up the fds created by listenOnUnused that might leak 2019-05-09 15:45:07 -06:00
meejah
a431ea2241
Merge pull request #609 from tahoe-lafs/3036.remove-test-suite-timeout-overrides
remove test suite timeout overrides
2019-05-09 21:44:32 +00:00
Jean-Paul Calderone
af3905ac32 Cannot skipsdisk if you don't want usedevelop 2019-05-08 18:42:17 -06:00
Jean-Paul Calderone
083971d457 news fragment 2019-05-08 18:42:17 -06:00
Jean-Paul Calderone
383d1361c8 Turn off usedevelop
It produces less useful test results by testing against a "develop"-installed
codebase.  This masks bugs in our setup.py.
2019-05-08 18:42:17 -06:00
Jean-Paul Calderone
b477a4656d Also install the test plugins. 2019-05-08 18:42:17 -06:00
Jean-Paul Calderone
628c7e7c5f remove the custom timeouts 2019-05-08 18:39:26 -06:00
Jean-Paul Calderone
f350cc68a9 news fragment 2019-05-08 18:38:40 -06:00
meejah
b1414249f7
Merge pull request #612 from advanced4/master
update client.py to use DEFAULT_MAX_SEGMENT_SIZE
2019-05-09 00:36:52 +00:00
meejah
c29ddc1b4a
Merge pull request #607 from tahoe-lafs/3030-python3-syntax
enforce python3 syntax
2019-05-09 00:32:21 +00:00
meejah
bc3d48ef30 get rid of skipIf usage 2019-05-08 14:52:19 -06:00
advanced4
ba7e23a407
Merge pull request #1 from advanced4/advanced4-patch-1
update client.py to use DEFAULT_MAX_SEGMENT_SIZE
2019-05-08 16:07:14 -04:00
advanced4
ef127f113d
update client.py to use DEFAULT_MAX_SEGMENT_SIZE 2019-05-08 16:04:57 -04:00
heartsucker
bade09cf14
enforce python3 syntax 2019-05-03 18:12:57 +02:00
Jean-Paul Calderone
b38a724d3d remove unused things 2019-05-03 12:09:21 -04:00
Jean-Paul Calderone
86d33e19c5 no more "tahoe start" here at all 2019-05-03 12:09:10 -04:00
Jean-Paul Calderone
aac36fb30a fix line separator 2019-05-03 12:09:03 -04:00
Jean-Paul Calderone
97e8ba8301 Remove test_client_no_noise and rewrite test_introducer
"tahoe run" has no quiet option so `test_client_no_noise` is not applicable.

This is a loss of the coverage of the quiet option for `tahoe start`.  That is
unfortunate but fixing any `tahoe start`-using test is really hard and the
functionality that is no longer covered is so trivial it hardly seems like it
made sense to test it by running multiple tahoe child processes anyway.
2019-05-03 11:36:11 -04:00
Jean-Paul Calderone
0e8472c017 rewrite test_baddir as several tahoe run-using tests 2019-05-03 08:55:35 -04:00
Jean-Paul Calderone
57fc078383 factor cleanup into api class 2019-05-03 07:27:58 -04:00
Jean-Paul Calderone
5a1183500e rewrite RunNode.test_client to use "tahoe run" 2019-05-02 14:21:35 -04:00
Jean-Paul Calderone
e6da5e6a82 Switch to simpler, declarative skip style 2019-05-02 12:52:06 -04:00
Jean-Paul Calderone
bc00513d33 news fragment 2019-05-02 12:51:06 -04:00
meejah
e63ee9b37e
Merge pull request #604 from ArdaXi/master
Make isdir argument to _ErrorTarget optional
2019-04-28 04:30:58 +00:00
Arda Xi
7ac0b93148 Specify news fragment for 2950 2019-04-26 21:40:21 +02:00
Jean-Paul Calderone
0ab197d928 Add a test for the problematic case
Get the name in the warning right
2019-04-26 21:39:23 +02:00
Jean-Paul Calderone
de8229345f news fragment 2019-04-26 21:39:23 +02:00
meejah
fee6eb38a9
Merge pull request #603 from tahoe-lafs/3028-string-literals
updated string literal syntax for python3 compatibility
2019-04-26 17:39:38 +00:00
meejah
27a0a7400d
Merge pull request #600 from tahoe-lafs/3019-remove-tuple-unpacking
3019 remove tuple unpacking, Fixes: ticket:3019
2019-04-26 17:37:56 +00:00
heartsucker
05e0d19cca
updated string literal syntax for python3 compatibility 2019-04-25 11:18:33 +02:00
meejah
318be89497
Merge pull request #602 from tahoe-lafs/3027-remove-backticks
removed use of backticks for repr for python3 compatibility
2019-04-23 17:49:50 +00:00
Arda Xi
2d6cc26127 Make isdir argument to _ErrorTarget optional 2019-04-21 19:33:41 +02:00
heartsucker
c0939e9b99
removed use of backticks for repr for python3 compatibility 2019-04-18 13:50:21 +02:00
heartsucker
a087a5be72
removed tuple unpacking in function definitons for python3 compatibility 2019-04-18 13:37:18 +02:00
heartsucker
0e7f271494
added dropin.cache to .gitignore 2019-04-18 12:58:58 +02:00
Jean-Paul Calderone
48a2b42ec1
Merge pull request #601 from tahoe-lafs/3026.more-eaddrinuse-fixes
Fix more test suite code that can spuriously trip over EADDRINUSE

Fixes: ticket:3026
2019-04-17 16:22:45 -04:00
Jean-Paul Calderone
123e2480f7 news fragment 2019-04-16 11:32:29 -04:00
Jean-Paul Calderone
edba0747a3 Use listenOnUnused instead of allocate_tcp_port in create_log_tub 2019-04-16 11:32:27 -04:00
Jean-Paul Calderone
6ea1684995 use listenOnUnused instead of allocate_tcp_port in create_control_tub 2019-04-16 11:26:52 -04:00
Jean-Paul Calderone
9a30eaa83c move listenOnUnused to a place where implementation code can use it 2019-04-16 11:26:15 -04:00
meejah
1f5b647bee simplify comment (from review) 2019-04-09 15:35:45 -06:00
meejah
c731473d9e newer towncrier works with py2.7 2019-04-09 15:35:29 -06:00
meejah
972f6eb835 newfragment 2019-04-09 15:00:12 -06:00