lol

Python: replace requests2 with requests tree-wide

See f63eb5857352705665411130d4f1638d55dd8c58

The `requests2` attribute now throws an error informing that `requests`
should be used instead.

+170 -169
+2 -2
doc/languages-frameworks/python.md
··· 580 580 with import <nixpkgs> {}; 581 581 582 582 (python3.buildEnv.override { 583 - extraLibs = with python3Packages; [ numpy requests2 ]; 583 + extraLibs = with python3Packages; [ numpy requests ]; 584 584 }).env 585 585 ``` 586 586 ··· 622 622 ```nix 623 623 with import <nixpkgs> {}; 624 624 625 - (python33.withPackages (ps: [ps.numpy ps.requests2])).env 625 + (python33.withPackages (ps: [ps.numpy ps.requests])).env 626 626 ``` 627 627 628 628 In contrast to `python.buildEnv`, `python.withPackages` does not support the more advanced options
+1 -1
pkgs/applications/audio/mopidy-gmusic/default.nix
··· 11 11 12 12 propagatedBuildInputs = [ 13 13 mopidy 14 - pythonPackages.requests2 14 + pythonPackages.requests 15 15 pythonPackages.gmusicapi 16 16 pythonPackages.cachetools 17 17 ];
+1 -1
pkgs/applications/audio/mopidy/default.nix
··· 22 22 ]; 23 23 24 24 propagatedBuildInputs = with pythonPackages; [ 25 - gst-python pygobject3 pykka tornado requests2 dbus-python 25 + gst-python pygobject3 pykka tornado requests dbus-python 26 26 ]; 27 27 28 28 # There are no tests
+1 -1
pkgs/applications/gis/qgis/default.nix
··· 10 10 buildInputs = [ gdal qt4 flex openssl bison proj geos xlibsWrapper sqlite gsl qwt qscintilla 11 11 fcgi libspatialindex libspatialite postgresql qjson qca2 txt2tags ] ++ 12 12 (stdenv.lib.optional withGrass grass) ++ 13 - (with python2Packages; [ numpy psycopg2 requests2 python2Packages.qscintilla sip ]); 13 + (with python2Packages; [ numpy psycopg2 requests python2Packages.qscintilla sip ]); 14 14 15 15 nativeBuildInputs = [ cmake makeWrapper ]; 16 16
+1 -1
pkgs/applications/misc/buku/default.nix
··· 15 15 propagatedBuildInputs = [ 16 16 cryptography 17 17 beautifulsoup4 18 - requests2 18 + requests 19 19 urllib3 20 20 ]; 21 21
+1 -1
pkgs/applications/misc/haxor-news/default.nix
··· 12 12 propagatedBuildInputs = with pythonPackages; [ 13 13 click 14 14 colorama 15 - requests2 15 + requests 16 16 pygments 17 17 prompt_toolkit 18 18 six
+1 -1
pkgs/applications/misc/octoprint/default.nix
··· 65 65 66 66 # We need old Tornado 67 67 propagatedBuildInputs = with pythonPackages; [ 68 - awesome-slugify flask_assets rsa requests2 pkginfo watchdog 68 + awesome-slugify flask_assets rsa requests pkginfo watchdog 69 69 semantic-version flask_principal werkzeug flaskbabel tornado 70 70 psutil pyserial flask_login netaddr markdown sockjs-tornado 71 71 pylru pyyaml sarge feedparser netifaces click websocket_client
+1 -1
pkgs/applications/misc/rtv/default.nix
··· 35 35 kitchen 36 36 mailcap-fix 37 37 mccabe 38 - requests2 38 + requests 39 39 six 40 40 tornado 41 41 pyyaml
+1 -1
pkgs/applications/misc/toot/default.nix
··· 12 12 }; 13 13 14 14 propagatedBuildInputs = with pythonPackages; 15 - [ requests2 beautifulsoup4 future ]; 15 + [ requests beautifulsoup4 future ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 description = "Mastodon CLI interface";
+1 -1
pkgs/applications/networking/errbot/default.nix
··· 20 20 ]; 21 21 22 22 propagatedBuildInputs = with pythonPackages; [ 23 - webtest bottle threadpool rocket-errbot requests2 jinja2 23 + webtest bottle threadpool rocket-errbot requests jinja2 24 24 pyopenssl colorlog Yapsy markdown ansi pygments dns pep8 25 25 daemonize pygments-markdown-lexer telegram irc slackclient 26 26 pyside sleekxmpp hypchat pytest
+1 -1
pkgs/applications/networking/flexget/default.nix
··· 41 41 propagatedBuildInputs = [ 42 42 feedparser sqlalchemy pyyaml 43 43 beautifulsoup4 html5lib PyRSS2Gen pynzb 44 - rpyc jinja2 requests2 dateutil jsonschema 44 + rpyc jinja2 requests dateutil jsonschema 45 45 pathpy guessit APScheduler 46 46 terminaltables colorclass 47 47 cherrypy flask flask-restful flask-restplus_0_8
+2 -2
pkgs/applications/networking/sync/acd_cli/default.nix
··· 1 1 { stdenv, fetchFromGitHub, buildPythonApplication, fuse 2 - , appdirs, colorama, dateutil, requests2, requests_toolbelt 2 + , appdirs, colorama, dateutil, requests, requests_toolbelt 3 3 , fusepy, sqlalchemy }: 4 4 5 5 buildPythonApplication rec { ··· 16 16 sha256 = "0a0fr632l24a3jmgla3b1vcm50ayfa9hdbp677ch1chwj5dq4zfp"; 17 17 }; 18 18 19 - propagatedBuildInputs = [ appdirs colorama dateutil fusepy requests2 19 + propagatedBuildInputs = [ appdirs colorama dateutil fusepy requests 20 20 requests_toolbelt sqlalchemy ]; 21 21 22 22 makeWrapperArgs = [ "--prefix LIBFUSE_PATH : ${fuse}/lib/libfuse.so" ];
+1 -1
pkgs/applications/office/watson/default.nix
··· 16 16 py.test -vs tests 17 17 ''; 18 18 checkInputs = with pythonPackages; [ py pytest pytest-datafiles mock pytest-mock pytestrunner ]; 19 - propagatedBuildInputs = with pythonPackages; [ requests2 click arrow ]; 19 + propagatedBuildInputs = with pythonPackages; [ requests click arrow ]; 20 20 21 21 meta = with stdenv.lib; { 22 22 homepage = https://tailordev.github.io/Watson/;
+1 -1
pkgs/applications/version-management/git-review/default.nix
··· 13 13 sha256 = "aa594690ed586041a524d6e5ae76152cbd53d4f03a98b20b213d15cecbe128ce"; 14 14 }; 15 15 16 - propagatedBuildInputs = [ pythonPackages.pbr pythonPackages.requests2 pythonPackages.argparse pythonPackages.setuptools ]; 16 + propagatedBuildInputs = [ pythonPackages.pbr pythonPackages.requests pythonPackages.argparse pythonPackages.setuptools ]; 17 17 18 18 # Don't do tests because they require gerrit which is not packaged 19 19 doCheck = false;
+1 -1
pkgs/applications/video/streamlink/default.nix
··· 13 13 14 14 buildInputs = with pythonPackages; [ pytest mock ]; 15 15 16 - propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests2 iso-639 iso3166 ]) ++ [ rtmpdump ffmpeg ]; 16 + propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 ]) ++ [ rtmpdump ffmpeg ]; 17 17 18 18 meta = with stdenv.lib; { 19 19 homepage = https://github.com/streamlink/streamlink;
+1 -1
pkgs/applications/virtualization/openstack/glance.nix
··· 26 26 ]; 27 27 28 28 buildInputs = with python2Packages; [ 29 - Babel coverage fixtures mox3 mock oslosphinx requests2 testrepository pep8 29 + Babel coverage fixtures mox3 mock oslosphinx requests testrepository pep8 30 30 testresources testscenarios testtools psutil_1 oslotest psycopg2 31 31 sqlite which strace 32 32 ];
+1 -1
pkgs/applications/virtualization/openstack/keystone.nix
··· 30 30 31 31 buildInputs = with python2Packages; [ 32 32 coverage fixtures mock subunit tempest-lib testtools testrepository 33 - ldap ldappool webtest requests2 oslotest pep8 pymongo which 33 + ldap ldappool webtest requests oslotest pep8 pymongo which 34 34 ]; 35 35 36 36 makeWrapperArgs = ["--prefix PATH : '${openssl.bin}/bin:$PATH'"];
+1 -1
pkgs/applications/virtualization/openstack/neutron.nix
··· 14 14 15 15 # https://github.com/openstack/neutron/blob/stable/liberty/requirements.txt 16 16 propagatedBuildInputs = with python2Packages; [ 17 - pbr paste PasteDeploy routes debtcollector eventlet greenlet httplib2 requests2 17 + pbr paste PasteDeploy routes debtcollector eventlet greenlet httplib2 requests 18 18 jinja2 keystonemiddleware netaddr retrying sqlalchemy webob alembic six 19 19 stevedore pecan ryu networking-hyperv MySQL_python 20 20
+1 -1
pkgs/applications/virtualization/openstack/nova.nix
··· 24 24 propagatedBuildInputs = with python2Packages; [ 25 25 pbr sqlalchemy boto decorator eventlet jinja2 lxml routes cryptography 26 26 webob greenlet PasteDeploy paste prettytable sqlalchemy_migrate netaddr 27 - netifaces paramiko Babel iso8601 jsonschema keystoneclient requests2 six 27 + netifaces paramiko Babel iso8601 jsonschema keystoneclient requests six 28 28 stevedore websockify rfc3986 os-brick psutil_1 alembic psycopg2 pymysql 29 29 keystonemiddleware MySQL_python 30 30
+1 -1
pkgs/desktops/gnome-3/3.22/apps/gnome-music/default.nix
··· 11 11 buildInputs = [ pkgconfig gtk3 glib intltool itstool gnome3.libmediaart 12 12 gdk_pixbuf gnome3.defaultIconTheme librsvg python3Packages.python 13 13 gnome3.grilo gnome3.grilo-plugins gnome3.totem-pl-parser libxml2 libnotify 14 - python3Packages.pycairo python3Packages.dbus-python python3Packages.requests2 14 + python3Packages.pycairo python3Packages.dbus-python python3Packages.requests 15 15 python3Packages.pygobject3 gst_all_1.gstreamer gst_all_1.gst-plugins-base 16 16 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad wrapGAppsHook 17 17 gnome3.gsettings_desktop_schemas makeWrapper tracker ];
+2 -2
pkgs/development/python-modules/coveralls/default.nix
··· 6 6 , sh 7 7 , coverage 8 8 , docopt 9 - , requests2 9 + , requests 10 10 , git 11 11 }: 12 12 ··· 38 38 propagatedBuildInputs = [ 39 39 coverage 40 40 docopt 41 - requests2 41 + requests 42 42 ]; 43 43 44 44 meta = {
+2 -2
pkgs/development/python-modules/docker.nix
··· 1 1 { stdenv, buildPythonPackage, fetchurl 2 - , six, requests2, websocket_client 2 + , six, requests, websocket_client 3 3 , ipaddress, backports_ssl_match_hostname, docker_pycreds 4 4 }: 5 5 buildPythonPackage rec { ··· 13 13 14 14 propagatedBuildInputs = [ 15 15 six 16 - requests2 16 + requests 17 17 websocket_client 18 18 ipaddress 19 19 backports_ssl_match_hostname
+2 -2
pkgs/development/python-modules/docker_compose.nix
··· 1 1 { stdenv, buildPythonApplication, fetchurl, pythonOlder 2 2 , mock, pytest, nose 3 3 , pyyaml, backports_ssl_match_hostname, colorama, docopt 4 - , dockerpty, docker, ipaddress, jsonschema, requests2 4 + , dockerpty, docker, ipaddress, jsonschema, requests 5 5 , six, texttable, websocket_client, cached-property 6 6 , enum34, functools32 7 7 }: ··· 19 19 buildInputs = [ mock pytest nose ]; 20 20 propagatedBuildInputs = [ 21 21 pyyaml backports_ssl_match_hostname colorama dockerpty docker 22 - ipaddress jsonschema requests2 six texttable websocket_client 22 + ipaddress jsonschema requests six texttable websocket_client 23 23 docopt cached-property 24 24 ] ++ 25 25 stdenv.lib.optional (pythonOlder "3.4") enum34 ++
+2 -2
pkgs/development/python-modules/ipython/5.nix
··· 17 17 , decorator 18 18 , pathlib2 19 19 , pickleshare 20 - , requests2 20 + , requests 21 21 , simplegeneric 22 22 , traitlets 23 23 , prompt_toolkit ··· 45 45 46 46 propagatedBuildInputs = [ 47 47 backports_shutil_get_terminal_size decorator pickleshare prompt_toolkit 48 - simplegeneric traitlets requests2 pathlib2 pexpect 48 + simplegeneric traitlets requests pathlib2 pexpect 49 49 ] ++ lib.optionals stdenv.isDarwin [ appnope ]; 50 50 51 51 LC_ALL="en_US.UTF-8";
+2 -2
pkgs/development/python-modules/notebook/default.nix
··· 15 15 , nbconvert 16 16 , ipykernel 17 17 , terminado 18 - , requests2 18 + , requests 19 19 , pexpect 20 20 }: 21 21 ··· 34 34 buildInputs = [nose glibcLocales] ++ lib.optionals isPy27 [mock]; 35 35 36 36 propagatedBuildInputs = [jinja2 tornado ipython_genutils traitlets jupyter_core 37 - jupyter_client nbformat nbconvert ipykernel terminado requests2 pexpect ]; 37 + jupyter_client nbformat nbconvert ipykernel terminado requests pexpect ]; 38 38 39 39 checkPhase = '' 40 40 nosetests -v
+2 -2
pkgs/development/python-modules/plotly/default.nix
··· 4 4 , decorator 5 5 , nbformat 6 6 , pytz 7 - , requests2 7 + , requests 8 8 , six 9 9 }: 10 10 ··· 22 22 decorator 23 23 nbformat 24 24 pytz 25 - requests2 25 + requests 26 26 six 27 27 ]; 28 28
+2 -2
pkgs/development/python-modules/pyrax.nix
··· 1 - { lib, buildPythonPackage, fetchurl, requests2, novaclient, keyring, 1 + { lib, buildPythonPackage, fetchurl, requests, novaclient, keyring, 2 2 rackspace-novaclient, six, isPy3k, pytest, glibcLocales }: 3 3 buildPythonPackage rec { 4 4 name = "pyrax-1.9.8"; ··· 15 15 ''; 16 16 17 17 disabled = isPy3k; 18 - propagatedBuildInputs = [ requests2 novaclient keyring rackspace-novaclient six ]; 18 + propagatedBuildInputs = [ requests novaclient keyring rackspace-novaclient six ]; 19 19 20 20 LC_ALL = "en_US.UTF-8"; 21 21 buildInputs = [ pytest glibcLocales ];
+2 -2
pkgs/development/python-modules/pytest-httpbin/default.nix
··· 6 6 , decorator 7 7 , httpbin 8 8 , six 9 - , requests2 9 + , requests 10 10 }: 11 11 12 12 buildPythonPackage rec { ··· 25 25 ''; 26 26 27 27 buildInputs = [ pytest ]; 28 - propagatedBuildInputs = [ flask decorator httpbin six requests2 ]; 28 + propagatedBuildInputs = [ flask decorator httpbin six requests ]; 29 29 30 30 meta = { 31 31 description = "Easily test your HTTP library against a local copy of httpbin.org";
+2 -2
pkgs/development/python-modules/rackspace-novaclient.nix
··· 1 - { buildPythonPackage, fetchurl, isPy3k, requests2, novaclient, six, lib }: 1 + { buildPythonPackage, fetchurl, isPy3k, requests, novaclient, six, lib }: 2 2 let 3 3 os-virtual-interfacesv2-python-novaclient-ext = buildPythonPackage rec { 4 4 name = "os_virtual_interfacesv2_python_novaclient_ext-0.20"; ··· 129 129 130 130 disabled = isPy3k; 131 131 propagatedBuildInputs = [ 132 - requests2 132 + requests 133 133 novaclient 134 134 six 135 135 # extensions
+2 -2
pkgs/development/python-modules/requests-oauthlib.nix
··· 1 1 { stdenv, buildPythonPackage, fetchurl 2 - , oauthlib, requests2 }: 2 + , oauthlib, requests }: 3 3 4 4 buildPythonPackage rec { 5 5 version = "0.7.0"; ··· 11 11 }; 12 12 13 13 doCheck = false; # Internet tests fail when building in chroot 14 - propagatedBuildInputs = [ oauthlib requests2 ]; 14 + propagatedBuildInputs = [ oauthlib requests ]; 15 15 16 16 meta = with stdenv.lib; { 17 17 description = "OAuthlib authentication support for Requests";
+2 -2
pkgs/development/python-modules/treq/default.nix
··· 1 - { stdenv, fetchurl, buildPythonPackage, service-identity, requests2, 1 + { stdenv, fetchurl, buildPythonPackage, service-identity, requests, 2 2 six, mock, twisted, incremental, coreutils, gnumake, pep8, sphinx, 3 3 openssl, pyopenssl }: 4 4 ··· 19 19 20 20 propagatedBuildInputs = [ 21 21 service-identity 22 - requests2 22 + requests 23 23 twisted 24 24 incremental 25 25 sphinx
+1 -1
pkgs/development/tools/backblaze-b2/default.nix
··· 11 11 sha256 = "1gl1z7zg3s1xgx45i6b1bvx9iwviiiinl4my00h66qkhrw7ag8p1"; 12 12 }; 13 13 14 - propagatedBuildInputs = with pythonPackages; [ futures requests2 six tqdm ]; 14 + propagatedBuildInputs = with pythonPackages; [ futures requests six tqdm ]; 15 15 16 16 checkPhase = '' 17 17 python test_b2_command_line.py test
+1 -1
pkgs/development/tools/build-managers/conan/default.nix
··· 11 11 }; 12 12 13 13 propagatedBuildInputs = with pythonPackages; [ 14 - requests2 fasteners pyyaml pyjwt colorama patch 14 + requests fasteners pyyaml pyjwt colorama patch 15 15 bottle pluginbase six distro pylint node-semver 16 16 ]; 17 17
+1 -1
pkgs/servers/inginious/default.nix
··· 37 37 ''; 38 38 39 39 propagatedBuildInputs = with pythonPackages; [ 40 - requests2 40 + requests 41 41 cgroup-utils docker_1_7_2 docutils PyLTI mock pygments 42 42 pymongo pyyaml rpyc sh simpleldap sphinx_rtd_theme tidylib 43 43 websocket_client watchdog webpy-custom flup
+1 -1
pkgs/servers/matrix-synapse/default.nix
··· 37 37 38 38 propagatedBuildInputs = with pythonPackages; [ 39 39 blist canonicaljson daemonize dateutil frozendict pillow pybcrypt pyasn1 40 - pydenticon pymacaroons-pynacl pynacl pyopenssl pysaml2 pytz requests2 40 + pydenticon pymacaroons-pynacl pynacl pyopenssl pysaml2 pytz requests 41 41 signedjson systemd twisted ujson unpaddedbase64 pyyaml 42 42 matrix-angular-sdk bleach netaddr jinja2 psycopg2 43 43 psutil msgpack lxml matrix-synapse-ldap3
+1 -1
pkgs/tools/audio/beets/default.nix
··· 100 100 ++ optional (enableFetchart 101 101 || enableEmbyupdate 102 102 || enableAcousticbrainz) 103 - pythonPackages.requests2 103 + pythonPackages.requests 104 104 ++ optional enableConvert ffmpeg 105 105 ++ optional enableDiscogs pythonPackages.discogs_client 106 106 ++ optional enableKeyfinder keyfinder-cli
+1 -1
pkgs/tools/backup/s3ql/default.nix
··· 12 12 13 13 buildInputs = [ which ]; # tests will fail without which 14 14 propagatedBuildInputs = with python3Packages; [ 15 - sqlite apsw pycrypto requests2 defusedxml dugong llfuse 15 + sqlite apsw pycrypto requests defusedxml dugong llfuse 16 16 cython pytest pytest-catchlog 17 17 ]; 18 18
+1 -1
pkgs/tools/misc/asciinema/default.nix
··· 7 7 version = "1.4.0"; 8 8 9 9 buildInputs = with pythonPackages; [ nose ]; 10 - propagatedBuildInputs = with pythonPackages; [ requests2 ]; 10 + propagatedBuildInputs = with pythonPackages; [ requests ]; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "asciinema";
+1 -1
pkgs/tools/misc/kargo/default.nix
··· 20 20 markupsafe 21 21 netaddr 22 22 pyasn1 23 - requests2 23 + requests 24 24 setuptools 25 25 ]; 26 26
+2 -2
pkgs/tools/misc/svtplay-dl/default.nix
··· 2 2 , rtmpdump, substituteAll }: 3 3 4 4 let 5 - inherit (pythonPackages) python nose pycrypto requests2 mock; 5 + inherit (pythonPackages) python nose pycrypto requests mock; 6 6 in stdenv.mkDerivation rec { 7 7 name = "svtplay-dl-${version}"; 8 8 version = "1.9.3"; ··· 14 14 sha256 = "14qksi1svi89niffykxg47kay013byls6bnhkrkzkanq04075lmw"; 15 15 }; 16 16 17 - pythonPaths = [ pycrypto requests2 ]; 17 + pythonPaths = [ pycrypto requests ]; 18 18 buildInputs = [ python perl nose mock rtmpdump makeWrapper ] ++ pythonPaths; 19 19 nativeBuildInputs = [ zip ]; 20 20
+1 -1
pkgs/tools/misc/system-config-printer/default.nix
··· 29 29 nativeBuildInputs = [ wrapGAppsHook ]; 30 30 31 31 pythonPath = with pythonPackages; 32 - [ pycups pycurl dbus-python pygobject3 requests2 pycairo pythonPackages.pycurl ]; 32 + [ pycups pycurl dbus-python pygobject3 requests pycairo pythonPackages.pycurl ]; 33 33 34 34 configureFlags = 35 35 [ "--with-udev-rules"
+1 -1
pkgs/tools/misc/vdirsyncer/default.nix
··· 17 17 propagatedBuildInputs = with pythonPackages; [ 18 18 click click-log click-threading 19 19 requests_toolbelt 20 - requests2 20 + requests 21 21 atomicwrites 22 22 ]; 23 23
+2 -2
pkgs/tools/networking/dd-agent/default.nix
··· 15 15 16 16 propagatedBuildInputs = with pythonPackages; [ 17 17 six 18 - requests2 18 + requests 19 19 websocket_client 20 20 ipaddress 21 21 backports_ssl_match_hostname ··· 42 42 python 43 43 unzip 44 44 makeWrapper 45 - pythonPackages.requests2 45 + pythonPackages.requests 46 46 pythonPackages.psycopg2 47 47 pythonPackages.psutil 48 48 pythonPackages.ntplib
+1 -1
pkgs/tools/networking/httpie/default.nix
··· 9 9 sha256 = "1jsgfkyzzizgfy1b0aicb4cp34d5pwskz9c4a8kf4rq3lrpjw87i"; 10 10 }; 11 11 12 - propagatedBuildInputs = with pythonPackages; [ pygments requests2 ]; 12 + propagatedBuildInputs = with pythonPackages; [ pygments requests ]; 13 13 14 14 doCheck = false; 15 15
+2 -2
pkgs/tools/networking/linkchecker/default.nix
··· 5 5 version = "9.3"; 6 6 7 7 buildInputs = with python2Packages ; [ pytest ]; 8 - propagatedBuildInputs = with python2Packages ; [ requests2 ] ++ [ gettext ]; 8 + propagatedBuildInputs = with python2Packages ; [ requests ] ++ [ gettext ]; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://pypi/L/LinkChecker/${name}.tar.gz"; ··· 13 13 }; 14 14 15 15 # 1. upstream refuses to support ignoring robots.txt 16 - # 2. work around requests2 version detection - can be dropped >v9.3 16 + # 2. work around requests version detection - can be dropped >v9.3 17 17 patches = [ 18 18 ./add-no-robots-flag.patch 19 19 ./no-version-check.patch
+1 -1
pkgs/tools/networking/mitmproxy/default.nix
··· 16 16 blinker click certifi construct cryptography 17 17 cssutils editorconfig h2 html2text hyperframe 18 18 jsbeautifier kaitaistruct passlib pyasn1 pyopenssl 19 - pyparsing pyperclip requests2 ruamel_yaml tornado 19 + pyparsing pyperclip requests ruamel_yaml tornado 20 20 urwid watchdog brotlipy sortedcontainers 21 21 ]; 22 22
+1 -1
pkgs/tools/networking/urlwatch/default.nix
··· 15 15 keyring 16 16 minidb 17 17 pyyaml 18 - requests2 18 + requests 19 19 ]; 20 20 21 21 meta = with stdenv.lib; {
+1 -1
pkgs/tools/package-management/nox/default.nix
··· 15 15 propagatedBuildInputs = with pythonPackages; [ 16 16 dogpile_cache 17 17 click 18 - requests2 18 + requests 19 19 characteristic 20 20 ]; 21 21
+1 -1
pkgs/tools/security/vulnix/default.nix
··· 27 27 colorama 28 28 lxml 29 29 pyyaml 30 - requests2 30 + requests 31 31 external.zodb 32 32 ]); 33 33
+1 -1
pkgs/top-level/all-packages.nix
··· 12939 12939 acd-cli = callPackage ../applications/networking/sync/acd_cli { 12940 12940 inherit (python35Packages) 12941 12941 buildPythonApplication appdirs colorama dateutil 12942 - requests2 requests_toolbelt sqlalchemy fusepy; 12942 + requests requests_toolbelt sqlalchemy fusepy; 12943 12943 }; 12944 12944 12945 12945 adobe-reader = callPackage_i686 ../applications/misc/adobe-reader { };
+104 -103
pkgs/top-level/python-packages.nix
··· 446 446 name = "acme-${version}"; 447 447 448 448 propagatedBuildInputs = with self; [ 449 - cryptography pyasn1 pyopenssl pyRFC3339 pytz requests2 six werkzeug mock 449 + cryptography pyasn1 pyopenssl pyRFC3339 pytz requests six werkzeug mock 450 450 ndg-httpsclient 451 451 ]; 452 452 ··· 524 524 sha256 = "1f32k18ck54adqlgvh6fjhy4yavcyrwy813prjyqppqqq4bn1a09"; 525 525 }; 526 526 527 - propagatedBuildInputs = with self; [ requests2 pyjwt ]; 527 + propagatedBuildInputs = with self; [ requests pyjwt ]; 528 528 529 529 meta = { 530 530 description = "Library to make it easy for python application to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources"; ··· 1613 1613 sha256 = "89c20b2efaaed3c6f56345d55c32a8d4e7d2a16c032d0acb92f8f490c508fe24"; 1614 1614 }; 1615 1615 1616 - propagatedBuildInputs = with self; [ dateutil futures pyopenssl requests2 ]; 1616 + propagatedBuildInputs = with self; [ dateutil futures pyopenssl requests ]; 1617 1617 1618 1618 meta = { 1619 1619 description = "Microsoft Azure SDK for Python"; ··· 1665 1665 url = mirror://pypi/a/azure-mgmt-common/azure-mgmt-common-0.20.0.zip; 1666 1666 sha256 = "1rmzpz3733wv31rsnqpdy4bbafvk5dhbqx7q0xf62dlz7p0i4f66"; 1667 1667 }; 1668 - propagatedBuildInputs = with self; [ azure-common azure-mgmt-nspkg requests2 ]; 1668 + propagatedBuildInputs = with self; [ azure-common azure-mgmt-nspkg requests ]; 1669 1669 postInstall = '' 1670 1670 echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py 1671 1671 echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py ··· 1801 1801 url = mirror://pypi/a/azure-storage/azure-storage-0.20.3.zip; 1802 1802 sha256 = "06bmw6k2000kln5jwk5r9bgcalqbyvqirmdh9gq4s6nb4fv3c0jb"; 1803 1803 }; 1804 - propagatedBuildInputs = with self; [ azure-common futures dateutil requests2 ]; 1804 + propagatedBuildInputs = with self; [ azure-common futures dateutil requests ]; 1805 1805 postInstall = '' 1806 1806 echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py 1807 1807 ''; ··· 1820 1820 url = mirror://pypi/a/azure-servicemanagement-legacy/azure-servicemanagement-legacy-0.20.1.zip; 1821 1821 sha256 = "17dwrp99sx5x9cm4vldkaxhki9gbd6dlafa0lpr2n92xhh2838zs"; 1822 1822 }; 1823 - propagatedBuildInputs = with self; [ azure-common requests2 ]; 1823 + propagatedBuildInputs = with self; [ azure-common requests ]; 1824 1824 postInstall = '' 1825 1825 echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py 1826 1826 ''; ··· 2090 2090 sha256 = "0vw4d53jbbb2kdl7l891h8iyxklqcd6ldvgcyhw9hl40ljdhv1wz"; 2091 2091 }; 2092 2092 2093 - propagatedBuildInputs = [ self.requests2 ]; 2093 + propagatedBuildInputs = [ self.requests ]; 2094 2094 2095 2095 doCheck = false; 2096 2096 ··· 2523 2523 }; 2524 2524 2525 2525 buildInputs = with self; [ pillow tox mock six nose ]; 2526 - propagatedBuildInputs = with self; [ requests2 decorator simplejson ]; 2526 + propagatedBuildInputs = with self; [ requests decorator simplejson ]; 2527 2527 2528 2528 meta = { 2529 2529 description = "The Datadog Python library "; ··· 2565 2565 sha256 = "1bkqhlzigy656pam0znp2ddp1y5sqzyhw3c4fyy58spcafldq4j6"; 2566 2566 }; 2567 2567 buildInputs = with self; [ pytest ]; 2568 - propagatedBuildInputs = with self; [ requests2 lxml pbr ]; 2568 + propagatedBuildInputs = with self; [ requests lxml pbr ]; 2569 2569 # prompt_toolkit doesn't work on 3.5 on OSX. 2570 2570 doCheck = !isPy35; 2571 2571 ··· 2609 2609 sha256 = "0fs7a4cf4f12mjhcjd5vfh0f3ixcy2nawzxpgsfr3ahf0rg7ppx5"; 2610 2610 }; 2611 2611 2612 - propagatedBuildInputs = with self; [ cookies mock requests2 six ]; 2612 + propagatedBuildInputs = with self; [ cookies mock requests six ]; 2613 2613 2614 2614 doCheck = false; 2615 2615 ··· 2732 2732 sha256 = "d881e21ec7ebfa006cfca6d10a5b7229aa59990568f8c6b8e3364769fa38b6f6"; 2733 2733 }; 2734 2734 2735 - propagatedBuildInputs = [ self.requests2 ]; 2735 + propagatedBuildInputs = [ self.requests ]; 2736 2736 2737 2737 # No tests 2738 2738 doCheck = false; ··· 2793 2793 psutil 2794 2794 pymongo 2795 2795 pyyaml 2796 - requests2 2796 + requests 2797 2797 sqlalchemy 2798 2798 tables 2799 2799 toolz ··· 2983 2983 werkzeug 2984 2984 itsdangerous 2985 2985 dateutil 2986 - requests2 2986 + requests 2987 2987 six 2988 2988 pygments 2989 2989 pystache ··· 3023 3023 ''; 3024 3024 3025 3025 buildInputs = [ self.nose self.mock ]; 3026 - propagatedBuildInputs = [ self.requests2 self.httpretty ]; 3026 + propagatedBuildInputs = [ self.requests self.httpretty ]; 3027 3027 3028 3028 meta = { 3029 3029 homepage = https://github.com/boto/boto; ··· 3088 3088 3089 3089 propagatedBuildInputs = 3090 3090 [ self.dateutil 3091 - self.requests2 3091 + self.requests 3092 3092 self.jmespath 3093 3093 ]; 3094 3094 ··· 3167 3167 3168 3168 buildInputs = with self; [ mock unittest2 nose /* jira megaplan */ ]; 3169 3169 propagatedBuildInputs = with self; [ 3170 - twiggy requests2 offtrac bugzilla taskw dateutil pytz keyring six 3170 + twiggy requests offtrac bugzilla taskw dateutil pytz keyring six 3171 3171 jinja2 pycurl dogpile_cache lockfile click pyxdg 3172 3172 ]; 3173 3173 ··· 3213 3213 patches = [ ../development/python-modules/bugzilla/checkPhase-fix-cookie-compare.patch ]; 3214 3214 3215 3215 buildInputs = with self; [ pep8 coverage logilab_common ]; 3216 - propagatedBuildInputs = [ self.requests2 ]; 3216 + propagatedBuildInputs = [ self.requests ]; 3217 3217 3218 3218 preCheck = '' 3219 3219 mkdir -p check-phase ··· 3257 3257 sha256 = "0l3a7iyk596x6pvzg7604lzzi012qszr804fqn6f517zcy1xz23j"; 3258 3258 }; 3259 3259 3260 - propagatedBuildInputs = [ self.requests2 self.py ]; 3260 + propagatedBuildInputs = [ self.requests self.py ]; 3261 3261 3262 3262 meta = { 3263 3263 homepage = https://bitbucket.org/hpk42/devpi; ··· 3633 3633 sed -i 's/==/>=/' requirements.txt 3634 3634 ''; 3635 3635 3636 - propagatedBuildInputs = with self; [ docopt requests2 pygments ]; 3636 + propagatedBuildInputs = with self; [ docopt requests pygments ]; 3637 3637 3638 3638 # Error when running tests: 3639 3639 # No local packages or download links found for requests ··· 4103 4103 sha256 = "0vfyr499sbc4nnhhijp2lznyj507nnak95bvv9w8y78ngxggskbh"; 4104 4104 }; 4105 4105 4106 - buildInputs = with self; [ requests2 six pytest ]; 4106 + buildInputs = with self; [ requests six pytest ]; 4107 4107 4108 4108 # No tests distributed. https://github.com/cablehead/python-consul/issues/133 4109 4109 doCheck = false; ··· 4403 4403 4404 4404 propagatedBuildInputs = with self; [ 4405 4405 pbr stevedore netaddr iso8601 six oslo-i18n oslo-utils Babel pyyaml eventlet 4406 - requests2 urllib3 oslo-concurrency suds-jurko 4406 + requests urllib3 oslo-concurrency suds-jurko 4407 4407 ]; 4408 4408 buildInputs = with self; [ 4409 4409 bandit oslosphinx coverage testtools testscenarios testrepository mock ··· 4421 4421 }; 4422 4422 4423 4423 propagatedBuildInputs = with self; [ 4424 - pbr argparse requests2 six keystoneclient cliff oslo-i18n oslo-serialization 4424 + pbr argparse requests six keystoneclient cliff oslo-i18n oslo-serialization 4425 4425 oslo-utils 4426 4426 ]; 4427 4427 buildInputs = with self; [ ··· 4471 4471 buildInputs = with self; [ 4472 4472 pbr testtools testscenarios testrepository requests-mock fixtures ]; 4473 4473 propagatedBuildInputs = with self; [ 4474 - Babel argparse prettytable requests2 simplejson six iso8601 4474 + Babel argparse prettytable requests simplejson six iso8601 4475 4475 keystoneclient tempest-lib ]; 4476 4476 4477 4477 # TODO: check if removing this test is really harmless ··· 4582 4582 4583 4583 propagatedBuildInputs = with self; [ 4584 4584 pbr six Babel cliff os-client-config oslo-config oslo-i18n oslo-utils 4585 - glanceclient keystoneclient novaclient cinderclient neutronclient requests2 4585 + glanceclient keystoneclient novaclient cinderclient neutronclient requests 4586 4586 stevedore cliff-tablib 4587 4587 ]; 4588 4588 buildInputs = with self; [ ··· 5203 5203 version = "1.1.0"; 5204 5204 5205 5205 buildInputs = with self; [ pytest ]; 5206 - propagatedBuildInputs = with self; [ setuptools-git pytest-shutil pytest-fixture-config psutil requests2 ]; 5206 + propagatedBuildInputs = with self; [ setuptools-git pytest-shutil pytest-fixture-config psutil requests ]; 5207 5207 5208 5208 meta = { 5209 5209 description = "Extensible server fixures for py.test"; ··· 5316 5316 }; 5317 5317 5318 5318 propagatedBuildInputs = with self; [ werkzeug ]; 5319 - buildInputs = with self; [ pytest six requests2 ]; 5319 + buildInputs = with self; [ pytest six requests ]; 5320 5320 5321 5321 checkPhase = '' 5322 5322 py.test ··· 5554 5554 digital-ocean = buildPythonPackage rec { 5555 5555 name = "python-digitalocean-1.10.1"; 5556 5556 5557 - propagatedBuildInputs = with self; [ requests2 ]; 5557 + propagatedBuildInputs = with self; [ requests ]; 5558 5558 5559 5559 # Package doesn't distribute tests. 5560 5560 doCheck = false; ··· 5699 5699 5700 5700 buildInputs = with self; [ mock ]; 5701 5701 5702 - propagatedBuildInputs = with self; [ requests2 six urllib3 ]; 5702 + propagatedBuildInputs = with self; [ requests six urllib3 ]; 5703 5703 5704 5704 meta = { 5705 5705 description = "Persistent cache for requests library"; ··· 6047 6047 sha256 = "0a3616a818dd9fa61a61c3d9731d176e9123130d1b1b97a6beee63b4c72306b7"; 6048 6048 }; 6049 6049 6050 - propagatedBuildInputs = with self; [ oauth2 requests2 ]; 6050 + propagatedBuildInputs = with self; [ oauth2 requests ]; 6051 6051 6052 6052 meta = { 6053 6053 description = "Official Python API client for Discogs"; ··· 6156 6156 doCheck = false; # requires redis server 6157 6157 propagatedBuildInputs = with self; [ 6158 6158 setuptools docker_registry_core blinker flask gevent gunicorn pyyaml 6159 - requests2 rsa sqlalchemy setuptools backports_lzma m2crypto 6159 + requests rsa sqlalchemy setuptools backports_lzma m2crypto 6160 6160 ]; 6161 6161 6162 6162 patchPhase = "> requirements/main.txt"; ··· 6253 6253 sha256 ="0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56"; 6254 6254 }; 6255 6255 6256 - propagatedBuildInputs = with self; [ requests2 six ]; 6256 + propagatedBuildInputs = with self; [ requests six ]; 6257 6257 6258 6258 meta = { 6259 6259 description = "Digital Ocean API python wrapper"; ··· 6326 6326 sha256 = "f65c12bd97f09e29a951bc7cb30a74e005fc4b2f8bb48778796be3f73866b173"; 6327 6327 }; 6328 6328 6329 - propagatedBuildInputs = with self; [ requests2 urllib3 mock setuptools ]; 6329 + propagatedBuildInputs = with self; [ requests urllib3 mock setuptools ]; 6330 6330 6331 6331 meta = { 6332 6332 description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs"; ··· 6424 6424 # Check is disabled because running them destroy the content of the local cluster! 6425 6425 # https://github.com/elasticsearch/elasticsearch-py/tree/master/test_elasticsearch 6426 6426 doCheck = false; 6427 - propagatedBuildInputs = with self; [ urllib3 requests2 ]; 6427 + propagatedBuildInputs = with self; [ urllib3 requests ]; 6428 6428 buildInputs = with self; [ nosexcover mock ]; 6429 6429 6430 6430 meta = { ··· 6506 6506 sed -i -e '13,14d;37d' setup.py 6507 6507 ''; 6508 6508 6509 - propagatedBuildInputs = with self; [ simplejson pytz requests2 ]; 6509 + propagatedBuildInputs = with self; [ simplejson pytz requests ]; 6510 6510 6511 6511 # No proper tests are available 6512 6512 doCheck = false; ··· 6811 6811 }; 6812 6812 6813 6813 disabled = !isPy3k; 6814 - propagatedBuildInputs = with self; [ docutils requests2 requests_download zipfile36]; 6814 + propagatedBuildInputs = with self; [ docutils requests requests_download zipfile36]; 6815 6815 6816 6816 meta = { 6817 6817 description = "A simple packaging tool for simple packages"; ··· 7084 7084 mutagen 7085 7085 protobuf3_0 7086 7086 setuptools 7087 - requests2 7087 + requests 7088 7088 dateutil 7089 7089 proboscis 7090 7090 mock ··· 7255 7255 pyasn1 7256 7256 pycparser 7257 7257 pycryptodome 7258 - requests2 7258 + requests 7259 7259 six 7260 7260 ]; 7261 7261 ··· 7279 7279 }; 7280 7280 buildInputs = with self; [ pytest responses ]; 7281 7281 7282 - propagatedBuildInputs = with self; [ docopt flask markdown path-and-address pygments requests2 ]; 7282 + propagatedBuildInputs = with self; [ docopt flask markdown path-and-address pygments requests ]; 7283 7283 7284 7284 checkPhase = '' 7285 7285 export PATH="$PATH:$out/bin" ··· 7544 7544 sha256 = "0cdmzpk5wvi6fyfmmn96vynqkb1p59wjqjdijhm1ixf7bfl9r126"; 7545 7545 }; 7546 7546 7547 - propagatedBuildInputs = with self; [ six requests2 ]; 7547 + propagatedBuildInputs = with self; [ six requests ]; 7548 7548 7549 7549 meta = { 7550 7550 description = "A python client library for the IPFS API"; ··· 7646 7646 ''; 7647 7647 7648 7648 buildInputs = with self; [ pytest ]; 7649 - propagatedBuildInputs = with self; [ six clint pyyaml docopt requests2 jsonpatch args ]; 7649 + propagatedBuildInputs = with self; [ six clint pyyaml docopt requests jsonpatch args ]; 7650 7650 7651 7651 meta = with stdenv.lib; { 7652 7652 description = "A python wrapper for the various Internet Archive APIs"; ··· 8375 8375 propagatedBuildInputs = with self; [ 8376 8376 ansicolors beautifulsoup4 cffi coverage docutils fasteners futures 8377 8377 isort lmdb markdown mock packaging pathspec pep8 pex psutil pyflakes 8378 - pygments pystache pytestcov pytest pywatchman requests2 scandir 8378 + pygments pystache pytestcov pytest pywatchman requests scandir 8379 8379 setproctitle setuptools six thrift wheel twitter-common-dirutil 8380 8380 twitter-common-confluence twitter-common-collections 8381 8381 ]; ··· 8409 8409 8410 8410 propagatedBuildInputs = with self; [ 8411 8411 twitter-common-collections setproctitle setuptools six ansicolors 8412 - packaging pathspec scandir twitter-common-dirutil psutil requests2 8412 + packaging pathspec scandir twitter-common-dirutil psutil requests 8413 8413 pystache pex docutils markdown pygments twitter-common-confluence 8414 8414 fasteners coverage pywatchman futures cffi 8415 8415 ]; ··· 9495 9495 rev = version; 9496 9496 sha256 = "1mnl0rfbnimcpp7q9hva0x9jfa58j4nc27r9kvaii8869kzssw48"; 9497 9497 }; 9498 - propagatedBuildInputs = with self; [ requests2 ]; 9498 + propagatedBuildInputs = with self; [ requests ]; 9499 9499 prePatch = '' 9500 9500 sed -i -e "s|\[\"acpi\"|\[\"${pkgs.acpi}/bin/acpi\"|" py3status/modules/battery_level.py 9501 9501 sed -i -e "s|notify-send|${pkgs.libnotify}/bin/notify-send|" py3status/modules/battery_level.py ··· 10457 10457 pygments 10458 10458 simplejson 10459 10459 dateutil 10460 - requests2 10460 + requests 10461 10461 sqlparse 10462 10462 jinja2 10463 10463 autopep8 ··· 11534 11534 sha256 = "ddce23a2dd0abba6d19775e9bf7ba64e184b15a0e7163e65f62af63354193f63"; 11535 11535 }; 11536 11536 11537 - buildInputs = with self; stdenv.lib.optionals doCheck [coverage ddt nose pyyaml requests2 testtools]; 11537 + buildInputs = with self; stdenv.lib.optionals doCheck [coverage ddt nose pyyaml requests testtools]; 11538 11538 propagatedBuildInputs = with self; [ six python_mimeparse ]; 11539 11539 11540 11540 # The travis build fails since the migration from multiprocessing to threading for hosting the API under test. ··· 11555 11555 sha256 = "93325e13706594933a9afb0d4f0b0748134494299038f07df41152baf6f89f4c"; 11556 11556 }; 11557 11557 11558 - propagatedBuildInputs = with self; [ falcon requests2 ]; 11558 + propagatedBuildInputs = with self; [ falcon requests ]; 11559 11559 11560 11560 # tests are not shipped in the tarball 11561 11561 doCheck = false; ··· 12101 12101 12102 12102 buildInputs = with self; [ unittest2 pytest mock betamax betamax-matchers ]; 12103 12103 12104 - propagatedBuildInputs = with self; [ requests2 pyopenssl uritemplate_py 12104 + propagatedBuildInputs = with self; [ requests pyopenssl uritemplate_py 12105 12105 ndg-httpsclient requests_toolbelt pyasn1 ]; 12106 12106 12107 12107 postPatch = '' ··· 12494 12494 sha256 = "0qxa4g1ij1bj27mbp8l54lcr7d5krkb2rayisc6shkpf2b51ip4c"; 12495 12495 }; 12496 12496 12497 - propagatedBuildInputs = with self; [ requests2 ]; 12497 + propagatedBuildInputs = with self; [ requests ]; 12498 12498 }; 12499 12499 12500 12500 hypothesis = callPackage ../development/python-modules/hypothesis.nix { }; ··· 12597 12597 sha256 = "1nmdk6d89z14x3wg4yxywlxjdip16zc8bqnfb471z1365mr74jj7"; 12598 12598 }; 12599 12599 12600 - buildInputs = with self; [ tornado requests2 httplib2 sure nose coverage certifi ]; 12600 + buildInputs = with self; [ tornado requests httplib2 sure nose coverage certifi ]; 12601 12601 12602 12602 propagatedBuildInputs = with self; [ urllib3 ]; 12603 12603 ··· 12712 12712 12713 12713 # ImportError: No module named tests 12714 12714 doCheck = false; 12715 - propagatedBuildInputs = with self; [ requests2 dateutil pytz six ]; 12715 + propagatedBuildInputs = with self; [ requests dateutil pytz six ]; 12716 12716 12717 12717 meta = { 12718 12718 description = "Python client for InfluxDB"; ··· 13439 13439 doCheck = false; 13440 13440 13441 13441 propagatedBuildInputs = with self; [ 13442 - click watchdog exifread requests2 mistune inifile Babel jinja2 13442 + click watchdog exifread requests mistune inifile Babel jinja2 13443 13443 flask pyopenssl ndg-httpsclient pkgs.glibcLocales 13444 13444 ]; 13445 13445 }; ··· 13542 13542 sha256 = "db3c2a7fab8966d903a63f16c515bff241533e4ef2d746aa7aae4a49bba5e573"; 13543 13543 }; 13544 13544 13545 - propagatedBuildInputs = with self; [ requests2 ]; 13545 + propagatedBuildInputs = with self; [ requests ]; 13546 13546 13547 13547 meta = { 13548 13548 homepage = "https://github.com/ghickman/linode"; ··· 13610 13610 sha256 = "c9ca6fdfe6a6fb187a3d54ddf9b1518196348e8f20537f0a14ca81a264ffafa2"; 13611 13611 }; 13612 13612 13613 - propagatedBuildInputs = [ self.msgpack self.requests2 self.flask self.gevent self.pyzmq ]; 13613 + propagatedBuildInputs = [ self.msgpack self.requests self.flask self.gevent self.pyzmq ]; 13614 13614 buildInputs = [ self.mock self.unittest2 ]; 13615 13615 13616 13616 meta = { ··· 13999 13999 sha256 = "02jkwly4gw1jqm55l4wwn0j0ggnysx55inw9j96bif5l49z5cacd"; 14000 14000 }; 14001 14001 14002 - propagatedBuildInputs = with self; [ requests2 beautifulsoup4 six ]; 14002 + propagatedBuildInputs = with self; [ requests beautifulsoup4 six ]; 14003 14003 14004 14004 meta = { 14005 14005 description = "A Python library for automating interaction with websites"; ··· 14079 14079 buildInputs = with self; [ pyflakes pep8 ]; 14080 14080 propagatedBuildInputs = with self; [ 14081 14081 django_1_6 filebrowser_safe grappelli_safe bleach tzlocal beautifulsoup4 14082 - requests2 requests_oauthlib future pillow 14082 + requests requests_oauthlib future pillow 14083 14083 ]; 14084 14084 14085 14085 # Tests Fail Due to Syntax Warning, Fixed for v3.1.11+ ··· 14240 14240 14241 14241 buildInputs = with self; [ 14242 14242 pkgs.libjpeg pkgs.freetype pkgs.zlib pkgs.glibcLocales 14243 - pillow twitter pyfiglet requests2 arrow dateutil pysocks 14243 + pillow twitter pyfiglet requests arrow dateutil pysocks 14244 14244 pocket 14245 14245 ]; 14246 14246 ··· 14262 14262 }; 14263 14263 14264 14264 buildInputs = with self; [ 14265 - requests2 14265 + requests 14266 14266 ]; 14267 14267 14268 14268 meta = { ··· 14487 14487 14488 14488 propagatedBuildInputs = with self; [ 14489 14489 # Main dependencies 14490 - jinja2 werkzeug flask requests2 six boto httpretty xmltodict 14490 + jinja2 werkzeug flask requests six boto httpretty xmltodict 14491 14491 # For tests 14492 14492 nose sure boto3 freezegun 14493 14493 ]; ··· 14867 14867 14868 14868 buildInputs = with self; [ mock responses pytestcov pytest pytestcache pytestpep8 coverage ]; 14869 14869 14870 - propagatedBuildInputs = with self; [ six requests2 requests_oauthlib ]; 14870 + propagatedBuildInputs = with self; [ six requests requests_oauthlib ]; 14871 14871 14872 14872 checkPhase = '' 14873 14873 py.test ··· 15733 15733 sha256 = "0yjxwisxpxy3vpnqk9nw5k3db3xx6wyf6sk1px9m94s30glcq2cc"; 15734 15734 }; 15735 15735 15736 - propagatedBuildInputs = with self; [ appdirs pyyaml requests2 dbus-python emoji sleekxmpp mock ]; 15736 + propagatedBuildInputs = with self; [ appdirs pyyaml requests dbus-python emoji sleekxmpp mock ]; 15737 15737 15738 15738 meta = { 15739 15739 description = "A utility for sending notifications, on demand and when commands finish"; ··· 15980 15980 15981 15981 buildInputs = [ pkgs.makeWrapper ]; 15982 15982 15983 - propagatedBuildInputs = with self; [ pkgs.rtmpdump pycrypto requests2 ] 15983 + propagatedBuildInputs = with self; [ pkgs.rtmpdump pycrypto requests ] 15984 15984 ++ optionals isPy26 [ singledispatch futures argparse ] 15985 15985 ++ optionals isPy27 [ singledispatch futures ] 15986 15986 ++ optionals isPy33 [ singledispatch ]; ··· 16374 16374 doCheck = false; 16375 16375 16376 16376 propagatedBuildInputs = with self; [ 16377 - pbr requests2 sphinx_1_2 16377 + pbr requests sphinx_1_2 16378 16378 ]; 16379 16379 }; 16380 16380 ··· 16670 16670 }; 16671 16671 16672 16672 propagatedBuildInputs = with self; [ 16673 - six Babel simplejson requests2 keystoneclient prettytable argparse pbr 16673 + six Babel simplejson requests keystoneclient prettytable argparse pbr 16674 16674 ]; 16675 16675 buildInputs = with self; [ 16676 16676 testrepository requests-mock ··· 16696 16696 }; 16697 16697 16698 16698 propagatedBuildInputs = with self; [ 16699 - pbr six simplejson keystoneclient requests2 oslo-utils oslo-serialization 16699 + pbr six simplejson keystoneclient requests oslo-utils oslo-serialization 16700 16700 oslo-i18n netaddr iso8601 cliff argparse 16701 16701 ]; 16702 16702 buildInputs = with self; [ ··· 16814 16814 }; 16815 16815 16816 16816 propagatedBuildInputs = with self; [ 16817 - oslo-i18n oslo-utils six requests2 keystoneclient prettytable Babel pbr 16817 + oslo-i18n oslo-utils six requests keystoneclient prettytable Babel pbr 16818 16818 argparse warlock 16819 16819 ]; 16820 16820 buildInputs = with self; [ ··· 17083 17083 }; 17084 17084 17085 17085 propagatedBuildInputs = with self; [ 17086 - pbr requests2 futures six 17086 + pbr requests futures six 17087 17087 ]; 17088 17088 buildInputs = with self; [ 17089 17089 testtools testrepository mock ··· 17322 17322 }; 17323 17323 17324 17324 propagatedBuildInputs = with self; [ 17325 - requests2 oslo-config oslo-i18n oslo-serialization oslo-utils six 17325 + requests oslo-config oslo-i18n oslo-serialization oslo-utils six 17326 17326 ]; 17327 17327 buildInputs = with self; [ 17328 17328 oslosphinx httpretty oslotest ··· 17575 17575 17576 17576 buildInputs = with self; [ pbr testtools testresources testrepository mock 17577 17577 pep8 fixtures mox3 requests-mock ]; 17578 - propagatedBuildInputs = with self; [ argparse iso8601 requests2 six stevedore 17578 + propagatedBuildInputs = with self; [ argparse iso8601 requests six stevedore 17579 17579 webob oslo-config ]; 17580 17580 patchPhase = '' 17581 17581 sed -i 's@python@${python.interpreter}@' .testr.conf ··· 17596 17596 ''; 17597 17597 17598 17598 buildInputs = with self; [ pbr testtools testrepository mock ]; 17599 - propagatedBuildInputs = with self; [ six requests2 ]; 17599 + propagatedBuildInputs = with self; [ six requests ]; 17600 17600 }; 17601 17601 17602 17602 mox3 = buildPythonPackage rec { ··· 18433 18433 sha256 = "f3a646871f9baed05f336a32576edaab90abf0737d8adb54f2acb7bcad42a65f"; 18434 18434 }; 18435 18435 18436 - propagatedBuildInputs = with self; [ click_5 requests2 bottle pyserial lockfile colorama]; 18436 + propagatedBuildInputs = with self; [ click_5 requests bottle pyserial lockfile colorama]; 18437 18437 18438 18438 meta = with stdenv.lib; { 18439 18439 description = "An open source ecosystem for IoT development"; ··· 18784 18784 }; 18785 18785 18786 18786 propagatedBuildInputs = with self; [ 18787 - requests2 18787 + requests 18788 18788 decorator 18789 18789 flake8 18790 18790 mock ··· 19008 19008 sha256 = "0117039cb116af245e6866e8e8bf3c9c8b2853ad087142bd0c2dfc0acc09d452"; 19009 19009 }; 19010 19010 19011 - propagatedBuildInputs = with self; [ requests2 audioread ]; 19011 + propagatedBuildInputs = with self; [ requests audioread ]; 19012 19012 19013 19013 patches = [ ../development/python-modules/pyacoustid-py3.patch ]; 19014 19014 ··· 19119 19119 19120 19120 propagatedBuildInputs = with self; [ 19121 19121 repoze_who paste cryptography pycrypto pyopenssl ipaddress six cffi idna 19122 - enum34 pytz setuptools zope_interface dateutil requests2 pyasn1 webob decorator pycparser 19122 + enum34 pytz setuptools zope_interface dateutil requests pyasn1 webob decorator pycparser 19123 19123 defusedxml 19124 19124 ]; 19125 19125 buildInputs = with self; [ ··· 21651 21651 }; 21652 21652 }; 21653 21653 21654 - requests = self.requests2; 21655 - 21656 21654 # Remove before release of 17.09 21657 21655 requests_1 = buildPythonPackage rec { 21658 21656 name = "requests-1.2.3"; ··· 21669 21667 }; 21670 21668 }; 21671 21669 21672 - requests2 = buildPythonPackage rec { 21670 + requests2 = throw "requests2 has been deprecated. Use requests instead."; 21671 + 21672 + # use requests, not requests_2 21673 + requests = buildPythonPackage rec { 21673 21674 name = "requests-${version}"; 21674 21675 version = "2.13.0"; 21675 21676 ··· 21701 21702 sha256 = "07832a93314bcd619aaeb08611ae245728e66672efb930bc2a300a115a47dab7"; 21702 21703 }; 21703 21704 21704 - propagatedBuildInputs = with self; [ requests2 ]; 21705 + propagatedBuildInputs = with self; [ requests ]; 21705 21706 21706 21707 meta = { 21707 21708 description = "Download files using requests and save them to a target path"; ··· 21722 21723 sha256 = "16grklnbgcfwqj3f39gw7fc9afi7xlp9gm7x8w6mi81dzhdxf50y"; 21723 21724 }; 21724 21725 21725 - propagatedBuildInputs = with self; [ requests2 ]; 21726 + propagatedBuildInputs = with self; [ requests ]; 21726 21727 21727 21728 buildInputs = with self; [ betamax mock pytest ]; 21728 21729 ··· 21932 21933 sha256 = "1aij66qg9j5j4vzyh64nbg72y7pcafgjddxsi865racsay43xfqg"; 21933 21934 }; 21934 21935 21935 - propagatedBuildInputs = with self; [ requests2 ]; 21936 + propagatedBuildInputs = with self; [ requests ]; 21936 21937 # no tests in tarball 21937 21938 doCheck = false; 21938 21939 ··· 22006 22007 }; 22007 22008 22008 22009 propagatedBuildInputs = with self; [ 22009 - requests2 22010 + requests 22010 22011 ]; 22011 22012 buildInputs = with self; [ 22012 22013 ··· 22335 22336 }; 22336 22337 22337 22338 buildInputs = with self; [ unittest2 ]; 22338 - propagatedBuildInputs = with self; [ robotframework lxml requests2 ]; 22339 + propagatedBuildInputs = with self; [ robotframework lxml requests ]; 22339 22340 22340 22341 meta = { 22341 22342 description = "Robot Framework keyword library wrapper around the HTTP client library requests"; ··· 23625 23626 sha256 = "0zdz8lw545cd3a34cpib7mdwnad83gr2mrrxyj3v74h4zhwabhmg"; 23626 23627 }; 23627 23628 23628 - propagatedBuildInputs = with self; [ six requests2 mock unittest2 ]; 23629 + propagatedBuildInputs = with self; [ six requests mock unittest2 ]; 23629 23630 23630 23631 # FIXME 23631 23632 doCheck = false; ··· 24170 24171 sqlalchemy 24171 24172 whoosh 24172 24173 imagesize 24173 - requests2 24174 + requests 24174 24175 ]; 24175 24176 24176 24177 # https://github.com/NixOS/nixpkgs/issues/22501 ··· 24980 24981 oslotest pep8 ]; 24981 24982 propagatedBuildInputs = with self; [ 24982 24983 oslo-serialization oslo-config oslo-i18n oslo-utils 24983 - Babel argparse prettytable requests2 six iso8601 stevedore 24984 + Babel argparse prettytable requests six iso8601 stevedore 24984 24985 netaddr debtcollector bandit webob mock pycrypto ]; 24985 24986 24986 24987 patchPhase = '' ··· 25018 25019 ]; 25019 25020 propagatedBuildInputs = with self; [ 25020 25021 pbr Babel oslo-config oslo-context oslo-i18n oslo-serialization oslo-utils 25021 - requests2 six webob keystoneclient pycadf oslo-messaging 25022 + requests six webob keystoneclient pycadf oslo-messaging 25022 25023 ]; 25023 25024 25024 25025 # lots of "unhashable type" errors ··· 25500 25501 }; 25501 25502 25502 25503 doCheck = false; 25503 - propagatedBuildInputs = with self; [ requests2 six requests_oauthlib ]; 25504 + propagatedBuildInputs = with self; [ requests six requests_oauthlib ]; 25504 25505 25505 25506 meta = { 25506 25507 homepage = "https://github.com/tweepy/tweepy"; ··· 25677 25678 sha256 = "68b663691a947b844f92853c992d42bb68b6333bffc9ab7f661346b001c1da82"; 25678 25679 }; 25679 25680 25680 - propagatedBuildInputs = with self; [ clint pkginfo requests2 requests_toolbelt ]; 25681 + propagatedBuildInputs = with self; [ clint pkginfo requests requests_toolbelt ]; 25681 25682 25682 25683 # Requires network 25683 25684 doCheck = false; ··· 25889 25890 sha256 = "681bc7c26cffd1564eb6f0f3170d975a31c2a9f2224a32f80fe954232b86f173"; 25890 25891 }; 25891 25892 25892 - propagatedBuildInputs = with self; [ requests2 ]; 25893 + propagatedBuildInputs = with self; [ requests ]; 25893 25894 25894 25895 doCheck = false; 25895 25896 ··· 26189 26190 sha256 = "991bc2f1dc824c63e9b399f9e8606deded92a52378d0e449f258807d7556b039"; 26190 26191 }; 26191 26192 26192 - propagatedBuildInputs = with self; [ requests2 six]; 26193 + propagatedBuildInputs = with self; [ requests six]; 26193 26194 26194 26195 # No tests included 26195 26196 doCheck = false; ··· 26213 26214 sha256 = "1qjvvr2v9gfnwskdl0ayazpcmiyw9zlgnijnhgq9mcri5gq9jw5h"; 26214 26215 }; 26215 26216 26216 - propagatedBuildInputs = with self; [ requests2 ]; 26217 + propagatedBuildInputs = with self; [ requests ]; 26217 26218 26218 26219 # Tests disabled. They fail because they try to access the network 26219 26220 doCheck = false; ··· 26432 26433 LC_ALL = "en_US.UTF-8"; 26433 26434 26434 26435 propagatedBuildInputs = with self; [ itsdangerous ]; 26435 - buildInputs = with self; [ pytest requests2 pkgs.glibcLocales ]; 26436 + buildInputs = with self; [ pytest requests pkgs.glibcLocales ]; 26436 26437 26437 26438 26438 26439 ··· 27406 27407 tunigo = buildPythonPackage rec { 27407 27408 name = "tunigo-${version}"; 27408 27409 version = "1.0.0"; 27409 - propagatedBuildInputs = with self; [ requests2 ]; 27410 + propagatedBuildInputs = with self; [ requests ]; 27410 27411 27411 27412 src = pkgs.fetchFromGitHub { 27412 27413 owner = "trygveaa"; ··· 27994 27995 url = "mirror://pypi/t/${pname}/${name}.tar.gz"; 27995 27996 sha256 = "0kkxxd17ar5gyjkz9yrrdr15a64qw6ym60ndi0zbwx2s634yfafw"; 27996 27997 }; 27997 - propagatedBuildInputs = with self; [ twisted requests2 cryptography ]; 27998 + propagatedBuildInputs = with self; [ twisted requests cryptography ]; 27998 27999 27999 28000 # Require network access 28000 28001 doCheck = false; ··· 28396 28397 ''; 28397 28398 28398 28399 propagatedBuildInputs = with self; [ 28399 - pyyaml lxml grequests flaskbabel flask requests2 28400 + pyyaml lxml grequests flaskbabel flask requests 28400 28401 gevent speaklater Babel pytz dateutil pygments 28401 28402 pyasn1 pyasn1-modules ndg-httpsclient certifi pysocks 28402 28403 ]; ··· 28438 28439 # No tests in archive 28439 28440 doCheck = false; 28440 28441 28441 - propagatedBuildInputs = with self; [ requests2 gevent ]; 28442 + propagatedBuildInputs = with self; [ requests gevent ]; 28442 28443 28443 28444 meta = { 28444 28445 description = "Asynchronous HTTP requests"; ··· 28983 28984 28984 28985 setupPyBuildFlags = ["--qt" "--xdg"]; 28985 28986 28986 - propagatedBuildInputs = with self; [ pillow prettytable pyyaml dateutil gdata requests2 mechanize feedparser lxml pkgs.gnupg pyqt4 pkgs.libyaml simplejson cssselect futures pdfminer termcolor ]; 28987 + propagatedBuildInputs = with self; [ pillow prettytable pyyaml dateutil gdata requests mechanize feedparser lxml pkgs.gnupg pyqt4 pkgs.libyaml simplejson cssselect futures pdfminer termcolor ]; 28987 28988 28988 28989 meta = { 28989 28990 homepage = http://weboob.org; ··· 29520 29521 sha256 = "0fcc78b8dfc87237942aad2a8be54dbc08bc4afceaa7f6897f3d894e7d4bfd22"; 29521 29522 }; 29522 29523 29523 - propagatedBuildInputs = with self; [ pytz requests2 ]; 29524 + propagatedBuildInputs = with self; [ pytz requests ]; 29524 29525 29525 29526 buildInputs = with self; [ coverage mock nose unittest2 ]; 29526 29527 ··· 29844 29845 version = "0.4.5"; 29845 29846 doCheck = false; #test needs packages too explicit 29846 29847 buildInputs = with self; [ d2to1 ]; 29847 - propagatedBuildInputs = with self; [ requests2 ]; 29848 + propagatedBuildInputs = with self; [ requests ]; 29848 29849 29849 29850 src = pkgs.fetchurl { 29850 29851 url = "mirror://pypi/o/ovh/ovh-${version}.tar.gz"; ··· 30322 30323 dateutil 30323 30324 inflection 30324 30325 more-itertools 30325 - requests2 30326 + requests 30326 30327 pandas 30327 30328 ]; 30328 30329 ··· 30926 30927 sha256 = "063cbzp1fbdipv53gb0hnban1pg80pls0lbld98lhnykzkcb6vf0"; 30927 30928 }; 30928 30929 30929 - propagatedBuildInputs = with self; [ websocket_client requests2 ]; 30930 + propagatedBuildInputs = with self; [ websocket_client requests ]; 30930 30931 }; 30931 30932 30932 30933 tempora = buildPythonPackage rec { ··· 30954 30955 sha256 = "1sd8f3gihagaqd848dqy6xw457fa4f9bla1bfyni7fq3h76sjdzg"; 30955 30956 }; 30956 30957 30957 - propagatedBuildInputs = with self; [ requests2 six dateutil ]; 30958 + propagatedBuildInputs = with self; [ requests six dateutil ]; 30958 30959 }; 30959 30960 30960 30961 pivy = buildPythonPackage rec { ··· 31002 31003 31003 31004 buildInputs = [ python pkgs.makeWrapper ]; 31004 31005 31005 - propagatedBuildInputs = with self; [ docopt requests2 smugpy ]; 31006 + propagatedBuildInputs = with self; [ docopt requests smugpy ]; 31006 31007 31007 31008 installPhase = '' 31008 31009 mkdir -p $out/bin $out/libexec ··· 31137 31138 url = "mirror://pypi/p/pwntools/${name}.tar.gz"; 31138 31139 sha256 = "1siyky6iq2b155sfjhx10yg2ihvjp2s3kr6i0n5z9v5pi0r7gc6d"; 31139 31140 }; 31140 - propagatedBuildInputs = with self; [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests2 tox pkgs.pandoc ]; 31141 + propagatedBuildInputs = with self; [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests tox pkgs.pandoc ]; 31141 31142 31142 31143 disabled = isPy3k; 31143 31144