Merge pull request #265618 from marius851000/tweepy

python3Packages.tweepy: Disable failing streaming tests
This commit is contained in:
Fabian Affolter 2023-11-05 11:42:54 +01:00 committed by GitHub
commit e51deb80df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,11 +44,34 @@ buildPythonPackage rec {
"tweepy"
];
# The checks with streaming fail due to (seemingly) not decoding (or unexpectedly sending response in) GZIP
# Same issue impacted mastodon-py, see https://github.com/halcy/Mastodon.py/commit/cd86887d88bbc07de462d1e00a8fbc3d956c0151 (who just disabled these)
disabledTestPaths = [
"tests/test_client.py"
];
disabledTests = [
"test_indicate_direct_message_typing"
"testcachedifferentqueryparameters"
"testcachedresult"
"testcreatedestroyblock"
"testcreatedestroyfriendship"
"testcreateupdatedestroylist"
"testgetfollowerids"
"testgetfollowers"
"testgetfriendids"
"testgetfriends"
"testgetuser"
"testcursorcursoritems"
"testcursorcursorpages"
"testcursornext"
];
meta = with lib; {
description = "Twitter library for Python";
homepage = "https://github.com/tweepy/tweepy";
changelog = "https://github.com/tweepy/tweepy/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ marius851000 ];
};
}