mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
python3Packages.python-twitter: fix
(cherry picked from commit d3b9ef5962
)
This commit is contained in:
parent
7d850e3ae2
commit
0e260e923d
@ -1,22 +1,25 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
filetype,
|
||||
future,
|
||||
hypothesis,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
requests-oauthlib,
|
||||
responses,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-twitter";
|
||||
version = "3.5";
|
||||
format = "setuptools";
|
||||
|
||||
pyproject = true;
|
||||
build-system = [ setuptools ];
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -35,7 +38,7 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
filetype
|
||||
future
|
||||
requests
|
||||
@ -53,6 +56,11 @@ buildPythonPackage rec {
|
||||
--replace "'pytest-runner'" ""
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# AttributeError: 'FileCacheTest' object has no attribute 'assert_'
|
||||
"test_filecache"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "twitter" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user