[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Drop python 2.6 -> 3.5 support



commit a396f57c3a55f34bb9f9d5976fc54fcc6561a8c4
Merge: 4e21371e bdd376bd
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sun Jan 5 13:28:37 2020 -0800

    Drop python 2.6 -> 3.5 support
    
    As stated in our release announcement Stem 2.x will discontinue Python 2.x
    support now that the PSF has dropped it...
    
      https://blog.atagar.com/stem-release-1-8/
      https://www.python.org/doc/sunset-python-2/
    
    Presuming our next release is a year out, Python 3.6 is the oldest non-EOL
    version so picking it as our new minimum requirement...
    
      https://devguide.python.org/#status-of-python-branches
    
    No doubt this compatibility change will let us make far more simplifications,
    but for the moment simply addressing low hanging fruit.

 cache_fallback_directories.py                     |   9 +-
 cache_manual.py                                   |   9 +-
 docs/faq.rst                                      |   5 +-
 run_tests.py                                      |  23 +--
 setup.py                                          |   8 +-
 stem/__init__.py                                  |   2 +-
 stem/client/__init__.py                           |   8 -
 stem/client/cell.py                               |   4 +-
 stem/client/datatype.py                           |  65 ++------
 stem/control.py                                   |  27 +---
 stem/descriptor/__init__.py                       |  38 +----
 stem/descriptor/bandwidth_file.py                 |  11 +-
 stem/descriptor/collector.py                      |  13 +-
 stem/descriptor/export.py                         |  14 +-
 stem/descriptor/extrainfo_descriptor.py           |   7 +-
 stem/descriptor/hidden_service.py                 |   8 +-
 stem/descriptor/microdescriptor.py                |   8 +-
 stem/descriptor/reader.py                         |  64 +++-----
 stem/descriptor/remote.py                         |  11 +-
 stem/descriptor/router_status_entry.py            |   4 +-
 stem/descriptor/server_descriptor.py              |  13 +-
 stem/directory.py                                 |  22 +--
 stem/exit_policy.py                               |  28 ++--
 stem/interpreter/__init__.py                      |  13 +-
 stem/interpreter/autocomplete.py                  |   9 +-
 stem/interpreter/commands.py                      |   8 +-
 stem/interpreter/help.py                          |   9 +-
 stem/manual.py                                    |  62 +++-----
 stem/prereq.py                                    | 107 +------------
 stem/process.py                                   |   9 +-
 stem/response/__init__.py                         |  13 +-
 stem/response/events.py                           |  20 +--
 stem/response/getinfo.py                          |   3 +-
 stem/response/protocolinfo.py                     |   4 +-
 stem/socket.py                                    |  32 ++--
 stem/util/__init__.py                             |  57 +------
 stem/util/conf.py                                 |  19 +--
 stem/util/connection.py                           |  13 +-
 stem/util/enum.py                                 |   2 +-
 stem/util/log.py                                  |  11 +-
 stem/util/lru_cache.py                            | 182 ----------------------
 stem/util/ordereddict.py                          | 133 ----------------
 stem/util/proc.py                                 |  12 +-
 stem/util/str_tools.py                            |  39 ++---
 stem/util/system.py                               |   2 +-
 stem/util/test_tools.py                           |  59 +------
 stem/version.py                                   |   8 +-
 test/integ/connection/authentication.py           |   1 -
 test/integ/connection/connect.py                  |  20 +--
 test/integ/control/base_controller.py             |   2 -
 test/integ/control/controller.py                  | 107 ++++++-------
 test/integ/descriptor/collector.py                |   1 -
 test/integ/descriptor/extrainfo_descriptor.py     |   2 +-
 test/integ/descriptor/microdescriptor.py          |   2 +-
 test/integ/descriptor/networkstatus.py            |   8 +-
 test/integ/descriptor/server_descriptor.py        |   2 +-
 test/integ/directory/fallback.py                  |   1 -
 test/integ/installation.py                        |   8 +-
 test/integ/interpreter.py                         |   4 -
 test/integ/manual.py                              |  26 +---
 test/integ/process.py                             |  49 ++----
 test/integ/response/protocolinfo.py               |   6 +-
 test/integ/util/connection.py                     |  11 +-
 test/integ/util/proc.py                           |   1 -
 test/integ/util/system.py                         |  27 +---
 test/network.py                                   |  35 +----
 test/task.py                                      |  18 +--
 test/unit/client/size.py                          |   6 +-
 test/unit/connection/authentication.py            |   8 +-
 test/unit/connection/connect.py                   |  19 +--
 test/unit/control/controller.py                   |   8 +-
 test/unit/descriptor/bandwidth_file.py            |  21 +--
 test/unit/descriptor/collector.py                 |  34 ++--
 test/unit/descriptor/compression.py               |   1 -
 test/unit/descriptor/export.py                    |  16 +-
 test/unit/descriptor/hidden_service_v3.py         |  17 +-
 test/unit/descriptor/networkstatus/document_v3.py |  11 +-
 test/unit/descriptor/reader.py                    |  21 +--
 test/unit/descriptor/remote.py                    |  57 +++----
 test/unit/descriptor/router_status_entry.py       |   9 +-
 test/unit/descriptor/server_descriptor.py         |  31 ++--
 test/unit/directory/authority.py                  |  12 +-
 test/unit/directory/fallback.py                   |  29 ++--
 test/unit/doctest.py                              |   8 +-
 test/unit/exit_policy/policy.py                   |   6 +-
 test/unit/installation.py                         |   5 -
 test/unit/interpreter/__init__.py                 |   6 +-
 test/unit/interpreter/autocomplete.py             |   9 +-
 test/unit/interpreter/commands.py                 |   8 +-
 test/unit/manual.py                               |  53 ++-----
 test/unit/response/events.py                      |   8 +-
 test/unit/response/protocolinfo.py                |   8 +-
 test/unit/tutorial.py                             |  27 ++--
 test/unit/tutorial_examples.py                    |  49 ++----
 test/unit/util/connection.py                      |  30 ++--
 test/unit/util/proc.py                            |   7 +-
 test/unit/util/system.py                          |   8 +-
 test/unit/version.py                              |   8 +-
 98 files changed, 475 insertions(+), 1623 deletions(-)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits