Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/sphinx-rtd-theme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ buildPythonPackage rec {
"sphinxcontrib-jquery"
];

pythonImportsCheck = [
"sphinx_rtd_theme"
];
# Test are failing with Sphinx 7.3.7
doCheck = false;

meta = with lib; {
description = "Sphinx theme for readthedocs.org";
Expand Down
12 changes: 7 additions & 5 deletions pkgs/development/python-modules/sphinx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
, flit-core

# propagatedBuildInputs
, babel
, alabaster
, babel
, defusedxml
, docutils
, imagesize
, importlib-metadata
Expand All @@ -36,7 +37,7 @@

buildPythonPackage rec {
pname = "sphinx";
version = "7.2.6";
version = "7.3.7";
format = "pyproject";
disabled = pythonOlder "3.9";

Expand All @@ -49,9 +50,9 @@ buildPythonPackage rec {
# filesystems, leading to different hashes on different platforms.
cd "$out";
mv tests/roots/test-images/{testimäge,testimæge}.png
sed -i 's/testimäge/testimæge/g' tests/{test_build*.py,roots/test-images/index.rst}
sed -i 's/testimäge/testimæge/g' tests/{test_builders/test_build_*.py,roots/test-images/index.rst}
'';
hash = "sha256-IjpRGeGpGfzrEvwIKtuu2l1S74w8W+AbqDOGnWwtRck=";
hash = "sha256-4NqY1OvJuS4XfVOe3fKcu4bQ0Ch+Htk+lwXK2KpuZ1Y=";
};

nativeBuildInputs = [
Expand All @@ -60,6 +61,7 @@ buildPythonPackage rec {

propagatedBuildInputs = [
alabaster
defusedxml
babel
docutils
imagesize
Expand All @@ -85,8 +87,8 @@ buildPythonPackage rec {
nativeCheckInputs = [
filelock
html5lib
pytestCheckHook
pytest-xdist
pytestCheckHook
];

preCheck = ''
Expand Down