Unverified Commit 2db8d16b authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #264766 from fabaff/pysolcast-bump

python311Packages.pysolcast: 1.0.15 -> 2.0.0
parents e117f214 6547a841
Loading
Loading
Loading
Loading
+5 −12
Original line number Diff line number Diff line
@@ -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"
  ];