Merge pull request #264766 from fabaff/pysolcast-bump

python311Packages.pysolcast: 1.0.15 -> 2.0.0
This commit is contained in:
Fabian Affolter 2023-11-01 13:02:01 +01:00 committed by GitHub
commit 2db8d16baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,13 +7,13 @@
, pyyaml
, requests
, responses
, setuptools-scm
, poetry-core
}:
buildPythonPackage rec {
pname = "pysolcast";
version = "1.0.15";
format = "setuptools";
version = "2.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
@ -21,13 +21,11 @@ buildPythonPackage rec {
owner = "mcaulifn";
repo = "solcast";
rev = "refs/tags/v${version}";
hash = "sha256-CvijYl6zSwQ6BrGZPJWp75jAApc2y/7cPdZxMq5AjmI=";
hash = "sha256-jLhM47o6LvkPux0kusOrRk4TDS6VLWE0QMEiQxlBCwo=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
poetry-core
];
propagatedBuildInputs = [
@ -41,11 +39,6 @@ buildPythonPackage rec {
responses
];
postPatch = ''
substituteInPlace setup.cfg \
--replace "pytest-runner" ""
'';
pythonImportsCheck = [
"pysolcast"
];