Commit Graph

11106 Commits

Author SHA1 Message Date
Jason R. Coombs
4998c4693f Ignore type checks on Referenceable objects. Ref warner/foolscap#78. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
adf0688918 Add a non-implementation of encode_proposal to satisfy interface. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
5f40c562eb Remove self arguments to IProgress, which mypy caught as improper. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
dec6f6d647 Remove Interface subclass, as IURI is an interface. Fixes mypy error. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
df31d7db5b Suppress type error in Node.GENERATED_FILES, apparently unused. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
25cce8b77e Suppress typing errors in fileutil, crawler, fixups. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
8da82e9ed5 Add workaround for Shoobx/mypy-zope#26. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
d1ea36781a Add type declarations to check_load. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
ce3b775944 Suppress typing error in test_python3 2020-11-29 13:57:46 -05:00
Jason R. Coombs
f2ffa78198 Define type of PollMixin._poll_should_ignore_these_errors 2020-11-29 13:57:46 -05:00
Jason R. Coombs
4b559ffc33 Add typechecks to tox run 2020-11-29 13:57:46 -05:00
Jason R. Coombs
6d2d82d7b7 Use pre-release versions of foolscap and mypy-zope with intended support for RemoteInterface subclasses. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
ab54585558 Incorporate mypy-zope to support zope interfaces. 2020-11-29 13:57:46 -05:00
Jason R. Coombs
ee9d9d7984 Add mypy checks as separate tox environment. 2020-11-29 13:57:46 -05:00
Jean-Paul Calderone
fba386cb8e
Merge pull request #903 from tahoe-lafs/3497.stop-recommending-our-deps
Stop recommending our hosted binary dep packages

Fixes: ticket:3497
2020-11-25 18:20:28 -05:00
Jean-Paul Calderone
152c04e48c
Merge pull request #902 from tahoe-lafs/3512.localized-tempdir
Per-node web temp directory

Fixes: ticket:3512
2020-11-25 18:18:36 -05:00
Jean-Paul Calderone
520f4d15bf Rename _get_request to more accurate _create_request 2020-11-25 16:09:53 -05:00
Jean-Paul Calderone
aeeb576b68 Merge remote-tracking branch 'origin/master' into 3497.stop-recommending-our-deps 2020-11-25 16:05:31 -05:00
meejah
e35e0a2edf
Merge pull request #863 from meejah/3478.release-docs
3478.release docs
2020-11-25 11:34:58 -07:00
Sajith Sasidharan
5565192dda
Merge pull request #909 from sajith/3537.reintroduce-vcpython27
Re-introduce vcpython27 in GitHub Actions

Fixes: ticket:3537
2020-11-25 11:23:30 -05:00
Jean-Paul Calderone
8e6773c690
Merge pull request #907 from tahoe-lafs/3518.pypy-versions-None
Get rid of version_checks

Fixes: ticket:3518
2020-11-25 10:54:46 -05:00
Jean-Paul Calderone
94a1ae70b7
fix word-o 2020-11-25 10:41:56 -05:00
Jean-Paul Calderone
bd9a91abf6
Merge pull request #901 from tahoe-lafs/3513.raiseException
Fix exception re-raising in no_network.py

Fixes: ticket:3513
2020-11-25 10:41:15 -05:00
Sajith Sasidharan
c8aab085d7 Re-introduce vcpython27 in GitHub Actions
Turns out that netifaces has not published a .whl package for Python
2.7 and 64-bit Windows.
2020-11-25 08:17:40 -05:00
Sajith Sasidharan
4e5eb1300d
Merge pull request #862 from sajith/3477.remove-vcpython27-from-ci
Do not install vcpython27 during Windows CI steps

Fixes: ticket: 3477
2020-11-24 18:13:03 -05:00
Jean-Paul Calderone
fd463229a3
Merge pull request #906 from tahoe-lafs/3517.integration-tests-set-config-unicode
Use unicode for config in the integration tests

Fixes: ticket:3517
2020-11-24 13:35:22 -05:00
Jean-Paul Calderone
3321058a33 flake 2020-11-23 15:14:59 -05:00
Jean-Paul Calderone
d03dece4de news fragment 2020-11-23 15:14:12 -05:00
Jean-Paul Calderone
c694e8c7e2 Delete allmydata.version_checks and related functionality
It is not Tahoe-LAFS' job to manage package installation in this way.
Instead, we can declare our dependencies in setup.py and rely on installation
management tools and packagers to create a suitable execution environment.

Making this statement in the past required going much further out on a limb
than it does today.  This code has served its purpose and can now be retired.
2020-11-23 15:10:18 -05:00
Jean-Paul Calderone
224085c139 Clean up version checks and fix the PyPy regression 2020-11-23 14:14:52 -05:00
Jean-Paul Calderone
55193f725a Avoid passing None to ensure_str 2020-11-23 10:28:04 -05:00
Jean-Paul Calderone
a06caae667 Make all the config unicode 2020-11-20 16:04:29 -05:00
Jean-Paul Calderone
45a8351367 news fragment 2020-11-20 16:02:50 -05:00
Itamar Turner-Trauring
729a5a0779
Merge pull request #895 from tahoe-lafs/3502.mutable-python-3-part-2
Port allmydata.mutable to Python 3, part 2/2

Fixes ticket:3502
2020-11-20 10:03:38 -05:00
Itamar Turner-Trauring
38275cbe6f Merge remote-tracking branch 'origin/master' into 3502.mutable-python-3-part-2 2020-11-19 13:43:10 -05:00
Itamar Turner-Trauring
cf74d92d9d
Merge pull request #899 from tahoe-lafs/3509-unicode-version-breakage
Fix unicode version breakage.

Fixes ticket:3509
Fixes ticket:3510
2020-11-19 13:42:16 -05:00
Jean-Paul Calderone
1689804877 Try doing some other thing in Windows 2020-11-19 10:15:36 -05:00
Jean-Paul Calderone
4ce2572ce9 Does Windows behave if we restrict ourselves to *just* S_IREAD?
From CPython docs:

> Note Although Windows supports chmod(), you can only set the file’s
> read-only flag with it (via the stat.S_IWRITE and stat.S_IREAD constants or
> a corresponding integer value). All other bits are ignored.
2020-11-19 09:39:34 -05:00
Jean-Paul Calderone
ff8906ecb2 Describe the installation requirement change 2020-11-19 09:34:17 -05:00
Jean-Paul Calderone
1637769c81 It's gonna be an installation change 2020-11-19 09:22:46 -05:00
Jean-Paul Calderone
4b7188bb16 Don't recommend tahoe-lafs.org/deps to folks on Windows 2020-11-19 09:13:22 -05:00
Jean-Paul Calderone
c8bcad4847 Don't make tahoe-lafs.org/deps part of the release process 2020-11-19 09:13:11 -05:00
Jean-Paul Calderone
e4275980c8 Don't recommend tahoe-lafs.org/deps to folks in the install docs 2020-11-19 09:12:56 -05:00
Jean-Paul Calderone
0eb9a491ee news fragment 2020-11-19 09:12:50 -05:00
Jean-Paul Calderone
d727ae4a86 Try to improve the failure mode 2020-11-19 08:50:44 -05:00
Jean-Paul Calderone
cd1cc1f2cc Package our own Twisted 19.10 2020-11-18 21:04:53 -05:00
Jean-Paul Calderone
4c19d9f1fa Target the non-duplicate ticket 2020-11-18 18:13:43 -05:00
Jean-Paul Calderone
f240cb183f flake cleanup 2020-11-18 18:13:01 -05:00
Jean-Paul Calderone
92691c1b32 Be sure the temporary directory exists 2020-11-18 16:53:38 -05:00
Jean-Paul Calderone
5b0d20c453 Everything should be new-style 2020-11-18 16:53:28 -05:00