14878 Commits

Author SHA1 Message Date
Jean-Paul Calderone
4be12c57b8 Turn off unit test concurrency on PyPy 2023-03-22 09:58:32 -04:00
Jean-Paul Calderone
538dbe5ce9 Find the Python executable when building for PyPy 2023-03-22 09:58:32 -04:00
Jean-Paul Calderone
a80effe290 Add NixOS/PyPy jobs to the CircleCI configuration 2023-03-22 09:58:31 -04:00
Jean-Paul Calderone
d196e519ef Remove the GitHub Actions Ubuntu/PyPy jobs 2023-03-22 09:57:54 -04:00
Jean-Paul Calderone
3266f5d59d Remove the old Debian-based PyPy CircleCI configuration 2023-03-22 09:57:53 -04:00
Jean-Paul Calderone
cb905dd903 news fragment 2023-03-22 09:56:27 -04:00
Jean-Paul Calderone
1a4170003f adjust the shape of the test-related parameters a bit 2023-03-22 09:54:19 -04:00
Jean-Paul Calderone
934b6c6d6e support 22.11 as well as current unstable
This looks better than what was here before anyway.  It would be even
nicer if we could stick with propagatedBuildInputs since that's the
documented parameter for runtime dependencies.  However, when using
that, foolscap's `flogtool` is unavailable to the test suite.
2023-03-22 09:52:32 -04:00
Jean-Paul Calderone
1ef65a37ee It already has a postN suffix 2023-03-22 09:52:32 -04:00
Jean-Paul Calderone
c601805f72 Remove GitHub Actions Ubuntu integration tests job 2023-03-22 09:52:24 -04:00
Jean-Paul Calderone
24590226b4 Run the integration tests on CircleCI 2023-03-22 09:51:32 -04:00
Jean-Paul Calderone
c17341c2d9 Allow the test package to run unit or integration tests 2023-03-22 09:48:28 -04:00
Jean-Paul Calderone
9393c9ad10 Allow the child process to use the environment to find things 2023-03-22 09:47:36 -04:00
Jean-Paul Calderone
a2a21c3730 Skip the tor integration tests if tor is missing 2023-03-22 09:47:36 -04:00
Jean-Paul Calderone
dafd084768 Exercise Python 3.8 - Python 3.11 using NixOS on CircleCI 2023-03-22 09:47:34 -04:00
Jean-Paul Calderone
9942281e07 Restore the other Docker image builder jobs 2023-03-22 09:46:02 -04:00
Jean-Paul Calderone
f3104f5d71 Add Ubuntu 22.04 CPython 3.10 unit test job to CircleCI 2023-03-22 09:43:29 -04:00
Jean-Paul Calderone
362b2591a3 Add the Ubuntu 22.04 CI Docker image builder job 2023-03-22 09:43:29 -04:00
Jean-Paul Calderone
7e12449129 Remove ubuntu-latest unit test runner from GitHub Actions
This removes Ubuntu CPython 3.8 - 3.11 unit test coverage
2023-03-22 09:42:56 -04:00
Jean-Paul Calderone
727d10af93 hit the right build target 2023-03-22 09:40:58 -04:00
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