Python: replace requests2 with requests tree-wide

See f63eb5857352705665411130d4f1638d55dd8c58

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

Changed files
+170 -169
doc
languages-frameworks
pkgs
applications
audio
mopidy
mopidy-gmusic
gis
misc
buku
haxor-news
octoprint
rtv
toot
networking
errbot
flexget
sync
acd_cli
office
watson
version-management
git-review
video
streamlink
virtualization
desktops
gnome-3
3.22
apps
gnome-music
development
python-modules
tools
backblaze-b2
build-managers
conan
servers
inginious
matrix-synapse
tools
audio
beets
backup
misc
asciinema
kargo
svtplay-dl
system-config-printer
vdirsyncer
networking
dd-agent
httpie
linkchecker
mitmproxy
urlwatch
package-management
security
vulnix
top-level
+2 -2
doc/languages-frameworks/python.md
···
with import <nixpkgs> {};
(python3.buildEnv.override {
-
extraLibs = with python3Packages; [ numpy requests2 ];
+
extraLibs = with python3Packages; [ numpy requests ];
}).env
```
···
```nix
with import <nixpkgs> {};
-
(python33.withPackages (ps: [ps.numpy ps.requests2])).env
+
(python33.withPackages (ps: [ps.numpy ps.requests])).env
```
In contrast to `python.buildEnv`, `python.withPackages` does not support the more advanced options
+1 -1
pkgs/applications/audio/mopidy-gmusic/default.nix
···
propagatedBuildInputs = [
mopidy
-
pythonPackages.requests2
+
pythonPackages.requests
pythonPackages.gmusicapi
pythonPackages.cachetools
];
+1 -1
pkgs/applications/audio/mopidy/default.nix
···
];
propagatedBuildInputs = with pythonPackages; [
-
gst-python pygobject3 pykka tornado requests2 dbus-python
+
gst-python pygobject3 pykka tornado requests dbus-python
];
# There are no tests
+1 -1
pkgs/applications/gis/qgis/default.nix
···
buildInputs = [ gdal qt4 flex openssl bison proj geos xlibsWrapper sqlite gsl qwt qscintilla
fcgi libspatialindex libspatialite postgresql qjson qca2 txt2tags ] ++
(stdenv.lib.optional withGrass grass) ++
-
(with python2Packages; [ numpy psycopg2 requests2 python2Packages.qscintilla sip ]);
+
(with python2Packages; [ numpy psycopg2 requests python2Packages.qscintilla sip ]);
nativeBuildInputs = [ cmake makeWrapper ];
+1 -1
pkgs/applications/misc/buku/default.nix
···
propagatedBuildInputs = [
cryptography
beautifulsoup4
-
requests2
+
requests
urllib3
];
+1 -1
pkgs/applications/misc/haxor-news/default.nix
···
propagatedBuildInputs = with pythonPackages; [
click
colorama
-
requests2
+
requests
pygments
prompt_toolkit
six
+1 -1
pkgs/applications/misc/octoprint/default.nix
···
# We need old Tornado
propagatedBuildInputs = with pythonPackages; [
-
awesome-slugify flask_assets rsa requests2 pkginfo watchdog
+
awesome-slugify flask_assets rsa requests pkginfo watchdog
semantic-version flask_principal werkzeug flaskbabel tornado
psutil pyserial flask_login netaddr markdown sockjs-tornado
pylru pyyaml sarge feedparser netifaces click websocket_client
+1 -1
pkgs/applications/misc/rtv/default.nix
···
kitchen
mailcap-fix
mccabe
-
requests2
+
requests
six
tornado
pyyaml
+1 -1
pkgs/applications/misc/toot/default.nix
···
};
propagatedBuildInputs = with pythonPackages;
-
[ requests2 beautifulsoup4 future ];
+
[ requests beautifulsoup4 future ];
meta = with stdenv.lib; {
description = "Mastodon CLI interface";
+1 -1
pkgs/applications/networking/errbot/default.nix
···
];
propagatedBuildInputs = with pythonPackages; [
-
webtest bottle threadpool rocket-errbot requests2 jinja2
+
webtest bottle threadpool rocket-errbot requests jinja2
pyopenssl colorlog Yapsy markdown ansi pygments dns pep8
daemonize pygments-markdown-lexer telegram irc slackclient
pyside sleekxmpp hypchat pytest
+1 -1
pkgs/applications/networking/flexget/default.nix
···
propagatedBuildInputs = [
feedparser sqlalchemy pyyaml
beautifulsoup4 html5lib PyRSS2Gen pynzb
-
rpyc jinja2 requests2 dateutil jsonschema
+
rpyc jinja2 requests dateutil jsonschema
pathpy guessit APScheduler
terminaltables colorclass
cherrypy flask flask-restful flask-restplus_0_8
+2 -2
pkgs/applications/networking/sync/acd_cli/default.nix
···
{ stdenv, fetchFromGitHub, buildPythonApplication, fuse
-
, appdirs, colorama, dateutil, requests2, requests_toolbelt
+
, appdirs, colorama, dateutil, requests, requests_toolbelt
, fusepy, sqlalchemy }:
buildPythonApplication rec {
···
sha256 = "0a0fr632l24a3jmgla3b1vcm50ayfa9hdbp677ch1chwj5dq4zfp";
};
-
propagatedBuildInputs = [ appdirs colorama dateutil fusepy requests2
+
propagatedBuildInputs = [ appdirs colorama dateutil fusepy requests
requests_toolbelt sqlalchemy ];
makeWrapperArgs = [ "--prefix LIBFUSE_PATH : ${fuse}/lib/libfuse.so" ];
+1 -1
pkgs/applications/office/watson/default.nix
···
py.test -vs tests
'';
checkInputs = with pythonPackages; [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
-
propagatedBuildInputs = with pythonPackages; [ requests2 click arrow ];
+
propagatedBuildInputs = with pythonPackages; [ requests click arrow ];
meta = with stdenv.lib; {
homepage = https://tailordev.github.io/Watson/;
+1 -1
pkgs/applications/version-management/git-review/default.nix
···
sha256 = "aa594690ed586041a524d6e5ae76152cbd53d4f03a98b20b213d15cecbe128ce";
};
-
propagatedBuildInputs = [ pythonPackages.pbr pythonPackages.requests2 pythonPackages.argparse pythonPackages.setuptools ];
+
propagatedBuildInputs = [ pythonPackages.pbr pythonPackages.requests pythonPackages.argparse pythonPackages.setuptools ];
# Don't do tests because they require gerrit which is not packaged
doCheck = false;
+1 -1
pkgs/applications/video/streamlink/default.nix
···
buildInputs = with pythonPackages; [ pytest mock ];
-
propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests2 iso-639 iso3166 ]) ++ [ rtmpdump ffmpeg ];
+
propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 ]) ++ [ rtmpdump ffmpeg ];
meta = with stdenv.lib; {
homepage = https://github.com/streamlink/streamlink;
+1 -1
pkgs/applications/virtualization/openstack/glance.nix
···
];
buildInputs = with python2Packages; [
-
Babel coverage fixtures mox3 mock oslosphinx requests2 testrepository pep8
+
Babel coverage fixtures mox3 mock oslosphinx requests testrepository pep8
testresources testscenarios testtools psutil_1 oslotest psycopg2
sqlite which strace
];
+1 -1
pkgs/applications/virtualization/openstack/keystone.nix
···
buildInputs = with python2Packages; [
coverage fixtures mock subunit tempest-lib testtools testrepository
-
ldap ldappool webtest requests2 oslotest pep8 pymongo which
+
ldap ldappool webtest requests oslotest pep8 pymongo which
];
makeWrapperArgs = ["--prefix PATH : '${openssl.bin}/bin:$PATH'"];
+1 -1
pkgs/applications/virtualization/openstack/neutron.nix
···
# https://github.com/openstack/neutron/blob/stable/liberty/requirements.txt
propagatedBuildInputs = with python2Packages; [
-
pbr paste PasteDeploy routes debtcollector eventlet greenlet httplib2 requests2
+
pbr paste PasteDeploy routes debtcollector eventlet greenlet httplib2 requests
jinja2 keystonemiddleware netaddr retrying sqlalchemy webob alembic six
stevedore pecan ryu networking-hyperv MySQL_python
+1 -1
pkgs/applications/virtualization/openstack/nova.nix
···
propagatedBuildInputs = with python2Packages; [
pbr sqlalchemy boto decorator eventlet jinja2 lxml routes cryptography
webob greenlet PasteDeploy paste prettytable sqlalchemy_migrate netaddr
-
netifaces paramiko Babel iso8601 jsonschema keystoneclient requests2 six
+
netifaces paramiko Babel iso8601 jsonschema keystoneclient requests six
stevedore websockify rfc3986 os-brick psutil_1 alembic psycopg2 pymysql
keystonemiddleware MySQL_python
+1 -1
pkgs/desktops/gnome-3/3.22/apps/gnome-music/default.nix
···
buildInputs = [ pkgconfig gtk3 glib intltool itstool gnome3.libmediaart
gdk_pixbuf gnome3.defaultIconTheme librsvg python3Packages.python
gnome3.grilo gnome3.grilo-plugins gnome3.totem-pl-parser libxml2 libnotify
-
python3Packages.pycairo python3Packages.dbus-python python3Packages.requests2
+
python3Packages.pycairo python3Packages.dbus-python python3Packages.requests
python3Packages.pygobject3 gst_all_1.gstreamer gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad wrapGAppsHook
gnome3.gsettings_desktop_schemas makeWrapper tracker ];
+2 -2
pkgs/development/python-modules/coveralls/default.nix
···
, sh
, coverage
, docopt
-
, requests2
+
, requests
, git
}:
···
propagatedBuildInputs = [
coverage
docopt
-
requests2
+
requests
];
meta = {
+2 -2
pkgs/development/python-modules/docker.nix
···
{ stdenv, buildPythonPackage, fetchurl
-
, six, requests2, websocket_client
+
, six, requests, websocket_client
, ipaddress, backports_ssl_match_hostname, docker_pycreds
}:
buildPythonPackage rec {
···
propagatedBuildInputs = [
six
-
requests2
+
requests
websocket_client
ipaddress
backports_ssl_match_hostname
+2 -2
pkgs/development/python-modules/docker_compose.nix
···
{ stdenv, buildPythonApplication, fetchurl, pythonOlder
, mock, pytest, nose
, pyyaml, backports_ssl_match_hostname, colorama, docopt
-
, dockerpty, docker, ipaddress, jsonschema, requests2
+
, dockerpty, docker, ipaddress, jsonschema, requests
, six, texttable, websocket_client, cached-property
, enum34, functools32
}:
···
buildInputs = [ mock pytest nose ];
propagatedBuildInputs = [
pyyaml backports_ssl_match_hostname colorama dockerpty docker
-
ipaddress jsonschema requests2 six texttable websocket_client
+
ipaddress jsonschema requests six texttable websocket_client
docopt cached-property
] ++
stdenv.lib.optional (pythonOlder "3.4") enum34 ++
+2 -2
pkgs/development/python-modules/ipython/5.nix
···
, decorator
, pathlib2
, pickleshare
-
, requests2
+
, requests
, simplegeneric
, traitlets
, prompt_toolkit
···
propagatedBuildInputs = [
backports_shutil_get_terminal_size decorator pickleshare prompt_toolkit
-
simplegeneric traitlets requests2 pathlib2 pexpect
+
simplegeneric traitlets requests pathlib2 pexpect
] ++ lib.optionals stdenv.isDarwin [ appnope ];
LC_ALL="en_US.UTF-8";
+2 -2
pkgs/development/python-modules/notebook/default.nix
···
, nbconvert
, ipykernel
, terminado
-
, requests2
+
, requests
, pexpect
}:
···
buildInputs = [nose glibcLocales] ++ lib.optionals isPy27 [mock];
propagatedBuildInputs = [jinja2 tornado ipython_genutils traitlets jupyter_core
-
jupyter_client nbformat nbconvert ipykernel terminado requests2 pexpect ];
+
jupyter_client nbformat nbconvert ipykernel terminado requests pexpect ];
checkPhase = ''
nosetests -v
+2 -2
pkgs/development/python-modules/plotly/default.nix
···
, decorator
, nbformat
, pytz
-
, requests2
+
, requests
, six
}:
···
decorator
nbformat
pytz
-
requests2
+
requests
six
];
+2 -2
pkgs/development/python-modules/pyrax.nix
···
-
{ lib, buildPythonPackage, fetchurl, requests2, novaclient, keyring,
+
{ lib, buildPythonPackage, fetchurl, requests, novaclient, keyring,
rackspace-novaclient, six, isPy3k, pytest, glibcLocales }:
buildPythonPackage rec {
name = "pyrax-1.9.8";
···
'';
disabled = isPy3k;
-
propagatedBuildInputs = [ requests2 novaclient keyring rackspace-novaclient six ];
+
propagatedBuildInputs = [ requests novaclient keyring rackspace-novaclient six ];
LC_ALL = "en_US.UTF-8";
buildInputs = [ pytest glibcLocales ];
+2 -2
pkgs/development/python-modules/pytest-httpbin/default.nix
···
, decorator
, httpbin
, six
-
, requests2
+
, requests
}:
buildPythonPackage rec {
···
'';
buildInputs = [ pytest ];
-
propagatedBuildInputs = [ flask decorator httpbin six requests2 ];
+
propagatedBuildInputs = [ flask decorator httpbin six requests ];
meta = {
description = "Easily test your HTTP library against a local copy of httpbin.org";
+2 -2
pkgs/development/python-modules/rackspace-novaclient.nix
···
-
{ buildPythonPackage, fetchurl, isPy3k, requests2, novaclient, six, lib }:
+
{ buildPythonPackage, fetchurl, isPy3k, requests, novaclient, six, lib }:
let
os-virtual-interfacesv2-python-novaclient-ext = buildPythonPackage rec {
name = "os_virtual_interfacesv2_python_novaclient_ext-0.20";
···
disabled = isPy3k;
propagatedBuildInputs = [
-
requests2
+
requests
novaclient
six
# extensions
+2 -2
pkgs/development/python-modules/requests-oauthlib.nix
···
{ stdenv, buildPythonPackage, fetchurl
-
, oauthlib, requests2 }:
+
, oauthlib, requests }:
buildPythonPackage rec {
version = "0.7.0";
···
};
doCheck = false; # Internet tests fail when building in chroot
-
propagatedBuildInputs = [ oauthlib requests2 ];
+
propagatedBuildInputs = [ oauthlib requests ];
meta = with stdenv.lib; {
description = "OAuthlib authentication support for Requests";
+2 -2
pkgs/development/python-modules/treq/default.nix
···
-
{ stdenv, fetchurl, buildPythonPackage, service-identity, requests2,
+
{ stdenv, fetchurl, buildPythonPackage, service-identity, requests,
six, mock, twisted, incremental, coreutils, gnumake, pep8, sphinx,
openssl, pyopenssl }:
···
propagatedBuildInputs = [
service-identity
-
requests2
+
requests
twisted
incremental
sphinx
+1 -1
pkgs/development/tools/backblaze-b2/default.nix
···
sha256 = "1gl1z7zg3s1xgx45i6b1bvx9iwviiiinl4my00h66qkhrw7ag8p1";
};
-
propagatedBuildInputs = with pythonPackages; [ futures requests2 six tqdm ];
+
propagatedBuildInputs = with pythonPackages; [ futures requests six tqdm ];
checkPhase = ''
python test_b2_command_line.py test
+1 -1
pkgs/development/tools/build-managers/conan/default.nix
···
};
propagatedBuildInputs = with pythonPackages; [
-
requests2 fasteners pyyaml pyjwt colorama patch
+
requests fasteners pyyaml pyjwt colorama patch
bottle pluginbase six distro pylint node-semver
];
+1 -1
pkgs/servers/inginious/default.nix
···
'';
propagatedBuildInputs = with pythonPackages; [
-
requests2
+
requests
cgroup-utils docker_1_7_2 docutils PyLTI mock pygments
pymongo pyyaml rpyc sh simpleldap sphinx_rtd_theme tidylib
websocket_client watchdog webpy-custom flup
+1 -1
pkgs/servers/matrix-synapse/default.nix
···
propagatedBuildInputs = with pythonPackages; [
blist canonicaljson daemonize dateutil frozendict pillow pybcrypt pyasn1
-
pydenticon pymacaroons-pynacl pynacl pyopenssl pysaml2 pytz requests2
+
pydenticon pymacaroons-pynacl pynacl pyopenssl pysaml2 pytz requests
signedjson systemd twisted ujson unpaddedbase64 pyyaml
matrix-angular-sdk bleach netaddr jinja2 psycopg2
psutil msgpack lxml matrix-synapse-ldap3
+1 -1
pkgs/tools/audio/beets/default.nix
···
++ optional (enableFetchart
|| enableEmbyupdate
|| enableAcousticbrainz)
-
pythonPackages.requests2
+
pythonPackages.requests
++ optional enableConvert ffmpeg
++ optional enableDiscogs pythonPackages.discogs_client
++ optional enableKeyfinder keyfinder-cli
+1 -1
pkgs/tools/backup/s3ql/default.nix
···
buildInputs = [ which ]; # tests will fail without which
propagatedBuildInputs = with python3Packages; [
-
sqlite apsw pycrypto requests2 defusedxml dugong llfuse
+
sqlite apsw pycrypto requests defusedxml dugong llfuse
cython pytest pytest-catchlog
];
+1 -1
pkgs/tools/misc/asciinema/default.nix
···
version = "1.4.0";
buildInputs = with pythonPackages; [ nose ];
-
propagatedBuildInputs = with pythonPackages; [ requests2 ];
+
propagatedBuildInputs = with pythonPackages; [ requests ];
src = fetchFromGitHub {
owner = "asciinema";
+1 -1
pkgs/tools/misc/kargo/default.nix
···
markupsafe
netaddr
pyasn1
-
requests2
+
requests
setuptools
];
+2 -2
pkgs/tools/misc/svtplay-dl/default.nix
···
, rtmpdump, substituteAll }:
let
-
inherit (pythonPackages) python nose pycrypto requests2 mock;
+
inherit (pythonPackages) python nose pycrypto requests mock;
in stdenv.mkDerivation rec {
name = "svtplay-dl-${version}";
version = "1.9.3";
···
sha256 = "14qksi1svi89niffykxg47kay013byls6bnhkrkzkanq04075lmw";
};
-
pythonPaths = [ pycrypto requests2 ];
+
pythonPaths = [ pycrypto requests ];
buildInputs = [ python perl nose mock rtmpdump makeWrapper ] ++ pythonPaths;
nativeBuildInputs = [ zip ];
+1 -1
pkgs/tools/misc/system-config-printer/default.nix
···
nativeBuildInputs = [ wrapGAppsHook ];
pythonPath = with pythonPackages;
-
[ pycups pycurl dbus-python pygobject3 requests2 pycairo pythonPackages.pycurl ];
+
[ pycups pycurl dbus-python pygobject3 requests pycairo pythonPackages.pycurl ];
configureFlags =
[ "--with-udev-rules"
+1 -1
pkgs/tools/misc/vdirsyncer/default.nix
···
propagatedBuildInputs = with pythonPackages; [
click click-log click-threading
requests_toolbelt
-
requests2
+
requests
atomicwrites
];
+2 -2
pkgs/tools/networking/dd-agent/default.nix
···
propagatedBuildInputs = with pythonPackages; [
six
-
requests2
+
requests
websocket_client
ipaddress
backports_ssl_match_hostname
···
python
unzip
makeWrapper
-
pythonPackages.requests2
+
pythonPackages.requests
pythonPackages.psycopg2
pythonPackages.psutil
pythonPackages.ntplib
+1 -1
pkgs/tools/networking/httpie/default.nix
···
sha256 = "1jsgfkyzzizgfy1b0aicb4cp34d5pwskz9c4a8kf4rq3lrpjw87i";
};
-
propagatedBuildInputs = with pythonPackages; [ pygments requests2 ];
+
propagatedBuildInputs = with pythonPackages; [ pygments requests ];
doCheck = false;
+2 -2
pkgs/tools/networking/linkchecker/default.nix
···
version = "9.3";
buildInputs = with python2Packages ; [ pytest ];
-
propagatedBuildInputs = with python2Packages ; [ requests2 ] ++ [ gettext ];
+
propagatedBuildInputs = with python2Packages ; [ requests ] ++ [ gettext ];
src = fetchurl {
url = "mirror://pypi/L/LinkChecker/${name}.tar.gz";
···
};
# 1. upstream refuses to support ignoring robots.txt
-
# 2. work around requests2 version detection - can be dropped >v9.3
+
# 2. work around requests version detection - can be dropped >v9.3
patches = [
./add-no-robots-flag.patch
./no-version-check.patch
+1 -1
pkgs/tools/networking/mitmproxy/default.nix
···
blinker click certifi construct cryptography
cssutils editorconfig h2 html2text hyperframe
jsbeautifier kaitaistruct passlib pyasn1 pyopenssl
-
pyparsing pyperclip requests2 ruamel_yaml tornado
+
pyparsing pyperclip requests ruamel_yaml tornado
urwid watchdog brotlipy sortedcontainers
];
+1 -1
pkgs/tools/networking/urlwatch/default.nix
···
keyring
minidb
pyyaml
-
requests2
+
requests
];
meta = with stdenv.lib; {
+1 -1
pkgs/tools/package-management/nox/default.nix
···
propagatedBuildInputs = with pythonPackages; [
dogpile_cache
click
-
requests2
+
requests
characteristic
];
+1 -1
pkgs/tools/security/vulnix/default.nix
···
colorama
lxml
pyyaml
-
requests2
+
requests
external.zodb
]);
+1 -1
pkgs/top-level/all-packages.nix
···
acd-cli = callPackage ../applications/networking/sync/acd_cli {
inherit (python35Packages)
buildPythonApplication appdirs colorama dateutil
-
requests2 requests_toolbelt sqlalchemy fusepy;
+
requests requests_toolbelt sqlalchemy fusepy;
adobe-reader = callPackage_i686 ../applications/misc/adobe-reader { };
+104 -103
pkgs/top-level/python-packages.nix
···
name = "acme-${version}";
propagatedBuildInputs = with self; [
-
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests2 six werkzeug mock
+
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests six werkzeug mock
ndg-httpsclient
];
···
sha256 = "1f32k18ck54adqlgvh6fjhy4yavcyrwy813prjyqppqqq4bn1a09";
};
-
propagatedBuildInputs = with self; [ requests2 pyjwt ];
+
propagatedBuildInputs = with self; [ requests pyjwt ];
meta = {
description = "Library to make it easy for python application to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources";
···
sha256 = "89c20b2efaaed3c6f56345d55c32a8d4e7d2a16c032d0acb92f8f490c508fe24";
};
-
propagatedBuildInputs = with self; [ dateutil futures pyopenssl requests2 ];
+
propagatedBuildInputs = with self; [ dateutil futures pyopenssl requests ];
meta = {
description = "Microsoft Azure SDK for Python";
···
url = mirror://pypi/a/azure-mgmt-common/azure-mgmt-common-0.20.0.zip;
sha256 = "1rmzpz3733wv31rsnqpdy4bbafvk5dhbqx7q0xf62dlz7p0i4f66";
};
-
propagatedBuildInputs = with self; [ azure-common azure-mgmt-nspkg requests2 ];
+
propagatedBuildInputs = with self; [ azure-common azure-mgmt-nspkg requests ];
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
···
url = mirror://pypi/a/azure-storage/azure-storage-0.20.3.zip;
sha256 = "06bmw6k2000kln5jwk5r9bgcalqbyvqirmdh9gq4s6nb4fv3c0jb";
};
-
propagatedBuildInputs = with self; [ azure-common futures dateutil requests2 ];
+
propagatedBuildInputs = with self; [ azure-common futures dateutil requests ];
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
'';
···
url = mirror://pypi/a/azure-servicemanagement-legacy/azure-servicemanagement-legacy-0.20.1.zip;
sha256 = "17dwrp99sx5x9cm4vldkaxhki9gbd6dlafa0lpr2n92xhh2838zs";
};
-
propagatedBuildInputs = with self; [ azure-common requests2 ];
+
propagatedBuildInputs = with self; [ azure-common requests ];
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
'';
···
sha256 = "0vw4d53jbbb2kdl7l891h8iyxklqcd6ldvgcyhw9hl40ljdhv1wz";
};
-
propagatedBuildInputs = [ self.requests2 ];
+
propagatedBuildInputs = [ self.requests ];
doCheck = false;
···
};
buildInputs = with self; [ pillow tox mock six nose ];
-
propagatedBuildInputs = with self; [ requests2 decorator simplejson ];
+
propagatedBuildInputs = with self; [ requests decorator simplejson ];
meta = {
description = "The Datadog Python library ";
···
sha256 = "1bkqhlzigy656pam0znp2ddp1y5sqzyhw3c4fyy58spcafldq4j6";
};
buildInputs = with self; [ pytest ];
-
propagatedBuildInputs = with self; [ requests2 lxml pbr ];
+
propagatedBuildInputs = with self; [ requests lxml pbr ];
# prompt_toolkit doesn't work on 3.5 on OSX.
doCheck = !isPy35;
···
sha256 = "0fs7a4cf4f12mjhcjd5vfh0f3ixcy2nawzxpgsfr3ahf0rg7ppx5";
};
-
propagatedBuildInputs = with self; [ cookies mock requests2 six ];
+
propagatedBuildInputs = with self; [ cookies mock requests six ];
doCheck = false;
···
sha256 = "d881e21ec7ebfa006cfca6d10a5b7229aa59990568f8c6b8e3364769fa38b6f6";
};
-
propagatedBuildInputs = [ self.requests2 ];
+
propagatedBuildInputs = [ self.requests ];
# No tests
doCheck = false;
···
psutil
pymongo
pyyaml
-
requests2
+
requests
sqlalchemy
tables
toolz
···
werkzeug
itsdangerous
dateutil
-
requests2
+
requests
six
pygments
pystache
···
'';
buildInputs = [ self.nose self.mock ];
-
propagatedBuildInputs = [ self.requests2 self.httpretty ];
+
propagatedBuildInputs = [ self.requests self.httpretty ];
meta = {
homepage = https://github.com/boto/boto;
···
propagatedBuildInputs =
[ self.dateutil
-
self.requests2
+
self.requests
self.jmespath
];
···
buildInputs = with self; [ mock unittest2 nose /* jira megaplan */ ];
propagatedBuildInputs = with self; [
-
twiggy requests2 offtrac bugzilla taskw dateutil pytz keyring six
+
twiggy requests offtrac bugzilla taskw dateutil pytz keyring six
jinja2 pycurl dogpile_cache lockfile click pyxdg
];
···
patches = [ ../development/python-modules/bugzilla/checkPhase-fix-cookie-compare.patch ];
buildInputs = with self; [ pep8 coverage logilab_common ];
-
propagatedBuildInputs = [ self.requests2 ];
+
propagatedBuildInputs = [ self.requests ];
preCheck = ''
mkdir -p check-phase
···
sha256 = "0l3a7iyk596x6pvzg7604lzzi012qszr804fqn6f517zcy1xz23j";
};
-
propagatedBuildInputs = [ self.requests2 self.py ];
+
propagatedBuildInputs = [ self.requests self.py ];
meta = {
homepage = https://bitbucket.org/hpk42/devpi;
···
sed -i 's/==/>=/' requirements.txt
'';
-
propagatedBuildInputs = with self; [ docopt requests2 pygments ];
+
propagatedBuildInputs = with self; [ docopt requests pygments ];
# Error when running tests:
# No local packages or download links found for requests
···
sha256 = "0vfyr499sbc4nnhhijp2lznyj507nnak95bvv9w8y78ngxggskbh";
};
-
buildInputs = with self; [ requests2 six pytest ];
+
buildInputs = with self; [ requests six pytest ];
# No tests distributed. https://github.com/cablehead/python-consul/issues/133
doCheck = false;
···
propagatedBuildInputs = with self; [
pbr stevedore netaddr iso8601 six oslo-i18n oslo-utils Babel pyyaml eventlet
-
requests2 urllib3 oslo-concurrency suds-jurko
+
requests urllib3 oslo-concurrency suds-jurko
];
buildInputs = with self; [
bandit oslosphinx coverage testtools testscenarios testrepository mock
···
};
propagatedBuildInputs = with self; [
-
pbr argparse requests2 six keystoneclient cliff oslo-i18n oslo-serialization
+
pbr argparse requests six keystoneclient cliff oslo-i18n oslo-serialization
oslo-utils
];
buildInputs = with self; [
···
buildInputs = with self; [
pbr testtools testscenarios testrepository requests-mock fixtures ];
propagatedBuildInputs = with self; [
-
Babel argparse prettytable requests2 simplejson six iso8601
+
Babel argparse prettytable requests simplejson six iso8601
keystoneclient tempest-lib ];
# TODO: check if removing this test is really harmless
···
propagatedBuildInputs = with self; [
pbr six Babel cliff os-client-config oslo-config oslo-i18n oslo-utils
-
glanceclient keystoneclient novaclient cinderclient neutronclient requests2
+
glanceclient keystoneclient novaclient cinderclient neutronclient requests
stevedore cliff-tablib
];
buildInputs = with self; [
···
version = "1.1.0";
buildInputs = with self; [ pytest ];
-
propagatedBuildInputs = with self; [ setuptools-git pytest-shutil pytest-fixture-config psutil requests2 ];
+
propagatedBuildInputs = with self; [ setuptools-git pytest-shutil pytest-fixture-config psutil requests ];
meta = {
description = "Extensible server fixures for py.test";
···
};
propagatedBuildInputs = with self; [ werkzeug ];
-
buildInputs = with self; [ pytest six requests2 ];
+
buildInputs = with self; [ pytest six requests ];
checkPhase = ''
py.test
···
digital-ocean = buildPythonPackage rec {
name = "python-digitalocean-1.10.1";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
# Package doesn't distribute tests.
doCheck = false;
···
buildInputs = with self; [ mock ];
-
propagatedBuildInputs = with self; [ requests2 six urllib3 ];
+
propagatedBuildInputs = with self; [ requests six urllib3 ];
meta = {
description = "Persistent cache for requests library";
···
sha256 = "0a3616a818dd9fa61a61c3d9731d176e9123130d1b1b97a6beee63b4c72306b7";
};
-
propagatedBuildInputs = with self; [ oauth2 requests2 ];
+
propagatedBuildInputs = with self; [ oauth2 requests ];
meta = {
description = "Official Python API client for Discogs";
···
doCheck = false; # requires redis server
propagatedBuildInputs = with self; [
setuptools docker_registry_core blinker flask gevent gunicorn pyyaml
-
requests2 rsa sqlalchemy setuptools backports_lzma m2crypto
+
requests rsa sqlalchemy setuptools backports_lzma m2crypto
];
patchPhase = "> requirements/main.txt";
···
sha256 ="0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56";
};
-
propagatedBuildInputs = with self; [ requests2 six ];
+
propagatedBuildInputs = with self; [ requests six ];
meta = {
description = "Digital Ocean API python wrapper";
···
sha256 = "f65c12bd97f09e29a951bc7cb30a74e005fc4b2f8bb48778796be3f73866b173";
};
-
propagatedBuildInputs = with self; [ requests2 urllib3 mock setuptools ];
+
propagatedBuildInputs = with self; [ requests urllib3 mock setuptools ];
meta = {
description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";
···
# Check is disabled because running them destroy the content of the local cluster!
# https://github.com/elasticsearch/elasticsearch-py/tree/master/test_elasticsearch
doCheck = false;
-
propagatedBuildInputs = with self; [ urllib3 requests2 ];
+
propagatedBuildInputs = with self; [ urllib3 requests ];
buildInputs = with self; [ nosexcover mock ];
meta = {
···
sed -i -e '13,14d;37d' setup.py
'';
-
propagatedBuildInputs = with self; [ simplejson pytz requests2 ];
+
propagatedBuildInputs = with self; [ simplejson pytz requests ];
# No proper tests are available
doCheck = false;
···
};
disabled = !isPy3k;
-
propagatedBuildInputs = with self; [ docutils requests2 requests_download zipfile36];
+
propagatedBuildInputs = with self; [ docutils requests requests_download zipfile36];
meta = {
description = "A simple packaging tool for simple packages";
···
mutagen
protobuf3_0
setuptools
-
requests2
+
requests
dateutil
proboscis
mock
···
pyasn1
pycparser
pycryptodome
-
requests2
+
requests
six
];
···
};
buildInputs = with self; [ pytest responses ];
-
propagatedBuildInputs = with self; [ docopt flask markdown path-and-address pygments requests2 ];
+
propagatedBuildInputs = with self; [ docopt flask markdown path-and-address pygments requests ];
checkPhase = ''
export PATH="$PATH:$out/bin"
···
sha256 = "0cdmzpk5wvi6fyfmmn96vynqkb1p59wjqjdijhm1ixf7bfl9r126";
};
-
propagatedBuildInputs = with self; [ six requests2 ];
+
propagatedBuildInputs = with self; [ six requests ];
meta = {
description = "A python client library for the IPFS API";
···
'';
buildInputs = with self; [ pytest ];
-
propagatedBuildInputs = with self; [ six clint pyyaml docopt requests2 jsonpatch args ];
+
propagatedBuildInputs = with self; [ six clint pyyaml docopt requests jsonpatch args ];
meta = with stdenv.lib; {
description = "A python wrapper for the various Internet Archive APIs";
···
propagatedBuildInputs = with self; [
ansicolors beautifulsoup4 cffi coverage docutils fasteners futures
isort lmdb markdown mock packaging pathspec pep8 pex psutil pyflakes
-
pygments pystache pytestcov pytest pywatchman requests2 scandir
+
pygments pystache pytestcov pytest pywatchman requests scandir
setproctitle setuptools six thrift wheel twitter-common-dirutil
twitter-common-confluence twitter-common-collections
];
···
propagatedBuildInputs = with self; [
twitter-common-collections setproctitle setuptools six ansicolors
-
packaging pathspec scandir twitter-common-dirutil psutil requests2
+
packaging pathspec scandir twitter-common-dirutil psutil requests
pystache pex docutils markdown pygments twitter-common-confluence
fasteners coverage pywatchman futures cffi
];
···
rev = version;
sha256 = "1mnl0rfbnimcpp7q9hva0x9jfa58j4nc27r9kvaii8869kzssw48";
};
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
prePatch = ''
sed -i -e "s|\[\"acpi\"|\[\"${pkgs.acpi}/bin/acpi\"|" py3status/modules/battery_level.py
sed -i -e "s|notify-send|${pkgs.libnotify}/bin/notify-send|" py3status/modules/battery_level.py
···
pygments
simplejson
dateutil
-
requests2
+
requests
sqlparse
jinja2
autopep8
···
sha256 = "ddce23a2dd0abba6d19775e9bf7ba64e184b15a0e7163e65f62af63354193f63";
-
buildInputs = with self; stdenv.lib.optionals doCheck [coverage ddt nose pyyaml requests2 testtools];
+
buildInputs = with self; stdenv.lib.optionals doCheck [coverage ddt nose pyyaml requests testtools];
propagatedBuildInputs = with self; [ six python_mimeparse ];
# The travis build fails since the migration from multiprocessing to threading for hosting the API under test.
···
sha256 = "93325e13706594933a9afb0d4f0b0748134494299038f07df41152baf6f89f4c";
-
propagatedBuildInputs = with self; [ falcon requests2 ];
+
propagatedBuildInputs = with self; [ falcon requests ];
# tests are not shipped in the tarball
doCheck = false;
···
buildInputs = with self; [ unittest2 pytest mock betamax betamax-matchers ];
-
propagatedBuildInputs = with self; [ requests2 pyopenssl uritemplate_py
+
propagatedBuildInputs = with self; [ requests pyopenssl uritemplate_py
ndg-httpsclient requests_toolbelt pyasn1 ];
postPatch = ''
···
sha256 = "0qxa4g1ij1bj27mbp8l54lcr7d5krkb2rayisc6shkpf2b51ip4c";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
hypothesis = callPackage ../development/python-modules/hypothesis.nix { };
···
sha256 = "1nmdk6d89z14x3wg4yxywlxjdip16zc8bqnfb471z1365mr74jj7";
-
buildInputs = with self; [ tornado requests2 httplib2 sure nose coverage certifi ];
+
buildInputs = with self; [ tornado requests httplib2 sure nose coverage certifi ];
propagatedBuildInputs = with self; [ urllib3 ];
···
# ImportError: No module named tests
doCheck = false;
-
propagatedBuildInputs = with self; [ requests2 dateutil pytz six ];
+
propagatedBuildInputs = with self; [ requests dateutil pytz six ];
meta = {
description = "Python client for InfluxDB";
···
doCheck = false;
propagatedBuildInputs = with self; [
-
click watchdog exifread requests2 mistune inifile Babel jinja2
+
click watchdog exifread requests mistune inifile Babel jinja2
flask pyopenssl ndg-httpsclient pkgs.glibcLocales
···
sha256 = "db3c2a7fab8966d903a63f16c515bff241533e4ef2d746aa7aae4a49bba5e573";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
meta = {
homepage = "https://github.com/ghickman/linode";
···
sha256 = "c9ca6fdfe6a6fb187a3d54ddf9b1518196348e8f20537f0a14ca81a264ffafa2";
-
propagatedBuildInputs = [ self.msgpack self.requests2 self.flask self.gevent self.pyzmq ];
+
propagatedBuildInputs = [ self.msgpack self.requests self.flask self.gevent self.pyzmq ];
buildInputs = [ self.mock self.unittest2 ];
meta = {
···
sha256 = "02jkwly4gw1jqm55l4wwn0j0ggnysx55inw9j96bif5l49z5cacd";
-
propagatedBuildInputs = with self; [ requests2 beautifulsoup4 six ];
+
propagatedBuildInputs = with self; [ requests beautifulsoup4 six ];
meta = {
description = "A Python library for automating interaction with websites";
···
buildInputs = with self; [ pyflakes pep8 ];
propagatedBuildInputs = with self; [
django_1_6 filebrowser_safe grappelli_safe bleach tzlocal beautifulsoup4
-
requests2 requests_oauthlib future pillow
+
requests requests_oauthlib future pillow
# Tests Fail Due to Syntax Warning, Fixed for v3.1.11+
···
buildInputs = with self; [
pkgs.libjpeg pkgs.freetype pkgs.zlib pkgs.glibcLocales
-
pillow twitter pyfiglet requests2 arrow dateutil pysocks
+
pillow twitter pyfiglet requests arrow dateutil pysocks
pocket
···
buildInputs = with self; [
-
requests2
+
requests
meta = {
···
propagatedBuildInputs = with self; [
# Main dependencies
-
jinja2 werkzeug flask requests2 six boto httpretty xmltodict
+
jinja2 werkzeug flask requests six boto httpretty xmltodict
# For tests
nose sure boto3 freezegun
···
buildInputs = with self; [ mock responses pytestcov pytest pytestcache pytestpep8 coverage ];
-
propagatedBuildInputs = with self; [ six requests2 requests_oauthlib ];
+
propagatedBuildInputs = with self; [ six requests requests_oauthlib ];
checkPhase = ''
py.test
···
sha256 = "0yjxwisxpxy3vpnqk9nw5k3db3xx6wyf6sk1px9m94s30glcq2cc";
-
propagatedBuildInputs = with self; [ appdirs pyyaml requests2 dbus-python emoji sleekxmpp mock ];
+
propagatedBuildInputs = with self; [ appdirs pyyaml requests dbus-python emoji sleekxmpp mock ];
meta = {
description = "A utility for sending notifications, on demand and when commands finish";
···
buildInputs = [ pkgs.makeWrapper ];
-
propagatedBuildInputs = with self; [ pkgs.rtmpdump pycrypto requests2 ]
+
propagatedBuildInputs = with self; [ pkgs.rtmpdump pycrypto requests ]
++ optionals isPy26 [ singledispatch futures argparse ]
++ optionals isPy27 [ singledispatch futures ]
++ optionals isPy33 [ singledispatch ];
···
doCheck = false;
propagatedBuildInputs = with self; [
-
pbr requests2 sphinx_1_2
+
pbr requests sphinx_1_2
···
propagatedBuildInputs = with self; [
-
six Babel simplejson requests2 keystoneclient prettytable argparse pbr
+
six Babel simplejson requests keystoneclient prettytable argparse pbr
buildInputs = with self; [
testrepository requests-mock
···
propagatedBuildInputs = with self; [
-
pbr six simplejson keystoneclient requests2 oslo-utils oslo-serialization
+
pbr six simplejson keystoneclient requests oslo-utils oslo-serialization
oslo-i18n netaddr iso8601 cliff argparse
buildInputs = with self; [
···
propagatedBuildInputs = with self; [
-
oslo-i18n oslo-utils six requests2 keystoneclient prettytable Babel pbr
+
oslo-i18n oslo-utils six requests keystoneclient prettytable Babel pbr
argparse warlock
buildInputs = with self; [
···
propagatedBuildInputs = with self; [
-
pbr requests2 futures six
+
pbr requests futures six
buildInputs = with self; [
testtools testrepository mock
···
propagatedBuildInputs = with self; [
-
requests2 oslo-config oslo-i18n oslo-serialization oslo-utils six
+
requests oslo-config oslo-i18n oslo-serialization oslo-utils six
buildInputs = with self; [
oslosphinx httpretty oslotest
···
buildInputs = with self; [ pbr testtools testresources testrepository mock
pep8 fixtures mox3 requests-mock ];
-
propagatedBuildInputs = with self; [ argparse iso8601 requests2 six stevedore
+
propagatedBuildInputs = with self; [ argparse iso8601 requests six stevedore
webob oslo-config ];
patchPhase = ''
sed -i 's@python@${python.interpreter}@' .testr.conf
···
'';
buildInputs = with self; [ pbr testtools testrepository mock ];
-
propagatedBuildInputs = with self; [ six requests2 ];
+
propagatedBuildInputs = with self; [ six requests ];
mox3 = buildPythonPackage rec {
···
sha256 = "f3a646871f9baed05f336a32576edaab90abf0737d8adb54f2acb7bcad42a65f";
-
propagatedBuildInputs = with self; [ click_5 requests2 bottle pyserial lockfile colorama];
+
propagatedBuildInputs = with self; [ click_5 requests bottle pyserial lockfile colorama];
meta = with stdenv.lib; {
description = "An open source ecosystem for IoT development";
···
propagatedBuildInputs = with self; [
-
requests2
+
requests
decorator
flake8
mock
···
sha256 = "0117039cb116af245e6866e8e8bf3c9c8b2853ad087142bd0c2dfc0acc09d452";
-
propagatedBuildInputs = with self; [ requests2 audioread ];
+
propagatedBuildInputs = with self; [ requests audioread ];
patches = [ ../development/python-modules/pyacoustid-py3.patch ];
···
propagatedBuildInputs = with self; [
repoze_who paste cryptography pycrypto pyopenssl ipaddress six cffi idna
-
enum34 pytz setuptools zope_interface dateutil requests2 pyasn1 webob decorator pycparser
+
enum34 pytz setuptools zope_interface dateutil requests pyasn1 webob decorator pycparser
defusedxml
buildInputs = with self; [
···
-
requests = self.requests2;
-
# Remove before release of 17.09
requests_1 = buildPythonPackage rec {
name = "requests-1.2.3";
···
-
requests2 = buildPythonPackage rec {
+
requests2 = throw "requests2 has been deprecated. Use requests instead.";
+
+
# use requests, not requests_2
+
requests = buildPythonPackage rec {
name = "requests-${version}";
version = "2.13.0";
···
sha256 = "07832a93314bcd619aaeb08611ae245728e66672efb930bc2a300a115a47dab7";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
meta = {
description = "Download files using requests and save them to a target path";
···
sha256 = "16grklnbgcfwqj3f39gw7fc9afi7xlp9gm7x8w6mi81dzhdxf50y";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
buildInputs = with self; [ betamax mock pytest ];
···
sha256 = "1aij66qg9j5j4vzyh64nbg72y7pcafgjddxsi865racsay43xfqg";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
# no tests in tarball
doCheck = false;
···
propagatedBuildInputs = with self; [
-
requests2
+
requests
buildInputs = with self; [
···
buildInputs = with self; [ unittest2 ];
-
propagatedBuildInputs = with self; [ robotframework lxml requests2 ];
+
propagatedBuildInputs = with self; [ robotframework lxml requests ];
meta = {
description = "Robot Framework keyword library wrapper around the HTTP client library requests";
···
sha256 = "0zdz8lw545cd3a34cpib7mdwnad83gr2mrrxyj3v74h4zhwabhmg";
-
propagatedBuildInputs = with self; [ six requests2 mock unittest2 ];
+
propagatedBuildInputs = with self; [ six requests mock unittest2 ];
# FIXME
doCheck = false;
···
sqlalchemy
whoosh
imagesize
-
requests2
+
requests
# https://github.com/NixOS/nixpkgs/issues/22501
···
oslotest pep8 ];
propagatedBuildInputs = with self; [
oslo-serialization oslo-config oslo-i18n oslo-utils
-
Babel argparse prettytable requests2 six iso8601 stevedore
+
Babel argparse prettytable requests six iso8601 stevedore
netaddr debtcollector bandit webob mock pycrypto ];
patchPhase = ''
···
propagatedBuildInputs = with self; [
pbr Babel oslo-config oslo-context oslo-i18n oslo-serialization oslo-utils
-
requests2 six webob keystoneclient pycadf oslo-messaging
+
requests six webob keystoneclient pycadf oslo-messaging
# lots of "unhashable type" errors
···
doCheck = false;
-
propagatedBuildInputs = with self; [ requests2 six requests_oauthlib ];
+
propagatedBuildInputs = with self; [ requests six requests_oauthlib ];
meta = {
homepage = "https://github.com/tweepy/tweepy";
···
sha256 = "68b663691a947b844f92853c992d42bb68b6333bffc9ab7f661346b001c1da82";
-
propagatedBuildInputs = with self; [ clint pkginfo requests2 requests_toolbelt ];
+
propagatedBuildInputs = with self; [ clint pkginfo requests requests_toolbelt ];
# Requires network
doCheck = false;
···
sha256 = "681bc7c26cffd1564eb6f0f3170d975a31c2a9f2224a32f80fe954232b86f173";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
doCheck = false;
···
sha256 = "991bc2f1dc824c63e9b399f9e8606deded92a52378d0e449f258807d7556b039";
-
propagatedBuildInputs = with self; [ requests2 six];
+
propagatedBuildInputs = with self; [ requests six];
# No tests included
doCheck = false;
···
sha256 = "1qjvvr2v9gfnwskdl0ayazpcmiyw9zlgnijnhgq9mcri5gq9jw5h";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
# Tests disabled. They fail because they try to access the network
doCheck = false;
···
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = with self; [ itsdangerous ];
-
buildInputs = with self; [ pytest requests2 pkgs.glibcLocales ];
+
buildInputs = with self; [ pytest requests pkgs.glibcLocales ];
···
tunigo = buildPythonPackage rec {
name = "tunigo-${version}";
version = "1.0.0";
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
src = pkgs.fetchFromGitHub {
owner = "trygveaa";
···
url = "mirror://pypi/t/${pname}/${name}.tar.gz";
sha256 = "0kkxxd17ar5gyjkz9yrrdr15a64qw6ym60ndi0zbwx2s634yfafw";
-
propagatedBuildInputs = with self; [ twisted requests2 cryptography ];
+
propagatedBuildInputs = with self; [ twisted requests cryptography ];
# Require network access
doCheck = false;
···
'';
propagatedBuildInputs = with self; [
-
pyyaml lxml grequests flaskbabel flask requests2
+
pyyaml lxml grequests flaskbabel flask requests
gevent speaklater Babel pytz dateutil pygments
pyasn1 pyasn1-modules ndg-httpsclient certifi pysocks
···
# No tests in archive
doCheck = false;
-
propagatedBuildInputs = with self; [ requests2 gevent ];
+
propagatedBuildInputs = with self; [ requests gevent ];
meta = {
description = "Asynchronous HTTP requests";
···
setupPyBuildFlags = ["--qt" "--xdg"];
-
propagatedBuildInputs = with self; [ pillow prettytable pyyaml dateutil gdata requests2 mechanize feedparser lxml pkgs.gnupg pyqt4 pkgs.libyaml simplejson cssselect futures pdfminer termcolor ];
+
propagatedBuildInputs = with self; [ pillow prettytable pyyaml dateutil gdata requests mechanize feedparser lxml pkgs.gnupg pyqt4 pkgs.libyaml simplejson cssselect futures pdfminer termcolor ];
meta = {
homepage = http://weboob.org;
···
sha256 = "0fcc78b8dfc87237942aad2a8be54dbc08bc4afceaa7f6897f3d894e7d4bfd22";
-
propagatedBuildInputs = with self; [ pytz requests2 ];
+
propagatedBuildInputs = with self; [ pytz requests ];
buildInputs = with self; [ coverage mock nose unittest2 ];
···
version = "0.4.5";
doCheck = false; #test needs packages too explicit
buildInputs = with self; [ d2to1 ];
-
propagatedBuildInputs = with self; [ requests2 ];
+
propagatedBuildInputs = with self; [ requests ];
src = pkgs.fetchurl {
url = "mirror://pypi/o/ovh/ovh-${version}.tar.gz";
···
dateutil
inflection
more-itertools
-
requests2
+
requests
pandas
···
sha256 = "063cbzp1fbdipv53gb0hnban1pg80pls0lbld98lhnykzkcb6vf0";
-
propagatedBuildInputs = with self; [ websocket_client requests2 ];
+
propagatedBuildInputs = with self; [ websocket_client requests ];
tempora = buildPythonPackage rec {
···
sha256 = "1sd8f3gihagaqd848dqy6xw457fa4f9bla1bfyni7fq3h76sjdzg";
-
propagatedBuildInputs = with self; [ requests2 six dateutil ];
+
propagatedBuildInputs = with self; [ requests six dateutil ];
pivy = buildPythonPackage rec {
···
buildInputs = [ python pkgs.makeWrapper ];
-
propagatedBuildInputs = with self; [ docopt requests2 smugpy ];
+
propagatedBuildInputs = with self; [ docopt requests smugpy ];
installPhase = ''
mkdir -p $out/bin $out/libexec
···
url = "mirror://pypi/p/pwntools/${name}.tar.gz";
sha256 = "1siyky6iq2b155sfjhx10yg2ihvjp2s3kr6i0n5z9v5pi0r7gc6d";
-
propagatedBuildInputs = with self; [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests2 tox pkgs.pandoc ];
+
propagatedBuildInputs = with self; [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests tox pkgs.pandoc ];
disabled = isPy3k;