Commit Graph

290 Commits

Author SHA1 Message Date
Matt Martz 681cdf20a5 Re-enable python 2.4 and 2.5 testing 2019-03-12 11:01:31 -05:00
Matt Martz cdf6002865 Bump to 2.1.1 2019-03-12 10:58:17 -05:00
Matt Martz 9af203652b Python2.4/2.5 SSL support 2019-03-12 10:55:23 -05:00
Matt Martz 2d5a9ef364 Switch copyright from range, to date started 2019-03-11 10:03:12 -05:00
Matt Martz 3109fcf407 Update usage 2019-03-11 09:57:19 -05:00
Matt Martz 69ddff1a11 Disable py2.4/2.5 tests for now 2019-03-05 11:44:19 -06:00
Matt Martz fb0569946d Bump to 2.1.0 for upcoming release 2019-03-05 10:55:57 -06:00
Matt Martz f356c7b02d ensure ERROR doesn't print an empty string 2019-02-19 17:17:25 -06:00
Matt Martz 6cf43b2ff7 linting fix 2019-02-19 16:58:50 -06:00
Matt Martz 217ce8eff1 ssl.wrap_socket doesn't support server_hostname. See #572 2019-02-19 16:56:26 -06:00
Matt Martz b43334f1ec Switch from platform.system to platform.platform. Fixes #574 2019-02-19 16:38:15 -06:00
Matt Martz b0b826c870 Add the python version to the version output 2019-01-23 11:34:23 -06:00
Matt Martz 9ac1091eae Add debug support to show if a URL request resulted in a redirect 2019-01-23 11:34:00 -06:00
Matt Martz ca2250f700 Add functionality for single threaded testing. Fixes #571 2019-01-23 11:33:30 -06:00
Matt Martz ddb8db0c94 Fix install instructions with git clone. Fixes #566 2019-01-02 09:18:21 -06:00
Matt Martz 72bf53affa Fix linting error 2018-12-03 10:44:49 -06:00
liuxu a8a3265001 Fix python3 upload problem
In python3, if Content-length is not set,urllib.request.AbstractHTTPHandler::do_request_() will use "Transfer-encoding:chunked", which will cause HTTPUploader not to exit until timeout
2018-12-03 10:26:09 -06:00
Alex Ward b2654de410 Automatically resolve .best property (#514)
* automatically call get_best_server

* add back SpeedtestBestServerFailer exception
2018-12-03 10:20:28 -06:00
Matt Martz 72ed585c6f Bump to v2.0.2 2018-05-24 11:06:29 -05:00
Matt Martz 41e599f9c3 Ensure we are utilizing the context created by HTTPSConnection, or falling back to ssl. Fixes #517 2018-05-24 09:37:39 -05:00
Matt Martz c7530bb143 Bump to 2.0.1 for release 2018-05-23 15:26:20 -05:00
Matt Martz 4ceae77401 Handle virtualenv and tox versions for py2.6/3.3 2018-05-22 16:38:10 -05:00
Matt Martz 9e185e8f88 Properly handle older HTTPSConnection. Fixes #513 2018-05-22 15:28:00 -05:00
Matt Martz 9c2977acfc Gracefully handle XML parsing errors. Fixes #490 #491 2018-03-09 09:46:10 -06:00
Matt Martz f8aa20ecdf Move results.share() to ensure csv and json have access to it. Fixes #483 2018-02-20 14:59:08 -06:00
Matt Martz 8ff923b0fb Bump to 2.0.1a 2018-02-13 16:22:23 -06:00
Matt Martz 35c3ee20ed Exit with nicer error if lat/lon is not valid 2018-02-13 16:21:57 -06:00
Matt Martz 0a7823db7a Tested through 3.7 2018-02-05 16:33:07 -06:00
Matt Martz 27a8301192 Replace downloads badge with travis 2018-02-05 16:33:01 -06:00
Matt Martz ee2e647b9b Remove deprecated speedtest_cli.py 2018-02-05 16:25:59 -06:00
Matt Martz 831c079113 Bump for release 2018-02-05 16:17:03 -06:00
Matt Martz 4f4c1dd8d1 Update man page 2018-02-05 16:16:51 -06:00
Matt Martz 2c847a1849 Add some guard code for places where sys.stdout and stderr are replaced with some other incompatible object 2018-01-26 15:52:06 -06:00
Matt Martz e1bab1ab55 Only add terminal colors with DEBUG if stdout is a tty 2018-01-08 16:57:26 -06:00
Matt Martz 48a3d33ae4 Bump to beta 2018-01-03 09:16:51 -06:00
Matt Martz c16ffd4ae7 Catch OSError and EOFError while reading from gzip stream 2018-01-02 18:32:03 -06:00
Matt Martz 9848481d06 Use the printer everywhere, leaving print_ to only be used within printer 2018-01-02 18:22:16 -06:00
Matt Martz 4737a69f10 Add a few additional tests, specifically around --source 2018-01-02 17:16:52 -06:00
Matt Martz 6381ba3742 Eliminate SHUTDOWN_EVENT global 2018-01-02 16:07:46 -06:00
Matt Martz fa2e15ee08 Skipping test should be quiet 2017-12-11 09:36:03 -06:00
Matt Martz eab354603f Don't display ERROR: 2 when argparse exits with non-0 2017-12-11 09:35:41 -06:00
Matt Martz e80ccc4647 update README for usage changes 2017-11-23 10:30:31 -06:00
Matt Martz 5fbe593fc8 Get travis working properly again 2017-11-23 10:18:16 -06:00
Matt Martz f70cc86222 No bare except 2017-11-23 10:16:23 -06:00
Matt Martz 5c061da8e0 Move the majority of the csv_header functionality to SpeedtestResults 2017-11-23 10:16:23 -06:00
Matt Martz 4457fe9fb8 Support csv-delimiter for csv-header 2017-11-23 10:16:17 -06:00
Matt Martz b27f69d1ad Output a different message when only 1 server is provided 2017-11-23 10:15:48 -06:00
Matt Martz 5a9f82a20a Add additional information to machine parsable outputs 2017-11-23 10:15:46 -06:00
Matt Martz 3cb44f5630 Attempt to catch MemoryError if possible 2017-11-23 10:15:09 -06:00
Matt Martz 16054cc3bc Print errors to stderr 2017-11-23 10:15:09 -06:00