1. 23 Dec, 2013 1 commit
    • Denis Bilenko's avatar
      travis: On Python3 use python3-version of pep8 #38 · c412d47a
      Denis Bilenko authored
      Previously pep8 and pyflakes were installed using the default system Python.
      This changes 'make travis' to use the current Python version for those scripts as well.
      This affects pep8, at least: on Python3 it complains about space in `print (...)`.
      c412d47a
  2. 21 Dec, 2013 1 commit
  3. 18 Dec, 2013 3 commits
  4. 16 Dec, 2013 11 commits
  5. 02 Dec, 2013 1 commit
  6. 01 Dec, 2013 15 commits
    • Denis Bilenko's avatar
      Merge pull request #343 from surfly/travis · 0c010839
      Denis Bilenko authored
      drop support for 2.5; improve travis; use py2.6+ syntax
      0c010839
    • Denis Bilenko's avatar
      new travis build · c28fcf4b
      Denis Bilenko authored
      - do pep8 and pyflakes checks
      - do not tests examples with dependencies (psycopg2_pool.py, web.py, geventsendfile.py)
      - do check -dbg build
      - install cython from ppa
      - drop 2.5, add 3.3 (currently fails)
      
      new make commands:
       - make whitespace
       - make pep8
       - make pyflakes
       - make lint       # runs all of the above
       - make travis     # runs on travis
      
      The linters are run first to abort broken builds early.
      
      Removed --full option to testrunner.py, it is no longer needed.
      c28fcf4b
    • Denis Bilenko's avatar
      disable tests in test_httpserver failing on 2.6 · b7bc2706
      Denis Bilenko authored
      only on travis:
      
      test_authorization (__main__.CGIHTTPServerTestCase) ... Traceback (most recent call last):
          File "/usr/lib/python2.6/CGIHTTPServer.py", line 255, in run_cgi
            os.execve(scriptfile, args, os.environ)
        OSError: [Errno 13] Permission denied
        FAIL
        test_headers_and_content (__main__.CGIHTTPServerTestCase) ... Traceback (most recent call last):
          File "/usr/lib/python2.6/CGIHTTPServer.py", line 255, in run_cgi
            os.execve(scriptfile, args, os.environ)
        OSError: [Errno 13] Permission denied
        FAIL
        test_invaliduri (__main__.CGIHTTPServerTestCase) ... ok
        test_post (__main__.CGIHTTPServerTestCase) ... Traceback (most recent call last):
          File "/usr/lib/python2.6/CGIHTTPServer.py", line 255, in run_cgi
            os.execve(scriptfile, args, os.environ)
        OSError: [Errno 13] Permission denied
        FAIL
      
        ======================================================================
        FAIL: test_get (__main__.SimpleHTTPServerTestCase)
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "test_httpservers.py", line 242, in test_get
          File "test_httpservers.py", line 218, in check_status_and_reason
        AssertionError: 200 != 404
      
        ======================================================================
        FAIL: test_authorization (__main__.CGIHTTPServerTestCase)
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "test_httpservers.py", line 349, in test_authorization
        AssertionError: ('Hello World\n', 'text/html', 200) != ("Exception happened during processing of request from ('127.0.0.1', 60525)\n----------------------------------------\n", None, 200)
      
        ======================================================================
        FAIL: test_headers_and_content (__main__.CGIHTTPServerTestCase)
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "test_httpservers.py", line 330, in test_headers_and_content
        AssertionError: ('Hello World\n', 'text/html', 200) != ("Exception happened during processing of request from ('127.0.0.1', 38970)\n----------------------------------------\n", None, 200)
      
        ======================================================================
        FAIL: test_post (__main__.CGIHTTPServerTestCase)
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "test_httpservers.py", line 337, in test_post
        AssertionError: "Exception happened during processing of request from ('127.0.0.1', 45146)\n----------------------------------------\n" != '1, python, 123456\n'
      b7bc2706
    • Denis Bilenko's avatar
      cythonpp.py: drop support for python2.5 · 5482db66
      Denis Bilenko authored
      5482db66
    • Denis Bilenko's avatar
      pyflakes fixes · 54d409df
      Denis Bilenko authored
      54d409df
    • Denis Bilenko's avatar
      remove unused imports · c655ef40
      Denis Bilenko authored
      c655ef40
    • Denis Bilenko's avatar
      596043df
    • Denis Bilenko's avatar
      8707190c
    • Denis Bilenko's avatar
      testrunner.py: fix syntax on py3 · bd902f49
      Denis Bilenko authored
      bd902f49
    • Denis Bilenko's avatar
      use as-syntax in except clauses #38 · c093b89e
      Denis Bilenko authored
      c093b89e
    • Denis Bilenko's avatar
      pep8 fixes · abe61a16
      Denis Bilenko authored
      abe61a16
    • Denis Bilenko's avatar
      set version to 1.1dev · da8ac8c6
      Denis Bilenko authored
      da8ac8c6
    • Denis Bilenko's avatar
      drop support for Python 2.5 · 9177c3af
      Denis Bilenko authored
      9177c3af
    • Denis Bilenko's avatar
      travis: known_failures: add test__issue6.py · ed74f199
      Denis Bilenko authored
      It often fails with:
      
      master ~/work/gevent $ python greentest/test__issue6.py
      Traceback (most recent call last):
        File "greentest/test__issue6.py", line 11, in <module>
          assert err == '', (out, err, code)
      AssertionError: ('11 chars.\n', 'Unhandled exception in thread started by \nsys.excepthook is missing\nlost sys.stderr\n', 0)
      ed74f199
    • Denis Bilenko's avatar
      examples: xrange() -> range() · b8bf7498
      Denis Bilenko authored
      for python3 compatibility (#38)
      b8bf7498
  7. 27 Nov, 2013 1 commit
  8. 26 Nov, 2013 7 commits