Itamar Turner-Trauring
d05a1313d1
Don't change versions for now, use strings so it'll be future compatible with 3.10.
2022-12-12 10:54:23 -05:00
Itamar Turner-Trauring
742b352861
Whitespace.
2022-12-12 10:52:17 -05:00
Itamar Turner-Trauring
106df423be
Another approach.
2022-12-12 10:52:01 -05:00
Itamar Turner-Trauring
c5c616afd5
Garbage.
2022-12-12 10:44:49 -05:00
Itamar Turner-Trauring
844ae0dee3
Merge remote-tracking branch 'origin/master' into 3937-integration-http-storage
2022-12-12 10:43:51 -05:00
Itamar Turner-Trauring
98e25507df
A different approach to forcing foolscap in integration tests.
2022-12-12 10:43:36 -05:00
Jean-Paul Calderone
ea0426318e
news fragment
2022-12-12 10:02:43 -05:00
Jean-Paul Calderone
d5380fe156
regular ci config
2022-12-09 14:27:37 -05:00
Jean-Paul Calderone
e835ed538f
Okay don't quote it then
2022-12-09 14:18:40 -05:00
Jean-Paul Calderone
43c044a11b
build me the images
2022-12-09 14:13:29 -05:00
Jean-Paul Calderone
666cd24c2b
Also constrain tox here
2022-12-09 14:12:50 -05:00
Jean-Paul Calderone
13aa000d0b
Some features we depend on are broken in tox 4
2022-12-09 14:12:43 -05:00
Jean-Paul Calderone
f6a46c86d2
Populate the wheelhouse with a working version of tox
2022-12-09 14:12:20 -05:00
Jean-Paul Calderone
6485eb5186
Also constrain tox here
2022-12-09 14:08:59 -05:00
Jean-Paul Calderone
88ee978d98
Some features we depend on are broken in tox 4
2022-12-09 14:06:24 -05:00
Jean-Paul Calderone
11fb194d74
kick ci
2022-12-09 14:00:41 -05:00
Itamar Turner-Trauring
1eba202c08
Merge pull request #1231 from tahoe-lafs/3939-faster-http-protocol
...
Faster http protocol, part 1 (and maybe faster Foolscap too, while we're at it)
Fixes ticket:3939
2022-12-05 14:05:55 -05:00
Jean-Paul Calderone
daecfc63b9
Merge pull request #1233 from tahoe-lafs/3874.fix-testing-helper-encoding
...
Fix a testing helper
2022-12-02 10:27:58 -05:00
Jean-Paul Calderone
c542b84637
remove the annotations
...
everything is broken on older pythons
2022-12-02 08:47:07 -05:00
Jean-Paul Calderone
c6cc3708f4
Fixup the annotations a bit
2022-12-02 08:38:46 -05:00
Jean-Paul Calderone
b40d882fce
remove unused import
2022-12-02 08:28:22 -05:00
Jean-Paul Calderone
a84b278ecd
support older pythons
2022-12-02 08:26:15 -05:00
Jean-Paul Calderone
9619e286f4
Switch the web testing double to BytesKeyDict
...
This will catch more str/bytes errors by default than `dict`
2022-12-02 08:16:02 -05:00
meejah
3041e97f44
Merge pull request #1212 from meejah/3921.exit-on-stdin-close
...
exit on stdin close
2022-12-02 02:04:46 -07:00
meejah
3d831f653b
cleanup
2022-12-01 23:58:53 -07:00
meejah
89b6a008d2
since 'coverage report' is what fails with disk-space on windows, try turning it off
2022-12-01 23:24:24 -07:00
meejah
20b3594d12
exarkun wants a helper
2022-12-01 17:05:58 -07:00
meejah
36ed554627
proto -> transport
2022-12-01 17:03:48 -07:00
meejah
3d43cbccc9
log less-specific failures
2022-12-01 17:01:38 -07:00
meejah
c57d1aa8a9
Merge branch 'master' into 3921.exit-on-stdin-close
2022-12-01 16:58:37 -07:00
meejah
7ffcfcdb67
Update src/allmydata/test/test_runner.py
...
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2022-12-01 16:47:40 -07:00
meejah
1eb4a4adf8
Update newsfragments/3921.feature
...
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2022-12-01 16:47:24 -07:00
Itamar Turner-Trauring
c93ff23da7
Don't send empty string writes.
2022-12-01 14:54:28 -05:00
Itamar Turner-Trauring
8ed333b171
Correct explanation.
2022-12-01 14:45:45 -05:00
Itamar Turner-Trauring
0ba58070cd
Tweaks.
2022-12-01 14:45:39 -05:00
Itamar Turner-Trauring
d4c202307c
Better method name.
2022-12-01 14:43:49 -05:00
Itamar Turner-Trauring
17dfda6b5a
More direct API.
2022-12-01 14:42:52 -05:00
Itamar Turner-Trauring
1436eb0fb6
Better explanation.
2022-12-01 14:26:41 -05:00
Jean-Paul Calderone
7cc023a590
Merge pull request #1229 from tahoe-lafs/3944.github-actions-updates
...
GitHub Actions updates
Fixes: ticket:3944
2022-11-30 09:58:00 -05:00
Jean-Paul Calderone
05dfa875a7
Quite a mypy warning about formatting bytes into a string
2022-11-30 09:46:13 -05:00
Jean-Paul Calderone
156954c621
no longer any need to "daisy chain" this value
2022-11-30 09:43:01 -05:00
Jean-Paul Calderone
e72847115b
news fragment
2022-11-30 09:37:26 -05:00
Jean-Paul Calderone
a11eeaf240
Convert all of the asynchronous functions to use async
and await
2022-11-30 09:30:37 -05:00
Jean-Paul Calderone
1acf8604ef
Remove the Py2/Py3 compatibility header
2022-11-30 09:30:08 -05:00
Jean-Paul Calderone
5cebe91406
update the module docstring
2022-11-30 09:29:57 -05:00
Jean-Paul Calderone
4367e5a0fc
Bump the Twisted dependency so we can do this
2022-11-30 09:28:58 -05:00
Jean-Paul Calderone
6c0e5f5807
news fragment
2022-11-29 10:52:02 -05:00
Jean-Paul Calderone
02aeb68f17
Take care with str vs bytes in the implementation
...
Also replace the intentional BAD_REQUEST with GONE for this case.
2022-11-29 10:51:07 -05:00
Jean-Paul Calderone
d7fe25f7c7
Correct the assertion about how "not found" should be handled
...
Behavior verified visually against a live client node:
```
❯ curl -v 'http://localhost:3456/uri/URI:CHK:cmtcxq7hwxvfxan34yiev6ivhy:qvcekmjtoetdcw4kmi7b3rtblvgx7544crnwaqtiewemdliqsokq:1:1:1 '
* Trying 127.0.0.1:3456...
* Connected to localhost (127.0.0.1) port 3456 (#0 )
> GET /uri/URI:CHK:cmtcxq7hwxvfxan34yiev6ivhy:qvcekmjtoetdcw4kmi7b3rtblvgx7544crnwaqtiewemdliqsokq:1:1:1 HTTP/1.1
> Host: localhost:3456
> User-Agent: curl/7.83.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 410 Gone
< X-Frame-Options: DENY
< Referrer-Policy: no-referrer
< Server: TwistedWeb/22.10.0
< Date: Tue, 29 Nov 2022 15:39:47 GMT
< Content-Type: text/plain;charset=utf-8
< Accept-Ranges: bytes
< Content-Length: 294
< ETag: ui2tnwl5lltj5clzpyff42jdce-
<
NoSharesError: no shares could be found. Zero shares usually indicates a corrupt URI, or that no servers were connected, but it might also indicate severe corruption. You should perform a filecheck on this object to learn more.
The full error message is:
* Connection #0 to host localhost left intact
no shares (need 1). Last failure: None
```
2022-11-29 10:49:20 -05:00
Jean-Paul Calderone
57f13a2472
news fragment
2022-11-29 10:20:13 -05:00