Commit Graph

15233 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
2292d64fcd Set a better content type for data downloads. 2023-05-01 11:49:09 -04:00
Itamar Turner-Trauring
fbd6dbda47 text/html is a bad default content type. 2023-05-01 11:42:02 -04:00
Itamar Turner-Trauring
5f19605075 During testing, ensure we're not getting text/html unexpectedly. 2023-05-01 11:41:51 -04:00
Jean-Paul Calderone
0af84c9ac1 news fragment 2023-05-01 09:28:46 -04:00
Jean-Paul Calderone
3c660aff5d a comment about the other test extra 2023-05-01 09:19:01 -04:00
Jean-Paul Calderone
fa034781b4 Perhaps this is the correct way to locate the tox-managed venv 2023-04-28 14:29:21 -04:00
Jean-Paul Calderone
04ef5a02b2 eh ... these things moved into the tox-managed venv
not intentional but not sure what a _good_ fix is, so try this.
2023-04-28 14:12:01 -04:00
Jean-Paul Calderone
29c0ca5974 put the tox installation near other software installation 2023-04-28 13:51:22 -04:00
Jean-Paul Calderone
a088b1d812 don't bother to make a wheel of tox, just install it 2023-04-28 13:49:14 -04:00
Jean-Paul Calderone
d67016d1b9 Get the right version of tox in the wheelhouse 2023-04-28 13:39:49 -04:00
Jean-Paul Calderone
f0b98aead5 You don't need tox *inside* your test environment.
You need tox to *manage* your test environment (this is the premise, at least).
2023-04-28 13:33:25 -04:00
Itamar Turner-Trauring
c15dd6c9f0 This wasn't the issue. 2023-04-28 11:43:48 -04:00
Itamar Turner-Trauring
44cd746ce4 Limit klein version for now. 2023-04-28 11:43:26 -04:00
Jean-Paul Calderone
f48eb81d9d restrict werkzeug more, at least for the moment 2023-04-28 07:57:51 -04:00
Jean-Paul Calderone
17706f582e use tox testenv extras to request testenv too 2023-04-28 07:52:05 -04:00
Jean-Paul Calderone
70caa22370 have to do certifi in tox.ini
by the time setup.py is being processed it is too late for certifi to help
2023-04-28 07:51:45 -04:00
Jean-Paul Calderone
f6e4e862a9 Require that the actual test run step do this part
Keep this script to wheelhouse population.  We might be giving up a tiny bit
of performance here but let's make it work at all before we make it fast.
2023-04-28 07:50:50 -04:00
Itamar Turner-Trauring
0f200e422e Give it more time. 2023-04-27 15:48:49 -04:00
Jean-Paul Calderone
29961a08b2 typo in the requirements list... 2023-04-27 11:40:49 -04:00
Jean-Paul Calderone
66d3de0594 narrowly pin these dependencies
This will break because these are not the versions on all Docker CI images but
we need to pin them to rebuild those images with the correct versions.

Rebuilding the images might break CI for all other branches.  But!  It's
broken already, so it's not like it's any worse.
2023-04-27 11:31:26 -04:00
Jean-Paul Calderone
58ccecff54 Take a step towards unifying dependency pins used by tox env and Docker image building 2023-04-27 11:17:19 -04:00
Jean-Paul Calderone
4d5b9f2d0c match the version in the docker image
it is maybe wrong that we pin a specific version here and also only include a
specific version (probably some interpretation of "the most recent release")
in the docker image...
2023-04-27 10:48:46 -04:00
Jean-Paul Calderone
f9269158ba news fragment 2023-04-27 10:46:58 -04:00
Jean-Paul Calderone
3d0c872f4c restrict CI jobs to the wheelhouse 2023-04-27 10:44:10 -04:00
Itamar Turner-Trauring
9faf742b41 News file. 2023-04-27 10:36:59 -04:00
Itamar Turner-Trauring
86a513282f Include Foolscap logging in node output in integration tests. 2023-04-27 10:36:39 -04:00
Itamar Turner-Trauring
8f1d1cc1a0 Include node name in the logging output from subprocesses. 2023-04-27 10:23:06 -04:00
Jean-Paul Calderone
c0e49064ce Attempt to get more information about client unready state 2023-04-27 09:50:02 -04:00
Itamar Turner-Trauring
6d961eada9
Merge pull request #1289 from tahoe-lafs/4012.add-timeout-to-http-client
Add timeout to the blocking http client

Fixes ticket:4012
2023-04-27 09:13:44 -04:00
Itamar Turner-Trauring
a559e8447e Merge remote-tracking branch 'origin/master' into 4009-more-logging 2023-04-27 09:08:58 -04:00
Itamar Turner-Trauring
194a160c44
Merge pull request #1286 from tahoe-lafs/4005-more-http-storage-logging
More http storage logging

Fixes ticket:4005
2023-04-27 09:08:03 -04:00
Itamar Turner-Trauring
f9a1eedaea Make timeout optional, enable it only for integration tests. 2023-04-25 12:31:37 -04:00
Jean-Paul Calderone
fbb5f4c359 slightly clarified comment 2023-04-25 09:31:10 -04:00
Jean-Paul Calderone
825bcf3f3b revert reformatting 2023-04-25 09:31:04 -04:00
Jean-Paul Calderone
ba387453cf it's a bug fix!
it's user-facing!
2023-04-25 09:30:53 -04:00
Jean-Paul Calderone
c595eea33e always set the "start time" timeout
in both the "we installed it ourselves" and the "we found an existing
installation" cases.
2023-04-25 09:27:51 -04:00
Jean-Paul Calderone
3d2e4d0798 note about port selection 2023-04-25 09:26:58 -04:00
Jean-Paul Calderone
73d9a4cd3b
Merge pull request #1 from meejah/3999.structure-config-manipulation
Fix Tor support in the introducer
2023-04-25 09:20:46 -04:00
Itamar Turner-Trauring
558e3bf797 Fix unnecessary conversion. 2023-04-25 08:46:57 -04:00
Itamar Turner-Trauring
430e98d83a Merge remote-tracking branch 'origin/master' into 4005-more-http-storage-logging 2023-04-25 08:40:26 -04:00
Itamar Turner-Trauring
4cdd4488bf
Merge pull request #1290 from tahoe-lafs/4014-remove-pylint
Remove pylint and flake8, replacing with ruff

Fixes ticket:4014
2023-04-25 08:37:00 -04:00
Itamar Turner-Trauring
ebed5100b9 Switch to longer timeout so it's unlikely to impact users. 2023-04-25 08:16:12 -04:00
Itamar Turner-Trauring
1371ffe9dc Just have ruff in one place. 2023-04-25 08:14:26 -04:00
Itamar Turner-Trauring
2a4dcb7a27 More checks that are probably useful (doesn't trigger anything at the moment). 2023-04-17 13:08:26 -04:00
Itamar Turner-Trauring
5da5a82a8c Get rid of default mutable arguments. 2023-04-17 13:08:21 -04:00
Itamar Turner-Trauring
b5dd8def15 Merge branch '4014-remove-pylint' into 4015-more-linting 2023-04-17 11:29:53 -04:00
Itamar Turner-Trauring
ce93a7b869 News fragment. 2023-04-17 11:29:43 -04:00
Itamar Turner-Trauring
c05afb19df Don't install code, it's not necessary. 2023-04-17 10:33:31 -04:00
Itamar Turner-Trauring
6517cd4a48 Fix lint found by ruff. 2023-04-17 10:22:27 -04:00
Itamar Turner-Trauring
7b33931df2 Replace flake8 with ruff. 2023-04-17 10:21:20 -04:00