Skip to content

Commit

Permalink
python3Packages.skyfield: 1.45 -> 1.49, fixed tests (#343265)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds authored Sep 24, 2024
2 parents b8d6935 + c1502f2 commit 24959f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 3 additions & 4 deletions pkgs/development/python-modules/assay/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
Expand All @@ -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";
};
}
8 changes: 3 additions & 5 deletions pkgs/development/python-modules/skyfield/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 24959f9

Please sign in to comment.