python3Packages.asyncprawcore: 2.4.0 -> 3.0.2
Diff: https://github.com/praw-dev/asyncprawcore/compare/v2.4.0...v3.0.2 Changelog: https://github.com/praw-dev/asyncprawcore/blob/v3.0.2/CHANGES.rst
This commit is contained in:
@@ -4,43 +4,35 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
mock,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio_0,
|
||||
pytest-asyncio,
|
||||
pytest-vcr,
|
||||
requests,
|
||||
requests-toolbelt,
|
||||
testfixtures,
|
||||
vcrpy,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncprawcore";
|
||||
version = "2.4.0";
|
||||
version = "3.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "praw-dev";
|
||||
repo = "asyncprawcore";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-FDQdtnNjsbiEp9BUYdQFMC/hkyJDhCh2WHhQWSQwrFY=";
|
||||
hash = "sha256-0FOMY/0LXGcHwDe4t+NMAovMhX83/mMv8sWvIf5gxok=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
aiohttp
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
testfixtures
|
||||
mock
|
||||
requests-toolbelt
|
||||
pytestCheckHook
|
||||
pytest-asyncio_0
|
||||
pytest-asyncio
|
||||
pytest-vcr
|
||||
vcrpy
|
||||
];
|
||||
@@ -51,6 +43,11 @@ buildPythonPackage rec {
|
||||
"tests/integration/test_sessions.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires network access
|
||||
"test_initialize"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "asyncprawcore" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user