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
Jean-Paul Calderone
b0a5a65f4f
Attempt to enable a Python 3 CircleCI job
2020-07-17 16:23:42 -04:00
Jean-Paul Calderone
bd2f438843
Replace the TravisCI Python 3.6 config with CircleCI Python 3.6 config
2020-07-17 13:48:08 -04:00
Jean-Paul Calderone
cfe7033568
Remove obsolete supporting configuration
...
There are no longer any macOS jobs. Delete the macOS checks.
There are no longer any coverage jobs. Delete codecov hook.
There are no longer any pyinstaller jobs. Delete extra pyinstaller check.
2020-07-17 12:49:12 -04:00
Jean-Paul Calderone
16c8026b6d
Stop using TravisCI for pyinstaller/Linux test coverage
2020-07-17 12:46:23 -04:00
Jean-Paul Calderone
1b491f293a
Stop using TravisCI for codechecks/Linux test coverage
2020-07-17 12:45:50 -04:00
Jean-Paul Calderone
82a4fca416
Stop using TravisCI for coverage/Linux test coverage
2020-07-17 12:45:05 -04:00
Jean-Paul Calderone
0803aef1cb
Stop using TravisCI for pyinstaller/macOS test coverage
2020-07-17 12:44:19 -04:00
Jean-Paul Calderone
f3780cd4cb
Stop using TravisCI for Python 2.7/macOS test coverage
2020-07-17 12:43:39 -04:00
Jean-Paul Calderone
c942064ee0
Stop using TravisCI for Python 2.7/Linux test coverage
2020-07-17 12:42:41 -04:00
Jean-Paul Calderone
0ce6e562cb
Merge pull request #742 from chadwhitacre/3325.add-py36-to-ci
...
Add py36 to CI
Fixes: ticket:3325
2020-07-15 20:11:39 -04:00
Jean-Paul Calderone
c493396148
Merge pull request #740 from tahoe-lafs/3340-unused-code-in-util
...
Delete some dead code.
Fixes: ticket:3340
2020-07-15 20:08:41 -04:00
Chad Whitacre
3f887f9279
Respond to review
...
- Use the subunitv2-file reporter to allow for nicer error handling
- Undo the depgraph.sh change, see if it really matters
- Rename passing -> ratchet-passing to distinguish from ported modules
tracker
- Misc. documentation and ratchet.sh improvements
2020-07-14 20:11:58 -04:00
Itamar Turner-Trauring
db41d5af6f
Merge pull request #743 from tahoe-lafs/3342-more-tests-for-base32-base62
...
Fixes https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3343
2020-07-14 13:41:20 -04:00
Itamar Turner-Trauring
fc73b7c793
News fragment.
2020-07-14 10:51:46 -04:00
Itamar Turner-Trauring
f378edd9d8
Fix missing import.
2020-07-14 10:20:51 -04:00
Chad Whitacre
e2d6b353e8
Tighten up condition in depgraph.sh
...
I ran into a circumstance where it appears that there were changes other
than to the two files we care about, leading to an empty commit and a CI
failure:
https://app.circleci.com/pipelines/github/tahoe-lafs/tahoe-lafs/320/workflows/7d045f5f-1536-4cfa-b232-42837d4c9334/jobs/22127/steps
2020-07-14 06:42:45 -04:00
Chad Whitacre
8e8a215b83
Is this it? towncrier just wants empty files?
2020-07-13 22:42:51 -04:00
Chad Whitacre
d25c8b1a25
Start ratcheting up passing tests under Python 3
2020-07-13 22:42:48 -04:00
Chad Whitacre
b47b4a468b
Prevent Nevow from blocking us
...
Per https://github.com/tahoe-lafs/tahoe-lafs/pull/732#issuecomment-653059972
2020-07-13 22:28:00 -04:00
Chad Whitacre
076c73d22f
Turn on py36 at Travis
...
Drops the old py35 job, per @exarkun:
https://github.com/tahoe-lafs/tahoe-lafs/pull/732#discussion_r449615599
Also bumps Ubuntu at Travis so we can get 3.8 eventually. I first went
to 3.8 before dropping back to 3.6 as our initial target. Trusty on
Travis does include 3.6, but since we want 3.8 "pretty soon," and the OS
bump ended up being tricky (see below), let's go ahead and keep the OS
bump. Xenial (16.04) is the current default at Travis, and it does have
3.8 available:
https://docs.travis-ci.com/user/languages/python/#python-versions
The tricky bug is that different versions of virtualenv have different
seeding algorithms: https://discuss.python.org/t/-/4146 ). CI puts us
several layers deep in virtualenv-ception and I didn't fully unravel the
whole thing, but starting with a modern virtualenv seems to work around
the issue.
2020-07-13 22:27:59 -04:00
Chad Whitacre
5a2ee5387a
Bump txi2p to unreleased version that supports Py3
...
The plan is to keep i2p support around, in the hopes that upstream libs
(txi2p, foolscap) are ported to Python 3 by the time we _really_ need
them.
2020-07-13 22:27:59 -04:00
Chad Whitacre
329bfe05f9
Make a crucial relative import explicit
2020-07-13 22:27:59 -04:00
Chad Whitacre
fec1f73bfa
Ignore eliot.log, some testing artifact
2020-07-13 22:27:59 -04:00
Chad Whitacre
2eab253b0f
Change python_requires in setup.py
2020-07-13 22:27:59 -04:00
Chad Whitacre
73c40e8d2a
Minimally add py36 to CI
2020-07-13 22:27:59 -04:00
Itamar Turner-Trauring
6115d96ab5
Merge pull request #741 from tahoe-lafs/3341-more-python-3-utils
...
Port deferredutil to Python 3
2020-07-13 16:25:18 -04:00
Itamar Turner-Trauring
ead2a79cf7
Everything should be bytes.
2020-07-13 16:21:15 -04:00
Itamar Turner-Trauring
6464e226c6
Hypothesis-based roundtrip test.
2020-07-13 16:19:48 -04:00
Itamar Turner-Trauring
828e6bc28a
Minimal tests for could_be_base32_encoded().
2020-07-13 16:18:13 -04:00
Itamar Turner-Trauring
77ae087c77
Remove a2b_l and b2a_l from public API, to ease likely future switch to stdlib
...
base64's implementation.
2020-07-13 16:12:53 -04:00
Itamar Turner-Trauring
e23dbcdf56
Document current public API.
2020-07-13 15:41:01 -04:00
Itamar Turner-Trauring
bbfd39e6c0
Test larger variety of inputs using hypothesis.
2020-07-13 15:30:11 -04:00
Itamar Turner-Trauring
a8a7d48c12
Everything must be bytes.
2020-07-13 15:25:07 -04:00
Itamar Turner-Trauring
f27cba181e
Move existing base32 tests out of test_util.py.
2020-07-13 15:22:03 -04:00
Itamar Turner-Trauring
1a3a1ffcaa
Restore eliot code.
2020-07-13 14:33:13 -04:00
Itamar Turner-Trauring
af916c3968
Merge branch 'master' into 3341-more-python-3-utils
2020-07-13 14:30:11 -04:00
Jean-Paul Calderone
15f01c93bf
Merge pull request #739 from tahoe-lafs/3339-assertutil-python-3
...
Port assertutil and mathutil to Python 3 (by switching to already-ported pyutil versions)
2020-07-13 13:01:55 -04:00
Itamar Turner-Trauring
1e41df9f48
Add to list of ported modules.
2020-07-09 14:38:07 -04:00
Itamar Turner-Trauring
7d1fdd8284
Port modules to Python 3.
2020-07-09 14:32:16 -04:00