[Python-modules-commits] [praw] 03/14: Don't automatically check for updates

Josué Ortega josue at moszumanska.debian.org
Sat Oct 28 21:13:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

josue pushed a commit to branch master
in repository praw.

commit 3661a6e4c568cd505b76ebb6c574a6e03c51f5b5
Author: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
Date:   Tue Aug 8 15:00:48 2017 -0400

    Don't automatically check for updates
    
     Automatic updating is inconsistent with the idea of a package manager. In
     addition, this removes a dependency on update_checker.
    Forwarded: not-needed
    Last-Update: 2015-09-17
---
 praw.egg-info/requires.txt | 1 -
 praw/__init__.py           | 1 -
 praw/praw.ini              | 2 +-
 setup.py                   | 3 +--
 4 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/praw.egg-info/requires.txt b/praw.egg-info/requires.txt
index 5edd56e..9f36660 100644
--- a/praw.egg-info/requires.txt
+++ b/praw.egg-info/requires.txt
@@ -1,4 +1,3 @@
 decorator>=3.4.2
 requests>=2.3.0
 six>=1.4
-update_checker>=0.11
diff --git a/praw/__init__.py b/praw/__init__.py
index b07fb05..b802199 100644
--- a/praw/__init__.py
+++ b/praw/__init__.py
@@ -46,7 +46,6 @@ from requests import Request
 from six.moves import html_entities, http_cookiejar
 from six.moves.urllib.parse import parse_qs, urlparse, urlunparse
 # pylint: enable=F0401
-from update_checker import update_check
 from warnings import warn_explicit
 
 
diff --git a/praw/praw.ini b/praw/praw.ini
index 3324784..77fbe1c 100644
--- a/praw/praw.ini
+++ b/praw/praw.ini
@@ -7,7 +7,7 @@ api_domain: api.reddit.com
 api_request_delay: 2.0
 
 # A boolean to indicate whether or not to check for package updates.
-check_for_updates: True
+check_for_updates: False
 
 # Time, a float, in seconds, to save the results of a get/post request.
 cache_timeout: 30
diff --git a/setup.py b/setup.py
index 73b1a27..3b767a3 100644
--- a/setup.py
+++ b/setup.py
@@ -42,8 +42,7 @@ setup(
     keywords='reddit api wrapper',
     packages=[PACKAGE_NAME],
     package_data={'': ['COPYING'], PACKAGE_NAME: ['*.ini']},
-    install_requires=['decorator>=3.4.2', 'requests>=2.3.0', 'six>=1.4',
-                      'update_checker>=0.11'],
+    install_requires=['decorator>=3.4.2', 'requests>=2.3.0', 'six>=1.4'],
     tests_require=['betamax>=0.4.2', 'betamax-matchers>=0.2.0', 'mock>=1.0.0'],
     entry_points={'console_scripts': [
             'praw-multiprocess = praw.multiprocess:run']},

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/praw.git



More information about the Python-modules-commits mailing list