pythonPackages: deprecate requests_toolbelt alias

This commit is contained in:
Sandro Jäckel 2021-07-20 23:21:18 +02:00
parent a5158b8c01
commit 703c108472
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
18 changed files with 30 additions and 31 deletions

View file

@ -20,7 +20,7 @@ with python3.pkgs; buildPythonApplication rec {
pkgs.vdirsyncer
pytz
pyxdg
requests_toolbelt
requests-toolbelt
tzlocal
urwid
pkginfo

View file

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, buildPythonApplication, fuse
, appdirs, colorama, python-dateutil, requests, requests_toolbelt
, appdirs, colorama, python-dateutil, requests, requests-toolbelt
, fusepy, sqlalchemy, setuptools }:
buildPythonApplication rec {
@ -16,7 +16,7 @@ buildPythonApplication rec {
};
propagatedBuildInputs = [ appdirs colorama python-dateutil fusepy requests
requests_toolbelt setuptools sqlalchemy ];
requests-toolbelt setuptools sqlalchemy ];
makeWrapperArgs = [ "--prefix LIBFUSE_PATH : ${fuse}/lib/libfuse.so" ];

View file

@ -3,7 +3,7 @@
, importlib-metadata
, pexpect
, prettytable
, requests_toolbelt
, requests-toolbelt
}:
buildPythonPackage rec {
pname = "argcomplete";
@ -24,7 +24,7 @@ buildPythonPackage rec {
importlib-metadata
pexpect
prettytable
requests_toolbelt
requests-toolbelt
];
pythonImportsCheck = [ "argcomplete" ];

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi
, betamax, requests_toolbelt }:
, betamax, requests-toolbelt }:
buildPythonPackage rec {
pname = "betamax-matchers";
@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "07qpwjyq2i2aqhz5iwghnj4pqr2ys5n45v1vmpcfx9r5mhwrsq43";
};
buildInputs = [ betamax requests_toolbelt ];
buildInputs = [ betamax requests-toolbelt ];
meta = with lib; {
homepage = "https://github.com/sigmavirus24/betamax_matchers";

View file

@ -1,7 +1,7 @@
{ lib, stdenv, buildPythonPackage, fetchPypi
, setuptools-scm
, cheroot, contextlib2, portend, routes, six, zc_lockfile
, backports_unittest-mock, objgraph, pathpy, pytest, pytest-cov, backports_functools_lru_cache, requests_toolbelt
, backports_unittest-mock, objgraph, pathpy, pytest, pytest-cov, backports_functools_lru_cache, requests-toolbelt
}:
buildPythonPackage rec {
@ -21,7 +21,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ];
checkInputs = [
backports_unittest-mock objgraph pathpy pytest pytest-cov backports_functools_lru_cache requests_toolbelt
backports_unittest-mock objgraph pathpy pytest pytest-cov backports_functools_lru_cache requests-toolbelt
];
checkPhase = ''

View file

@ -2,7 +2,7 @@
, setuptools-scm
, cheroot, portend, more-itertools, zc_lockfile, routes
, jaraco_collections
, objgraph, pytest, pytest-cov, pathpy, requests_toolbelt, pytest-services
, objgraph, pytest, pytest-cov, pathpy, requests-toolbelt, pytest-services
, fetchpatch
}:
@ -47,7 +47,7 @@ buildPythonPackage rec {
];
checkInputs = [
objgraph pytest pytest-cov pathpy requests_toolbelt pytest-services
objgraph pytest pytest-cov pathpy requests-toolbelt pytest-services
];
# Keyboard interrupt ends test suite run

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, requests
, requests_toolbelt
, requests-toolbelt
, requests_oauthlib
, pytest
, pytest-runner
@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "03g2z21k6nhxgwysjrgnxj9m1yg25mnnkr10gpyfhfkd9w77pcpz";
};
propagatedBuildInputs = [ requests requests_toolbelt requests_oauthlib ];
propagatedBuildInputs = [ requests requests-toolbelt requests_oauthlib ];
checkInputs = [ pytest pytest-runner pytest-cov responses ];
doCheck = false; # Otherwise:

View file

@ -15,7 +15,7 @@
, pyopenssl
, pyyaml
, requests
, requests_toolbelt
, requests-toolbelt
, terminaltables
, websocket-client
}:
@ -53,7 +53,7 @@ buildPythonPackage rec {
pyopenssl
pyyaml
requests
requests_toolbelt
requests-toolbelt
terminaltables
websocket-client
];

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k
, pytest, pytest-runner, pbr, glibcLocales , pytest-cov
, requests, requests_oauthlib, requests_toolbelt, defusedxml
, requests, requests_oauthlib, requests-toolbelt, defusedxml
, ipython
}:
@ -16,7 +16,7 @@ buildPythonPackage rec {
};
buildInputs = [ glibcLocales pytest pytest-cov pytest-runner pbr ];
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml pbr ipython ];
propagatedBuildInputs = [ requests requests_oauthlib requests-toolbelt defusedxml pbr ipython ];
# impure tests because of connectivity attempts to jira servers
doCheck = false;

View file

@ -4,7 +4,7 @@
, requests
, testfixtures
, mock
, requests_toolbelt
, requests-toolbelt
, betamax
, betamax-serializers
, betamax-matchers
@ -32,7 +32,7 @@ buildPythonPackage rec {
betamax
betamax-serializers
betamax-matchers
requests_toolbelt
requests-toolbelt
pytestCheckHook
];

View file

@ -5,7 +5,7 @@
, pyblake2
, readme_renderer
, requests
, requests_toolbelt
, requests-toolbelt
, setuptools-scm
, tqdm
, colorama
@ -30,7 +30,7 @@ buildPythonPackage rec {
pyblake2
readme_renderer
requests
requests_toolbelt
requests-toolbelt
tqdm
colorama
rfc3986

View file

@ -6,7 +6,7 @@
, click
, click-log
, click-threading
, requests_toolbelt
, requests-toolbelt
, requests
, requests_oauthlib # required for google oauth sync
, atomicwrites
@ -34,7 +34,7 @@ buildPythonPackage rec {
click-threading
requests
requests_oauthlib # required for google oauth sync
requests_toolbelt
requests-toolbelt
];
nativeBuildInputs = [

View file

@ -4,7 +4,7 @@
, future
, pyjwt
, requests
, requests_toolbelt
, requests-toolbelt
}:
buildPythonPackage rec {
@ -22,7 +22,7 @@ buildPythonPackage rec {
future
pyjwt
requests
requests_toolbelt
requests-toolbelt
];
# Tests require a Webex Teams test domain

View file

@ -19,7 +19,7 @@
, pythonOlder
, pytz
, requests
, requests_toolbelt
, requests-toolbelt
, requests-file
, requests-mock
, xmlsec
@ -47,7 +47,7 @@ buildPythonPackage rec {
lxml
pytz
requests
requests_toolbelt
requests-toolbelt
requests-file
xmlsec
];

View file

@ -23,7 +23,7 @@ python3.pkgs.buildPythonApplication rec {
colorama
future
requests
requests_toolbelt
requests-toolbelt
semver
simplejson
six

View file

@ -22964,7 +22964,7 @@ in
acd-cli = callPackage ../applications/networking/sync/acd_cli {
inherit (python3Packages)
buildPythonApplication appdirs colorama python-dateutil
requests requests_toolbelt setuptools sqlalchemy fusepy;
requests requests-toolbelt setuptools sqlalchemy fusepy;
};
adobe-reader = pkgsi686Linux.callPackage ../applications/misc/adobe-reader { };

View file

@ -60,6 +60,7 @@ mapAliases ({
pytest_xdist = pytest-xdist; # added 2021-01-04
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
requests_toolbelt = requests-toolbelt; # added 2017-09-26
rotate-backups = throw "pythonPackages.rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # Added 2021-06-10
setuptools_scm = setuptools-scm; # added 2021-06-03

View file

@ -7551,8 +7551,6 @@ in {
requests-toolbelt = callPackage ../development/python-modules/requests-toolbelt { };
requests_toolbelt = self.requests-toolbelt; # Old attr, 2017-09-26
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket { };
requirements-detector = callPackage ../development/python-modules/requirements-detector { };