Merge pull request #174416 from r-ryantm/auto-update/python3.10-mwoauth

python310Packages.mwoauth: 0.3.7 -> 0.3.8
This commit is contained in:
Fabian Affolter 2022-05-25 18:47:37 +02:00 committed by GitHub
commit ea3f23b467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "mwoauth";
version = "0.3.7";
version = "0.3.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ng1wofpvRSWE3hy4U65sEfQSM1SfeDnPuHn5lBD2rUY=";
hash = "sha256-CNr07auqD5WoRfmOVwfecxaoODqWJfIK52iwNZkcNqw=";
};
propagatedBuildInputs = [
@ -29,12 +29,6 @@ buildPythonPackage rec {
six
];
postPatch = ''
# https://github.com/mediawiki-utilities/python-mwoauth/pull/43
substituteInPlace setup.py \
--replace "PyJWT>=1.0.1,<2.0.0" "PyJWT>=1.0.1"
'';
# PyPI source has no tests included
# https://github.com/mediawiki-utilities/python-mwoauth/issues/44
doCheck = false;