Commit Graph

14858 Commits

Author SHA1 Message Date
Jean-Paul Calderone
bc424dc1d1 news fragment 2023-03-22 09:36:31 -04:00
Jean-Paul Calderone
8d0869f614 Factor some shared pieces of CircleCI configuration out
* Take DOCKERHUB_CONTEXT off of the single arbitrary job it was hung on and
  make it standalone.  This isolates it from future changes to that particular
  job.

* Take DOCKERHUB_AUTH out of `jobs` so it doesn't need a lot of extra
  boilerplate to pass schema validation.

* Give the "nixos" job a Python version parameter so it can be instantiated
  multiple times to test multiple Python versions.  Change the "NixOS
  unstable" instantiation to use Python 3.11 as a demonstration.

* Move a lot of the implementation of the "nixos" job into a "nix" executor
  and a "nix-build" command that, together, do the generic setup required to do
  any nix-based builds.
2023-03-22 09:30:52 -04:00
Jean-Paul Calderone
77d34374d1 Merge remote-tracking branch 'origin/master' into 3991.build-with-nix-for-pypy 2023-03-21 20:42:05 -04:00
Itamar Turner-Trauring
559e2ecdab
Merge pull request #1262 from tahoe-lafs/3935-happy-eyeballs
MVP happy eyeballs for HTTP storage protocol

Fixes ticket:3935
Fixes ticket:3981
2023-03-21 12:51:37 -04:00
Itamar Turner-Trauring
264269f409 Better test name. 2023-03-21 11:29:50 -04:00
Itamar Turner-Trauring
14aeaea022 Another todo. 2023-03-21 11:29:19 -04:00
Itamar Turner-Trauring
7ae8b50d14 Async! 2023-03-21 11:26:40 -04:00
Itamar Turner-Trauring
b65bc9dca7 Better explanation. 2023-03-21 11:22:43 -04:00
Itamar Turner-Trauring
e989677319 Pass in a pool instead of pool options. 2023-03-21 11:20:25 -04:00
Itamar Turner-Trauring
d96a22e48b Merge remote-tracking branch 'origin/master' into 3935-happy-eyeballs 2023-03-21 09:44:36 -04:00
Itamar Turner-Trauring
f12b78e199
Merge pull request #1271 from tahoe-lafs/3988-failing-test-http
Fix failing integration test

Fixes ticket:3988
2023-03-21 09:43:45 -04:00
Jean-Paul Calderone
a173df4561 news fragment 2023-03-21 09:29:12 -04:00
Jean-Paul Calderone
35b921b11d Put Python package overrides in one place, and add a lot more of them
These packaging changes fix issues against CPython 3.11 or PyPy.
2023-03-21 08:57:21 -04:00
Jean-Paul Calderone
dd8f6d408d Remove the non-unit test dependencies from the unit test inputs 2023-03-21 08:56:50 -04:00
Jean-Paul Calderone
41d5538921 Fix maturin build when using PyPy for the pycddl package 2023-03-21 08:56:05 -04:00
Jean-Paul Calderone
900b4a3c98 Package a version of collections-extended compatible with Python 3.11 2023-03-21 08:55:41 -04:00
Itamar Turner-Trauring
23b977a4b1 Undo unnecessary imports. 2023-03-20 15:27:16 -04:00
Itamar Turner-Trauring
815066c4de Just use the utility. 2023-03-20 15:25:52 -04:00
Itamar Turner-Trauring
cce5d3adff Don't actually need this. 2023-03-20 15:24:10 -04:00
Itamar Turner-Trauring
ded5b20924 Lint fix. 2023-03-20 15:20:39 -04:00
Itamar Turner-Trauring
aba60d2719 Run blocking tests in a thread. 2023-03-20 15:14:01 -04:00
Itamar Turner-Trauring
61d9d82c55 Make await_client_ready() non-blocking. 2023-03-20 15:02:35 -04:00
Itamar Turner-Trauring
ab300c090a Merge remote-tracking branch 'origin/master' into 3988-failing-test-http 2023-03-20 14:31:44 -04:00
Itamar Turner-Trauring
c259bdb033 Merge remote-tracking branch 'origin/master' into 3935-happy-eyeballs 2023-03-20 10:03:22 -04:00
Jean-Paul Calderone
2dfabf796f
Merge pull request #1270 from exarkun/3989.drop-tenacity-dep
Fixes: ticket:3989
2023-03-20 08:59:42 -04:00
Jean-Paul Calderone
6a4346587c Fix the type annotations 2023-03-17 15:46:27 -04:00
Jean-Paul Calderone
5cf892b441 Also remove it from the Nix packaging 2023-03-17 15:32:13 -04:00
Jean-Paul Calderone
a9f3465568 news fragment 2023-03-17 15:31:07 -04:00
Jean-Paul Calderone
a3ebd21b25 implement retry ourselves, don't depend on tenacity 2023-03-17 15:30:14 -04:00
Itamar Turner-Trauring
a24e6bd7f9 Try to rewrite test_get_put.py::test_large_file into system-style test. 2023-03-16 16:31:28 -04:00
Jean-Paul Calderone
8431bbff67
Merge pull request #1261 from danielzwlee/3970.type-annotations-clean
Fixes: ticket:3970
2023-03-16 08:26:01 -04:00
Jean-Paul Calderone
e033f25d0a
Merge pull request #1267 from exarkun/replace-mach-nix
Fixes: ticket:3987
2023-03-15 18:08:48 -04:00
Jean-Paul Calderone
2a8867f6cf more packaging instructions 2023-03-15 15:47:43 -04:00
Itamar Turner-Trauring
52f43cefea Add 3.11. 2023-03-15 15:44:45 -04:00
Jean-Paul Calderone
aaaec9a69d package update instructions 2023-03-15 15:42:52 -04:00
Jean-Paul Calderone
b665240523 Merge remote-tracking branch 'origin/master' into replace-mach-nix 2023-03-15 15:33:03 -04:00
Jean-Paul Calderone
324a5ba397 give the reader a hint about the interpretation of ./. 2023-03-14 20:40:08 -04:00
Jean-Paul Calderone
505032d0ca a note about what this is and what's going on upstream 2023-03-14 20:38:46 -04:00
danielzwlee
2e2bbc1bcf Sync branch with master and resolve merge conflicts
:#	new file:   src/allmydata/util/cputhreadpool.py
2023-03-14 14:49:01 -05:00
Itamar Turner-Trauring
24212b412c Fix 3.11 runs. 2023-03-14 13:01:45 -04:00
Itamar Turner-Trauring
dd07a39399 Don't bother with persistent connections when testing NURLs. 2023-03-14 13:01:10 -04:00
Itamar Turner-Trauring
f8ea650b92 Wait for current loop iteration to finish before moving on to next iteration. 2023-03-14 12:03:11 -04:00
Itamar Turner-Trauring
c97e07dc63
Merge pull request #1263 from tahoe-lafs/3959-more-end-to-end-tests
More end to end tests

Fixes ticket:3959
2023-03-14 11:31:41 -04:00
Jean-Paul Calderone
10414e80ed Remove some unnecessary hierarchy
I thought `default.nix` was handled specially for the purposes of automatic
parameter population but it isn't.  Instead, you just need this `args@{...}`
pattern.
2023-03-14 10:25:02 -04:00
Jean-Paul Calderone
ff50bfe5c4 Accept all the arguments default.nix accepts, too 2023-03-14 10:19:49 -04:00
Jean-Paul Calderone
ea5928ce53 news fragment 2023-03-14 10:19:27 -04:00
Itamar Turner-Trauring
d7018905b9 Switch away from using stdin, it's flaky on Windows. 2023-03-14 09:57:29 -04:00
Jean-Paul Calderone
d648592a87 get the helper ... 2023-03-13 19:43:16 -04:00
Jean-Paul Calderone
99559638b9 remove some repetition in the package definition 2023-03-13 19:03:26 -04:00
Jean-Paul Calderone
6e6fc2d307 The Nix test expression includes a package build, so just do that 2023-03-13 19:02:54 -04:00