Changeset 0ce6e56 in trunk


Ignore:
Timestamp:
2020-07-16T00:11:39Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
545848f, 6dec821, 7abc54c, c942064
Parents:
c493396 (diff), 3f887f9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jean-Paul Calderone <exarkun@…> (2020-07-16 00:11:39)
git-committer:
GitHub <noreply@…> (2020-07-16 00:11:39)
Message:

Merge pull request #742 from chadwhitacre/3325.add-py36-to-ci

Add py36 to CI

Fixes: ticket:3325

Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified .gitignore

    rc493396 r0ce6e56  
    4545/coverage.xml
    4646/.hypothesis/
     47/eliot.log
     48/misc/python3/results.xml
     49/misc/python3/results.subunit2
    4750
    4851# This is the plaintext of the private environment needed for some CircleCI
  • TabularUnified .travis.yml

    rc493396 r0ce6e56  
    22language: python
    33cache: pip
    4 dist: trusty
     4dist: xenial
    55before_cache:
    66  - rm -f $HOME/.cache/pip/log/debug.log
     
    1717  - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then wget https://bootstrap.pypa.io/get-pip.py && sudo python ./get-pip.py; fi
    1818  - pip list
    19   - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install --user --upgrade codecov tox setuptools; fi
    20   - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then pip install --upgrade codecov tox setuptools; fi
     19  - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install --user --upgrade codecov tox setuptools virtualenv; fi
     20  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then pip install --upgrade codecov tox setuptools virtualenv; fi
    2121  - echo $PATH; which python; which pip; which tox
    2222  - python misc/build_helpers/show-tool-versions.py
     
    2525  - |
    2626    set -eo pipefail
    27     if [ "${T}" = "py35" ]; then
    28       python3 -m compileall -f -x tahoe-depgraph.py .
    29     else
    30       tox -e ${T}
    31     fi
     27    tox -e ${T}
    3228    # To verify that the resultant PyInstaller-generated binary executes
    3329    # cleanly (i.e., that it terminates with an exit code of 0 and isn't
     
    7066    env: T=pyinstaller LANG=en_US.UTF-8
    7167    language: generic  # "python" is not available on OS-X
    72   # this is a "lint" job that checks for python3 compatibility
    7368  - os: linux
    74     python: '3.5'
    75     env: T=py35
     69    python: '3.6'
     70    env: T=py36
    7671
    7772  fast_finish: true
  • TabularUnified setup.py

    rc493396 r0ce6e56  
    142142
    143143i2p_requires = [
    144     # See the comment in tor_requires.
    145     "txi2p >= 0.3.2",
     144    # txi2p has Python 3 support, but it's unreleased: https://github.com/str4d/txi2p/issues/10.
     145    # URL lookups are in PEP-508 (via https://stackoverflow.com/a/54794506).
     146    # Also see the comment in tor_requires.
     147    "txi2p @ git+https://github.com/str4d/txi2p@0611b9a86172cb70d2f5e415a88eee9f230590b3#egg=txi2p",
    146148]
    147149
     
    354356      packages=find_packages('src') + ['allmydata.test.plugins'],
    355357      classifiers=trove_classifiers,
    356       python_requires="<3.0",
     358      # We support Python 2.7, and we're working on support for 3.6 (the
     359      # highest version that PyPy currently supports).
     360      python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <3.7",
    357361      install_requires=install_requires,
    358362      extras_require={
     
    383387              "beautifulsoup4",
    384388              "html5lib",
     389              "junitxml",
    385390          ] + tor_requires + i2p_requires,
    386391          "tor": tor_requires,
  • TabularUnified src/allmydata/version_checks.py

    rc493396 r0ce6e56  
    298298def _get_package_versions_and_locations():
    299299    import warnings
    300     from _auto_deps import package_imports, global_deprecation_messages, deprecation_messages, \
     300    from ._auto_deps import package_imports, global_deprecation_messages, deprecation_messages, \
    301301        runtime_warning_messages, warning_imports, ignorable
    302302
  • TabularUnified tox.ini

    rc493396 r0ce6e56  
    88
    99[tox]
    10 envlist = {py27,pypy27}{-coverage,}
     10envlist = {py27,pypy27,py36}{-coverage,}
    1111minversion = 2.4
    1212
     
    4646extras = test
    4747commands =
     48         trial {env:TAHOE_LAFS_TRIAL_ARGS:--rterrors} {posargs:allmydata}
    4849         tahoe --version
    49          trial {env:TAHOE_LAFS_TRIAL_ARGS:--rterrors} {posargs:allmydata}
     50
     51[testenv:py36]
     52# git inside of ratchet.sh needs $HOME.
     53passenv = HOME
     54commands = {toxinidir}/misc/python3/ratchet.sh
    5055
    5156[testenv:integration]
Note: See TracChangeset for help on using the changeset viewer.