Commit Graph

8494 Commits

Author SHA1 Message Date
tpltnt
14453f2aea added newsfragment about porting classes 2019-05-26 08:28:18 +02:00
tpltnt
4c2f0db5d2 made OneShotObserverList a new-style class 2019-05-26 08:28:18 +02:00
tpltnt
c8f11dc2d3 ported old-style classes to new-style 2019-05-26 08:28:18 +02:00
meejah
b55034853c
Merge pull request #614 from tpltnt/some-circle-ci-fixes
circle-ci fixes
2019-05-25 23:32:07 +00:00
tpltnt
938c8fe63d added newsfragment 2019-05-22 10:31:08 +02:00
tpltnt
cbec4f803a fixing codechecks / lint for circleci 2019-05-22 10:31:08 +02:00
Jean-Paul Calderone
4a6fae142c
Merge pull request #608 from tahoe-lafs/3029.install-test-plugins
Install test plugins

Fixes: ticket:3029
2019-05-15 12:03:59 -04:00
Jean-Paul Calderone
b4459c2dc1 Merge remote-tracking branch 'origin/master' into 3029.install-test-plugins 2019-05-14 06:26:19 -04:00
Jean-Paul Calderone
bee18e143e
Merge pull request #610 from tahoe-lafs/3038.stop-leaking-file-descriptors
Stop leaking file descriptors

Fixes: ticket:3038
2019-05-14 06:13:48 -04:00
Jean-Paul Calderone
e6c9131779 Merge remote-tracking branch 'origin/master' into 3038.stop-leaking-file-descriptors 2019-05-14 04:13:54 -04:00
Jean-Paul Calderone
31936111c5
Merge pull request #611 from tahoe-lafs/3025.fix-test_runner-hangs
Replace "tahoe start" with "tahoe run" in some of test_runner to fix CI hangs

Fixes: ticket:3025
2019-05-14 04:13:04 -04:00
Jean-Paul Calderone
0294d14401 explain the new pip freeze in the coverage commands 2019-05-14 03:37:35 -04:00
Jean-Paul Calderone
aec341eea8 explain the pinning in tox deps config 2019-05-14 03:36:34 -04:00
Jean-Paul Calderone
1717243212 Re-pin these because it's nice to know what versions we're using 2019-05-13 11:32:02 -04:00
Jean-Paul Calderone
9bbdbf3fe7 get rid of this I guess 2019-05-13 11:23:04 -04:00
Jean-Paul Calderone
26dad41c82 Pin the older tox to see if that helps 2019-05-13 11:19:15 -04:00
Jean-Paul Calderone
7c71dd6e14 going to try another fix 2019-05-13 11:18:39 -04:00
Jean-Paul Calderone
27962dcd2f Try pinning *new* versions
Tox released 4 hours ago ******BROKE****** everything by removing the
upgrade-these-packages-automatically feature.

Not that I'm bitter.
2019-05-13 11:14:05 -04:00
Jean-Paul Calderone
f82d74f327 Dump more tox logs
Because we still don't know what versions of python packages are installed
2019-05-13 10:36:35 -04:00
Jean-Paul Calderone
33bd9bf503 Get a not-*quite*-so-old version of pip 2019-05-13 10:31:46 -04:00
Jean-Paul Calderone
abf319888d Try pinning pip another way
Previous commit didn't yield any information because the error happens before
the commands are run.
2019-05-13 10:27:41 -04:00
Jean-Paul Calderone
f17647f29c Find out what versions are in the tox environment 2019-05-13 10:23:18 -04:00
Jean-Paul Calderone
f5d5a1311f Maybe this is how you do quotes on Windows 2019-05-13 10:18:11 -04:00
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