Unverified Commit 24959f93 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

python3Packages.skyfield: 1.45 -> 1.49, fixed tests (#343265)

parents b8d6935a c1502f24
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -7,14 +7,14 @@

buildPythonPackage rec {
  pname = "assay";
  version = "unstable-2022-01-19";
  version = "0-unstable-2024-05-09";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "brandon-rhodes";
    repo = pname;
    rev = "bb62d1f7d51d798b05a88045fff3a2ff92c299c3";
    hash = "sha256-FuAD74mFJ9F9AMgB3vPmODAlZKgPR7FQ4yn7HEBS5Rw=";
    rev = "74617d70e77afa09f58b3169cf496679ac5d5621";
    hash = "sha256-zYpLtcXZ16EJWKSCqxFkSz/G9PwIZEQGBrYiJKuqnc4=";
  };

  pythonImportsCheck = [ "assay" ];
@@ -24,6 +24,5 @@ buildPythonPackage rec {
    description = "Attempt to write a Python testing framework I can actually stand";
    license = licenses.mit;
    maintainers = with maintainers; [ zane ];
    broken = pythonAtLeast "3.11";
  };
}
+3 −5
Original line number Diff line number Diff line
@@ -16,14 +16,14 @@

buildPythonPackage rec {
  pname = "skyfield";
  version = "1.45";
  version = "1.49";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "skyfielders";
    repo = "python-skyfield";
    rev = version;
    hash = "sha256-kZrXNVE+JGPGiVsd6CTwOqfciYLsD2A4pTS3FpqO+Dk=";
    hash = "sha256-PZ63sohdfpop3nYQr2RIMjPbrL9jdfincEhw5D8NZ+Y=";
  };

  # Fix broken tests on "exotic" platforms.
@@ -49,9 +49,7 @@ buildPythonPackage rec {
    assay
  ];

  # assay is broken on Python >= 3.11
  # https://github.com/brandon-rhodes/assay/issues/15
  doCheck = pythonOlder "3.11";
  doCheck = true;

  checkPhase = ''
    runHook preCheck