Changes between Version 28 and Version 29 of Python3


Ignore:
Timestamp:
2020-10-06T11:15:47Z (4 years ago)
Author:
chadwhitacre
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python3

    v28 v29  
    1212
    13131. Install tox (globally, probably; consider [https://pipxproject.github.io/pipx/ pipx]).
    14 2. In your Tahoe-LAFS working copy, run `tox -e py36 --notest` to bootstrap the `py36` virtualenv.
    15 3. Activate the environment with `source .tox/py36/bin/activate` or equivalent and wire up for local dev with `pip install -e .`
    16 4. Run `trial allmydata.test.test_python3` as a smoke test.
    17 5. `deactivate` the virtualenv (or switch shells) and run `tox -e py36` to exercise the whole suite.
     141. In your Tahoe-LAFS working copy, run `tox -e py36 --notest` to bootstrap the `py36` virtualenv.
     151. Activate the environment with `source .tox/py36/bin/activate` or equivalent.
     161. Wire up for local dev with `pip install -e .`
     171. Run `trial allmydata.test.test_python3` as a smoke test.
     181. Options for exercising the whole suite of ported tests (NB: `test_python3` != `python3_tests`):
     19  1. `trial allmydata.test.python3_tests`
     20  1. `python -m allmydata.test.python3_tests`
     21  1. `deactivate` the virtualenv (or switch shells) and run `tox -e py36`
    1822
    19 == Who is doing what ==
    20 
    21 - '''todo''': not started yet
    22 - '''doing''': started but not finished, might have an assignee
    23 - '''done''': finished!
     23== Worklist ==
    2424
    2525||= `allmydata.` || Status || Assignee ||
     
    140140
    141141Leaking Future objects (newints, new dicts, new bytes) in module API can break existing code on Python 2. So need to be careful not to do that. For that reason int isn't in the suggested `from builtins import ...` list above.
    142 
    143 == Other notes ==
    144 
    145 If you just want to run the tests from the explicitly ported test modules, you can do `python -m allmydata.test.python3_tests`.