Commit Graph

10236 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
c6d4ec0295 Port the test module to Python 3. 2020-08-06 16:33:04 -04:00
Itamar Turner-Trauring
ff5cfe0c71 Update ratchet with new test. 2020-08-06 16:15:31 -04:00
Itamar Turner-Trauring
32945b85f6 Drop int. 2020-08-06 16:14:39 -04:00
Itamar Turner-Trauring
dab690a757 Flake fixes. 2020-08-06 16:13:10 -04:00
Itamar Turner-Trauring
9669e4eaa7 Drop int. 2020-08-06 16:12:26 -04:00
Maciej Fijalkowski
9b9d530155 Fix some typos. Add docstring 2020-08-06 16:07:50 +02:00
Maciej Fijalkowski
b71ae461a6 use less hacks in yaml tests 2020-08-06 16:06:01 +02:00
Maciej Fijalkowski
57fdd9f6b4 s/unicode/str/ (from future.builtins import str kind of str) 2020-08-06 15:11:41 +02:00
Itamar Turner-Trauring
b8df17283b News file. Not bothering with explanation since the regression was only in
unreleased versions.
2020-08-05 11:54:09 -04:00
Itamar Turner-Trauring
70851fe753 Death to newint. 2020-08-05 11:53:23 -04:00
Itamar Turner-Trauring
11c7841cd7
Merge pull request #760 from tahoe-lafs/3364.crypto-python-3
Fixes ticket:3364

Port allmydata.crypto to Python 3
2020-08-05 11:26:30 -04:00
Itamar Turner-Trauring
0bef1eb4e2 Support prefix that is bytes. 2020-08-05 11:25:40 -04:00
Jean-Paul Calderone
4492e0e917
Merge pull request #762 from tahoe-lafs/3366.codechecks-macOS
Get `tox -e codechecks` to work on macOS

Fixes: ticket:3366
2020-08-05 08:59:28 -04:00
Chad Whitacre
1ef25e128c
Merge pull request #759 from tahoe-lafs/3362.enforce-no-tabs
Enforce no tabs
2020-08-05 07:59:51 -04:00
Itamar Turner-Trauring
ff7cf4d731 Test improvements. 2020-08-04 15:15:32 -04:00
Itamar Turner-Trauring
ce33101d08 Remove unused import. 2020-08-04 15:03:06 -04:00
Itamar Turner-Trauring
e664aaf548
Merge pull request #757 from tahoe-lafs/3361.limiter-and-gcutil-py3
Fixes ticket:3361

Delete unused limiter, and port gcutil to Python 3
2020-08-04 15:01:05 -04:00
Maciej Fijalkowski
aeb681a854 hopefully fix the ratchet files 2020-08-04 15:49:55 +02:00
Maciej Fijalkowski
d8bcbb901e I think default mode is text 2020-08-04 12:26:43 +02:00
Maciej Fijalkowski
5fcc8c65db add passing ratchet tests 2020-08-04 11:15:44 +02:00
Maciej Fijalkowski
d53f67bc41 add assert for write_atomically 2020-08-04 11:15:32 +02:00
Chad Whitacre
2a6cd8eb58 Get tox -e codechecks to work (on macOS?)
Without this, git fails underneath towncrier with an "error: Could not
expand include path '~/.gitcinclude'".

See: https://stackoverflow.com/q/36908041

I had added similar for `tox -e py36` in d25c8b1a.
2020-08-03 21:19:26 -04:00
Chad Whitacre
f0ddda9665 Add a codecheck for tabs in indentation 2020-08-03 21:14:55 -04:00
Jean-Paul Calderone
f889edb9bd
Merge remote-tracking branch 'origin/master' into 3336.py36-off-travis 2020-08-03 17:18:07 -04:00
Jean-Paul Calderone
a47bd93fd0
news fragment 2020-08-03 17:12:15 -04:00
Jean-Paul Calderone
1b0f83599d
See if we can get the image names right 2020-08-03 17:08:45 -04:00
Jean-Paul Calderone
ab9ccae1d1
try doing the pip wheel with the right LANG 2020-08-03 17:02:15 -04:00
Jean-Paul Calderone
612afdcf7c
that is useless, the error is in the docker image build 2020-08-03 17:02:15 -04:00
Jean-Paul Calderone
a513c7ab28
try setting it in here 2020-08-03 17:02:15 -04:00
Jean-Paul Calderone
8348e7032b
this is basically already set (LANG in UTF_8_ENVIRONMENT) 2020-08-03 17:02:15 -04:00
Jean-Paul Calderone
ec7531f113
maybe this will let it get to the right place 2020-08-03 17:02:15 -04:00
Jean-Paul Calderone
b99ec195cd
See if this helps the py36 zfec installation 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
3744b4d24c
FROM creates a new build stage which discards all prior ARGs 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
ee32b3555a
Burn the Python version into the Docker image tag 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
704f751b06
untabify 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
95050fefd6
do have line continuation 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
a2f78ca703
don't have a default 2020-08-03 17:02:14 -04:00
Itamar Turner-Trauring
2a623e0b05 Port to Python 3. 2020-08-03 14:13:16 -04:00
Itamar Turner-Trauring
622ed2f971 Standalone logging tests, most of them new, and an attempt to fix the parent
msgid logic so it's a little less broken.
2020-08-03 14:09:28 -04:00
Itamar Turner-Trauring
02daa12031 Move logging tests into their own, Python 3-compatible, module. 2020-08-03 11:33:29 -04:00
Itamar Turner-Trauring
1703230a2a Use nummedobj from pyutil. 2020-08-03 11:33:21 -04:00
Itamar Turner-Trauring
bfbca87f26 Missing from previous PR. 2020-08-03 11:31:02 -04:00
Itamar Turner-Trauring
c0cabeaca0 Update ratchet. 2020-08-03 11:08:16 -04:00
Itamar Turner-Trauring
24729dbd61 Port to Python 3. 2020-08-03 11:06:46 -04:00
Itamar Turner-Trauring
d71951ecf1 News fragment. 2020-08-03 11:00:09 -04:00
Itamar Turner-Trauring
cd50ac434a Port to Python 3. 2020-08-03 10:59:51 -04:00
Itamar Turner-Trauring
5815547661 Remove an unnecessary conversion that breaks Python 3. 2020-08-03 10:58:37 -04:00
Itamar Turner-Trauring
3330737656 Be a bit stricter about expected outputs. 2020-08-03 10:56:47 -04:00
Itamar Turner-Trauring
34e3052814 Don't use global state for testing. 2020-08-03 10:43:21 -04:00
Maciej Fijalkowski
c178c55178 remove this import 2020-08-02 12:03:59 +02:00