From 953124d159a222fcc2c1d24ef656ff7ff41aba6f Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Wed, 5 Mar 2025 14:42:54 -0500 Subject: [PATCH 01/23] epel10 bootstrap --- python-pydata-sphinx-theme.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 86d5e8c..57ae71c 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -138,9 +138,6 @@ rm _build/.buildinfo cd - %endif -%check -%pytest -v - %files -n python3-pydata-sphinx-theme -f %{pyproject_files} %doc README.md %license LICENSE From 8fb55350ecb8275b53f359abe602d9702852ba41 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Tue, 25 Mar 2025 11:26:02 -0400 Subject: [PATCH 02/23] non-bootstrap build --- python-pydata-sphinx-theme.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 57ae71c..15dd904 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -40,7 +40,8 @@ BuildRequires: gcc-c++ BuildRequires: make BuildRequires: nodejs-devel BuildRequires: nodejs-npm -BuildRequires: python3-devel +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-soupsieve BuildRequires: yarnpkg Provides: bundled(js-bootstrap) = 5.3.3 @@ -138,6 +139,9 @@ rm _build/.buildinfo cd - %endif +%check +%pytest -v + %files -n python3-pydata-sphinx-theme -f %{pyproject_files} %doc README.md %license LICENSE From 82e0d2bd044d972ff6e2cfc4b38347ac2a889737 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 23:35:16 +0200 Subject: [PATCH 03/23] Rebuilt for Python 3.14 From 0fe2a8140ae5cbd197408ad7cbb200e20f71ef07 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 18 Jul 2025 20:54:18 -0600 Subject: [PATCH 04/23] Update bundled bootstrap to version 5.3.7 - Use the pyproject declarative buildsystem --- python-pydata-sphinx-theme.spec | 33 ++++++++++++++++----------------- sources | 2 +- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 86d5e8c..ff734d7 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -13,7 +13,6 @@ Summary: Bootstrap-based Sphinx theme from the PyData community # This project is BSD-3-Clause. # The bundled bootstrap JavaScript library is MIT. License: BSD-3-Clause AND MIT -BuildArch: noarch URL: https://pydata-sphinx-theme.readthedocs.io/ VCS: git:%{giturl}.git Source0: %{giturl}/archive/v%{version}/pydata-sphinx-theme-%{version}.tar.gz @@ -33,6 +32,11 @@ Source3: pydata-gallery.tar.xz # Fedora-only patch: unbundle the fontawesome fonts Patch: %{name}-fontawesome.patch +BuildArch: noarch +BuildSystem: pyproject +BuildOption(install): -L pydata_sphinx_theme +BuildOption(generate_buildrequires): -x test%{?with_docs:,doc} + BuildRequires: babel BuildRequires: fontawesome-fonts-all BuildRequires: fontawesome-fonts-web @@ -43,18 +47,12 @@ BuildRequires: nodejs-npm BuildRequires: python3-devel BuildRequires: yarnpkg -Provides: bundled(js-bootstrap) = 5.3.3 - -%if %{without docs} -Obsoletes: %{name}-doc < 0.13.0-1 -%endif - %global _description %{expand: This package contains a Sphinx extension for creating document components optimized for HTML+CSS. - The panels directive creates panels of content in a grid layout, - utilizing both the Bootstrap 4 grid system, and cards layout. + utilizing both the Bootstrap 5 grid system, and cards layout. - The link-button directive creates a clickable button, linking to a URL or reference, and can also be used to make an entire panel clickable. @@ -73,6 +71,11 @@ See https://pydata-sphinx-theme.readthedocs.io/ for documentation.} Summary: Bootstrap-based Sphinx theme from the PyData community Requires: fontawesome-fonts-all Requires: fontawesome-fonts-web +Provides: bundled(js-bootstrap) = 5.3.7 + +%if %{without docs} +Obsoletes: %{name}-doc < 0.13.0-1 +%endif %description -n python3-pydata-sphinx-theme %_description @@ -86,6 +89,8 @@ Documentation for pydata-sphinx-theme. %prep %autosetup -n pydata-sphinx-theme-%{version} -p1 -a1 + +%conf cp -p %{SOURCE2} . %if %{with docs} @@ -98,24 +103,18 @@ sed -i 's,https://pydata-sphinx-theme\.readthedocs\.io/en/latest/,,' docs/conf.p # Substitute the installed nodejs version for the requested version sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml +%generate_buildrequires -p # The Fedora sphinx package does not provide sphinx[test] sed -i 's/\(sphinx\)\[test\]/\1/' pyproject.toml -%generate_buildrequires -%pyproject_buildrequires -x test%{?with_docs:,doc} - -%build +%build -p export YARN_CACHE_FOLDER="$PWD/.package-cache" yarn install --offline nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv -%pyproject_wheel - -%install +%install -a %define instdir %{buildroot}%{python3_sitelib}/pydata_sphinx_theme %define themedir %{instdir}/theme/pydata_sphinx_theme/static -%pyproject_install -%pyproject_save_files -L pydata_sphinx_theme sed -i '/\.gitignore/d' %{pyproject_files} rm %{themedir}/.gitignore diff --git a/sources b/sources index fa6f89a..73825cf 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (pydata-sphinx-theme-0.16.1.tar.gz) = a72d5be0dfdd11ffac8ed60521121053343869234b7fc1a5d2ac3b5a78cc3b00afdb7875608bd7cdb455d1bfa92dfdffcf541310aed211f6eb49a6ce29f2c045 -SHA512 (pydata-sphinx-theme-0.16.1-vendor.tar.xz) = 60e59e3105d07273ddce5756a9699cf2e46e555666db5c915de385bc59f65ca6778df6cba877a3b0e319b1f1fd3dee262d6e3bece43f0a0aabeae3d756567d58 +SHA512 (pydata-sphinx-theme-0.16.1-vendor.tar.xz) = 4072d122b19db93fce3b33fb4368fe37c7f55c5d2a0ef81782bfef375a23e17abac847bb9edb0476bc6c1601a3ebe5ec067be0773173612b63c12134afb60910 From 31062250ccf3749e6bd87235548df438a217d1f9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 09:34:23 +0000 Subject: [PATCH 05/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From ce90274552613110cf09c9b1909187f6337cdb2d Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 14:28:43 +0200 Subject: [PATCH 06/23] Rebuilt for Python 3.14.0rc2 bytecode From 295e69321dbd296299760318a79d78d588bcfa79 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 14:04:20 +0200 Subject: [PATCH 07/23] Rebuilt for Python 3.14.0rc3 bytecode From 5d9e552654d88d9a0ee96823ba736343e3c70a8e Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 3 Nov 2025 17:06:06 -0700 Subject: [PATCH 08/23] Do not run code coverage tools --- python-pydata-sphinx-theme.spec | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index ff734d7..a9a2dee 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -44,18 +44,22 @@ BuildRequires: gcc-c++ BuildRequires: make BuildRequires: nodejs-devel BuildRequires: nodejs-npm -BuildRequires: python3-devel BuildRequires: yarnpkg -%global _description %{expand: -This package contains a Sphinx extension for creating document components +Provides: bundled(js-bootstrap) = 5.3.3 + +%if %{without docs} +Obsoletes: %{name}-doc < 0.13.0-1 +%endif + +%global _description %{expand:This package contains a Sphinx extension for creating document components optimized for HTML+CSS. -- The panels directive creates panels of content in a grid layout, - utilizing both the Bootstrap 5 grid system, and cards layout. +- The panels directive creates panels of content in a grid layout, utilizing + both the Bootstrap 5 grid system, and cards layout. -- The link-button directive creates a clickable button, linking to a URL - or reference, and can also be used to make an entire panel clickable. +- The link-button directive creates a clickable button, linking to a URL or + reference, and can also be used to make an entire panel clickable. - The dropdown directive creates content that can be toggled. @@ -65,7 +69,8 @@ optimized for HTML+CSS. See https://pydata-sphinx-theme.readthedocs.io/ for documentation.} -%description %_description +%description +%_description %package -n python3-pydata-sphinx-theme Summary: Bootstrap-based Sphinx theme from the PyData community @@ -77,7 +82,8 @@ Provides: bundled(js-bootstrap) = 5.3.7 Obsoletes: %{name}-doc < 0.13.0-1 %endif -%description -n python3-pydata-sphinx-theme %_description +%description -n python3-pydata-sphinx-theme +%_description %if %{with docs} %package doc @@ -106,6 +112,8 @@ sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml %generate_buildrequires -p # The Fedora sphinx package does not provide sphinx[test] sed -i 's/\(sphinx\)\[test\]/\1/' pyproject.toml +# Do not run code coverage tools +sed -i 's/, "pytest-cov"//' pyproject.toml %build -p export YARN_CACHE_FOLDER="$PWD/.package-cache" From 4d6a96274c5a3de4a39df9bf732c8b55de57358b Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 9 Dec 2025 16:37:34 -0700 Subject: [PATCH 09/23] Adapt to removal of %{nodejs_version} - Update the nodejs packages --- pydata-sphinx-theme-0.16.1-vendor-licenses.txt | 2 +- python-pydata-sphinx-theme.spec | 3 ++- sources | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pydata-sphinx-theme-0.16.1-vendor-licenses.txt b/pydata-sphinx-theme-0.16.1-vendor-licenses.txt index 9b6c01c..fa65162 100644 --- a/pydata-sphinx-theme-0.16.1-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.16.1-vendor-licenses.txt @@ -4,7 +4,7 @@ $ /tmp/node_modules/.bin/license-checker --summary ├─ ISC: 32 ├─ BSD-2-Clause: 15 ├─ BSD-3-Clause: 7 -├─ Apache-2.0: 5 +├─ Apache-2.0: 6 ├─ CC0-1.0: 2 ├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1 ├─ MPL-2.0: 1 diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index a9a2dee..163a622 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -46,7 +46,7 @@ BuildRequires: nodejs-devel BuildRequires: nodejs-npm BuildRequires: yarnpkg -Provides: bundled(js-bootstrap) = 5.3.3 +Provides: bundled(js-bootstrap) = 5.3.8 %if %{without docs} Obsoletes: %{name}-doc < 0.13.0-1 @@ -107,6 +107,7 @@ sed -i 's,https://pydata-sphinx-theme\.readthedocs\.io/en/latest/,,' docs/conf.p %endif # Substitute the installed nodejs version for the requested version +%global nodejs_version %(%{_bindir}/node -v | sed s/v//) sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml %generate_buildrequires -p diff --git a/sources b/sources index 73825cf..9561b12 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (pydata-sphinx-theme-0.16.1.tar.gz) = a72d5be0dfdd11ffac8ed60521121053343869234b7fc1a5d2ac3b5a78cc3b00afdb7875608bd7cdb455d1bfa92dfdffcf541310aed211f6eb49a6ce29f2c045 -SHA512 (pydata-sphinx-theme-0.16.1-vendor.tar.xz) = 4072d122b19db93fce3b33fb4368fe37c7f55c5d2a0ef81782bfef375a23e17abac847bb9edb0476bc6c1601a3ebe5ec067be0773173612b63c12134afb60910 +SHA512 (pydata-sphinx-theme-0.16.1-vendor.tar.xz) = 601ccbd08a688fbc46635e72c05e4ce134286b0f4a6ab45e8cb8ccdc3bc1f407dc0e12508343c4eb240e9d0f8adb25b4734f2f472a4036fddc29eb63130bd4a7 From 4a8ba3a0e27e89f52f4c3b5b0e9ba4737d534f1c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 08:59:34 +0000 Subject: [PATCH 10/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 5e951a190be0c227f16818a886ce8ed9ee0e5d7c Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 29 Jan 2026 11:01:57 -0700 Subject: [PATCH 11/23] Adapt to nodejs changes in Rawhide --- python-pydata-sphinx-theme.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 163a622..3a66695 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -43,7 +43,8 @@ BuildRequires: fontawesome-fonts-web BuildRequires: gcc-c++ BuildRequires: make BuildRequires: nodejs-devel -BuildRequires: nodejs-npm +BuildRequires: /usr/bin/node +BuildRequires: /usr/bin/npm BuildRequires: yarnpkg Provides: bundled(js-bootstrap) = 5.3.8 From c0b6578fd95d39eeac9dcaeb9b33ca01a4d42173 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 3 Apr 2026 12:30:55 -0600 Subject: [PATCH 12/23] Version 0.17.0 - Drop upstreamed pygments 2.19 patch --- 2091.patch | 311 ------------------ ...ta-sphinx-theme-0.17.0-vendor-licenses.txt | 11 +- python-pydata-sphinx-theme.spec | 12 +- sources | 4 +- 4 files changed, 13 insertions(+), 325 deletions(-) delete mode 100644 2091.patch rename pydata-sphinx-theme-0.16.1-vendor-licenses.txt => pydata-sphinx-theme-0.17.0-vendor-licenses.txt (71%) diff --git a/2091.patch b/2091.patch deleted file mode 100644 index 4cafad9..0000000 --- a/2091.patch +++ /dev/null @@ -1,311 +0,0 @@ -From e1f763310e99d4c048d86c76b61073f3822aa981 Mon Sep 17 00:00:00 2001 -From: "pre-commit-ci[bot]" - <66853113+pre-commit-ci[bot]@users.noreply.github.com> -Date: Mon, 6 Jan 2025 17:40:47 +0000 -Subject: [PATCH 1/6] [pre-commit.ci] pre-commit autoupdate hooks -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -updates: -- [github.com/pycontribs/mirrors-prettier: v3.3.3 → v3.4.2](https://github.com/pycontribs/mirrors-prettier/compare/v3.3.3...v3.4.2) -- [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.8.6) -- [github.com/asottile/pyupgrade: v3.19.0 → v3.19.1](https://github.com/asottile/pyupgrade/compare/v3.19.0...v3.19.1) -- [github.com/Riverside-Healthcare/djLint: v1.36.3 → v1.36.4](https://github.com/Riverside-Healthcare/djLint/compare/v1.36.3...v1.36.4) -- [github.com/thibaudcolas/pre-commit-stylelint: v16.11.0 → v16.12.0](https://github.com/thibaudcolas/pre-commit-stylelint/compare/v16.11.0...v16.12.0) ---- - .pre-commit-config.yaml | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml -index 0d7c67c84..209a6d3e2 100644 ---- a/.pre-commit-config.yaml -+++ b/.pre-commit-config.yaml -@@ -13,7 +13,7 @@ default_language_version: - - repos: - - repo: "https://github.com/pycontribs/mirrors-prettier" -- rev: v3.3.3 -+ rev: v3.4.2 - hooks: - - id: prettier - # Exclude the HTML, since it doesn't understand Jinja2 -@@ -22,20 +22,20 @@ repos: - exclude: .+\.html|webpack\.config\.js|tests/test_a11y/ - - - repo: "https://github.com/astral-sh/ruff-pre-commit" -- rev: "v0.8.1" -+ rev: "v0.8.6" - hooks: - - id: ruff - args: [--exit-non-zero-on-fix] - - id: ruff-format - - - repo: "https://github.com/asottile/pyupgrade" -- rev: v3.19.0 -+ rev: v3.19.1 - hooks: - - id: pyupgrade - args: [--py37-plus] - - - repo: "https://github.com/Riverside-Healthcare/djLint" -- rev: v1.36.3 -+ rev: v1.36.4 - hooks: - - id: djlint-jinja - types_or: ["html"] -@@ -56,7 +56,7 @@ repos: - - id: remove-metadata - - - repo: "https://github.com/thibaudcolas/pre-commit-stylelint" -- rev: v16.11.0 -+ rev: v16.12.0 - hooks: - - id: stylelint - # automatically fix .scss files where possible - -From 3e5aa9b4137445b288d6b287b36c8785c8c861b9 Mon Sep 17 00:00:00 2001 -From: "pre-commit-ci[bot]" - <66853113+pre-commit-ci[bot]@users.noreply.github.com> -Date: Mon, 6 Jan 2025 17:41:49 +0000 -Subject: [PATCH 2/6] [pre-commit.ci] Automatic linting and formatting fixes - ---- - .../styles/abstracts/_accessibility.scss | 6 +++-- - .../assets/styles/variables/_color.scss | 24 +++++++------------ - .../assets/styles/variables/_fonts.scss | 6 ++--- - 3 files changed, 15 insertions(+), 21 deletions(-) - -diff --git a/src/pydata_sphinx_theme/assets/styles/abstracts/_accessibility.scss b/src/pydata_sphinx_theme/assets/styles/abstracts/_accessibility.scss -index bc5cf74b7..53aa6aef0 100644 ---- a/src/pydata_sphinx_theme/assets/styles/abstracts/_accessibility.scss -+++ b/src/pydata_sphinx_theme/assets/styles/abstracts/_accessibility.scss -@@ -70,8 +70,10 @@ - $rgb-col: map.merge( - $rgb-col, - ( -- $channel: -- math.pow(math.div((math.div($value, 255) + 0.055), 1.055), 2.4), -+ $channel: math.pow( -+ math.div((math.div($value, 255) + 0.055), 1.055), -+ 2.4 -+ ), - ) - ); - } -diff --git a/src/pydata_sphinx_theme/assets/styles/variables/_color.scss b/src/pydata_sphinx_theme/assets/styles/variables/_color.scss -index 6553f0b24..5efe04989 100644 ---- a/src/pydata_sphinx_theme/assets/styles/variables/_color.scss -+++ b/src/pydata_sphinx_theme/assets/styles/variables/_color.scss -@@ -26,8 +26,7 @@ - /* Assign base colors for the PyData theme */ - $color-palette: ( - // Primary color -- "teal": -- ( -+ "teal": ( - "50": #f4fbfc, - "100": #e9f6f8, - "200": #d0ecf1, -@@ -40,8 +39,7 @@ $color-palette: ( - "900": #021b1f, - ), - // Secondary color -- "violet": -- ( -+ "violet": ( - "50": #f4eefb, - "100": #e0c7ff, - "200": #d5b4fd, -@@ -54,8 +52,7 @@ $color-palette: ( - "900": #1e0e39, - ), - // Neutrals -- "gray": -- ( -+ "gray": ( - "50": #f9f9fa, - "100": #f3f4f5, - "200": #e5e7ea, -@@ -68,8 +65,7 @@ $color-palette: ( - "900": #14181e, - ), - // Accent color -- "pink": -- ( -+ "pink": ( - "50": #fcf8fd, - "100": #fcf0fa, - "200": #f8dff5, -@@ -161,8 +157,7 @@ $pst-semantic-colors: ( - "bg-dark": #002f17, - ), - // This is based on the warning color -- "attention": -- ( -+ "attention": ( - "light": var(--pst-color-warning), - "bg-light": var(--pst-color-warning-bg), - "dark": var(--pst-color-warning), -@@ -229,15 +224,13 @@ $pst-semantic-colors: ( - // DEPTH COLORS - you can see the elevation colours and shades - // in the Figma file https://www.figma.com/file/rUrrHGhUBBIAAjQ82x6pz9/PyData-Design-system---proposal-for-implementation-(2)?node-id=1492%3A922&t=sQeQZehkOzposYEg-1 - // background: color of the canvas / the furthest back layer -- "background": -- ( -+ "background": ( - "light": #{map-deep-get($color-palette, "foundation", "white")}, - "dark": #{map-deep-get($color-palette, "foundation", "black")}, - ), - // on-background: provides slight contrast against background - // (by use of shadows in light theme) -- "on-background": -- ( -+ "on-background": ( - "light": #{map-deep-get($color-palette, "foundation", "white")}, - "dark": #{map-deep-get($color-palette, "gray", "800")}, - ), -@@ -246,8 +239,7 @@ $pst-semantic-colors: ( - "dark": #{map-deep-get($color-palette, "gray", "700")}, - ), - // on_surface: object on top of surface object (without shadows) -- "on-surface": -- ( -+ "on-surface": ( - "light": #{map-deep-get($color-palette, "gray", "800")}, - "dark": $foundation-light-gray, - ), -diff --git a/src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss b/src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss -index 5b76b37ed..9a16122ea 100644 ---- a/src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss -+++ b/src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss -@@ -33,9 +33,9 @@ html { - - // Font family - // These are adapted from https://systemfontstack.com/ */ -- --pst-font-family-base-system: -apple-system, "BlinkMacSystemFont", "Segoe UI", -- "Helvetica Neue", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", -- "Segoe UI Symbol"; -+ --pst-font-family-base-system: -apple-system, "BlinkMacSystemFont", -+ "Segoe UI", "Helvetica Neue", "Arial", sans-serif, "Apple Color Emoji", -+ "Segoe UI Emoji", "Segoe UI Symbol"; - --pst-font-family-monospace-system: "SFMono-Regular", "Menlo", "Consolas", - "Monaco", "Liberation Mono", "Lucida Console", monospace; - --pst-font-family-base: var(--pst-font-family-base-system); - -From 402b8613ffbf5248471b94437592f05b98257592 Mon Sep 17 00:00:00 2001 -From: Daniel McCloy -Date: Wed, 8 Jan 2025 10:54:28 -0600 -Subject: [PATCH 3/6] update caniuse-lite - ---- - package-lock.json | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/package-lock.json b/package-lock.json -index fef417f7c..5688e1834 100644 ---- a/package-lock.json -+++ b/package-lock.json -@@ -709,9 +709,9 @@ - } - }, - "node_modules/caniuse-lite": { -- "version": "1.0.30001609", -- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001609.tgz", -- "integrity": "sha512-JFPQs34lHKx1B5t1EpQpWH4c+29zIyn/haGsbpfq3suuV9v56enjFt23zqijxGTMwy1p/4H2tjnQMY+p1WoAyA==", -+ "version": "1.0.30001690", -+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001690.tgz", -+ "integrity": "sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==", - "dev": true, - "funding": [ - { -@@ -726,7 +726,8 @@ - "type": "github", - "url": "https://github.com/sponsors/ai" - } -- ] -+ ], -+ "license": "CC-BY-4.0" - }, - "node_modules/chalk": { - "version": "4.1.2", - -From f43024ded15bf55ea61e2bbaec8612d8b8631645 Mon Sep 17 00:00:00 2001 -From: Daniel McCloy -Date: Wed, 8 Jan 2025 11:01:22 -0600 -Subject: [PATCH 4/6] improve test - ---- - tests/test_build.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/test_build.py b/tests/test_build.py -index 7a005fa4a..170a29a83 100644 ---- a/tests/test_build.py -+++ b/tests/test_build.py -@@ -891,8 +891,8 @@ def test_pygments_fallbacks(sphinx_build_factory, style_names, keyword_colors) - - # see if our warnings worked - if style_names[0].startswith("fake"): - assert len(warnings) == 2 -- re.match(r"Color theme fake_foo.*tango", warnings[0]) -- re.match(r"Color theme fake_bar.*monokai", warnings[1]) -+ assert re.search(r"Highlighting style fake_foo.*tango", warnings[0]) -+ assert re.search(r"Highlighting style fake_bar.*monokai", warnings[1]) - else: - assert warnings == [""] - # test that the rendered HTML has highlighting spans - -From 513729664b1c2c51c68d2c6086a9f05cea1976c1 Mon Sep 17 00:00:00 2001 -From: Daniel McCloy -Date: Wed, 8 Jan 2025 11:23:46 -0600 -Subject: [PATCH 5/6] show info why test fails - ---- - tests/test_build.py | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -diff --git a/tests/test_build.py b/tests/test_build.py -index 170a29a83..0d2f861f7 100644 ---- a/tests/test_build.py -+++ b/tests/test_build.py -@@ -907,11 +907,9 @@ def test_pygments_fallbacks(sphinx_build_factory, style_names, keyword_colors) - - lines = css_file.readlines() - assert lines[0].startswith('html[data-theme="light"]') - for mode, color in dict(zip(["light", "dark"], keyword_colors)).items(): -- regexp = re.compile( -- r'html\[data-theme="' + mode + r'"\].*\.k .*color: ' + color -- ) -- matches = [regexp.match(line) is not None for line in lines] -- assert sum(matches) == 1 -+ regexp = re.compile(rf'html\[data-theme="{mode}"\].*\.k .*color:\s?{color}') -+ matches = [regexp.search(line) is not None for line in lines] -+ assert sum(matches) == 1, f"expected {mode}: {color}\n" + "\n".join(lines) - - - def test_deprecated_build_html(sphinx_build_factory, file_regression) -> None: - -From d73887b5c73e805b28d8c7cd865c8f8e58a85745 Mon Sep 17 00:00:00 2001 -From: Daniel McCloy -Date: Wed, 8 Jan 2025 11:28:43 -0600 -Subject: [PATCH 6/6] ignorecase - ---- - tests/test_build.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tests/test_build.py b/tests/test_build.py -index 0d2f861f7..8444da330 100644 ---- a/tests/test_build.py -+++ b/tests/test_build.py -@@ -907,7 +907,10 @@ def test_pygments_fallbacks(sphinx_build_factory, style_names, keyword_colors) - - lines = css_file.readlines() - assert lines[0].startswith('html[data-theme="light"]') - for mode, color in dict(zip(["light", "dark"], keyword_colors)).items(): -- regexp = re.compile(rf'html\[data-theme="{mode}"\].*\.k .*color:\s?{color}') -+ regexp = re.compile( -+ r'html\[data-theme="' + mode + r'"\].*\.k .*color:\s?' + color, -+ re.IGNORECASE, -+ ) - matches = [regexp.search(line) is not None for line in lines] - assert sum(matches) == 1, f"expected {mode}: {color}\n" + "\n".join(lines) - diff --git a/pydata-sphinx-theme-0.16.1-vendor-licenses.txt b/pydata-sphinx-theme-0.17.0-vendor-licenses.txt similarity index 71% rename from pydata-sphinx-theme-0.16.1-vendor-licenses.txt rename to pydata-sphinx-theme-0.17.0-vendor-licenses.txt index fa65162..37cb4cd 100644 --- a/pydata-sphinx-theme-0.16.1-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.17.0-vendor-licenses.txt @@ -1,17 +1,18 @@ yarn run v1.22.22 $ /tmp/node_modules/.bin/license-checker --summary -├─ MIT: 267 -├─ ISC: 32 -├─ BSD-2-Clause: 15 +├─ MIT: 262 +├─ ISC: 31 +├─ BSD-2-Clause: 19 ├─ BSD-3-Clause: 7 ├─ Apache-2.0: 6 -├─ CC0-1.0: 2 +├─ CC0-1.0: 3 ├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1 ├─ MPL-2.0: 1 ├─ CC-BY-4.0: 1 ├─ (WTFPL OR MIT): 1 +├─ BlueOak-1.0.0: 1 ├─ CC-BY-3.0: 1 ├─ (MIT AND CC-BY-3.0): 1 └─ 0BSD: 1 -Done in 0.61s. +Done in 0.59s. diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 3a66695..290bcb1 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -6,7 +6,7 @@ %global giturl https://github.com/pydata/pydata-sphinx-theme Name: python-pydata-sphinx-theme -Version: 0.16.1 +Version: 0.17.0 Release: %autorelease Summary: Bootstrap-based Sphinx theme from the PyData community @@ -20,9 +20,6 @@ Source0: %{giturl}/archive/v%{version}/pydata-sphinx-theme-%{version}.tar Source1: pydata-sphinx-theme-%{version}-vendor.tar.xz Source2: pydata-sphinx-theme-%{version}-vendor-licenses.txt -# Compatibility with Pygments 2.19+ -Patch: https://github.com/pydata/pydata-sphinx-theme/pull/2091.patch - %if %{with docs} # Generating image files requires network access. Instead, we scrape these from # https://pydata-sphinx-theme.readthedocs.io/en/latest/_images. See @@ -77,7 +74,7 @@ See https://pydata-sphinx-theme.readthedocs.io/ for documentation.} Summary: Bootstrap-based Sphinx theme from the PyData community Requires: fontawesome-fonts-all Requires: fontawesome-fonts-web -Provides: bundled(js-bootstrap) = 5.3.7 +Provides: bundled(js-bootstrap) = 5.3.8 %if %{without docs} Obsoletes: %{name}-doc < 0.13.0-1 @@ -96,8 +93,6 @@ Documentation for pydata-sphinx-theme. %prep %autosetup -n pydata-sphinx-theme-%{version} -p1 -a1 - -%conf cp -p %{SOURCE2} . %if %{with docs} @@ -111,6 +106,9 @@ sed -i 's,https://pydata-sphinx-theme\.readthedocs\.io/en/latest/,,' docs/conf.p %global nodejs_version %(%{_bindir}/node -v | sed s/v//) sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml +# Skip the playwright tests, since playwright is not available in Fedora +sed -i '/pytest-playwright/d' pyproject.toml + %generate_buildrequires -p # The Fedora sphinx package does not provide sphinx[test] sed -i 's/\(sphinx\)\[test\]/\1/' pyproject.toml diff --git a/sources b/sources index 9561b12..e52ec73 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pydata-sphinx-theme-0.16.1.tar.gz) = a72d5be0dfdd11ffac8ed60521121053343869234b7fc1a5d2ac3b5a78cc3b00afdb7875608bd7cdb455d1bfa92dfdffcf541310aed211f6eb49a6ce29f2c045 -SHA512 (pydata-sphinx-theme-0.16.1-vendor.tar.xz) = 601ccbd08a688fbc46635e72c05e4ce134286b0f4a6ab45e8cb8ccdc3bc1f407dc0e12508343c4eb240e9d0f8adb25b4734f2f472a4036fddc29eb63130bd4a7 +SHA512 (pydata-sphinx-theme-0.17.0.tar.gz) = 33c4f086d4de93c6eb61e22d9dbee1cad883d0d3e823f0c20a288480f075ea4a40f4ce1bef233dfb0101d2a9d84f03eca3882cc7bbdfc250f1fd3977caf6f7ea +SHA512 (pydata-sphinx-theme-0.17.0-vendor.tar.xz) = 3c1de484b9562d25125e3b1540a0769894ecb16d63e5077f98d15c3546ffc2da155cd09ef41505ac009df57e008493ec4e03cb3b612c5f385a6cd356e0c45d43 From 45f86b08f01d2a6c9ef4a9a72ba3cd315c23f868 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 21 Apr 2026 08:27:21 -0600 Subject: [PATCH 13/23] Version 0.17.1 - Do not run coverage tools in an RPM build --- ...ses.txt => pydata-sphinx-theme-0.17.1-vendor-licenses.txt | 2 +- python-pydata-sphinx-theme.spec | 5 ++++- sources | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) rename pydata-sphinx-theme-0.17.0-vendor-licenses.txt => pydata-sphinx-theme-0.17.1-vendor-licenses.txt (96%) diff --git a/pydata-sphinx-theme-0.17.0-vendor-licenses.txt b/pydata-sphinx-theme-0.17.1-vendor-licenses.txt similarity index 96% rename from pydata-sphinx-theme-0.17.0-vendor-licenses.txt rename to pydata-sphinx-theme-0.17.1-vendor-licenses.txt index 37cb4cd..78b81eb 100644 --- a/pydata-sphinx-theme-0.17.0-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.17.1-vendor-licenses.txt @@ -15,4 +15,4 @@ $ /tmp/node_modules/.bin/license-checker --summary ├─ (MIT AND CC-BY-3.0): 1 └─ 0BSD: 1 -Done in 0.59s. +Done in 0.58s. diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 290bcb1..63113f8 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -6,7 +6,7 @@ %global giturl https://github.com/pydata/pydata-sphinx-theme Name: python-pydata-sphinx-theme -Version: 0.17.0 +Version: 0.17.1 Release: %autorelease Summary: Bootstrap-based Sphinx theme from the PyData community @@ -109,6 +109,9 @@ sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml # Skip the playwright tests, since playwright is not available in Fedora sed -i '/pytest-playwright/d' pyproject.toml +# Do not run coverage tools in an RPM build +sed -i '/pytest-cov/d' pyproject.toml + %generate_buildrequires -p # The Fedora sphinx package does not provide sphinx[test] sed -i 's/\(sphinx\)\[test\]/\1/' pyproject.toml diff --git a/sources b/sources index e52ec73..3014ef8 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pydata-sphinx-theme-0.17.0.tar.gz) = 33c4f086d4de93c6eb61e22d9dbee1cad883d0d3e823f0c20a288480f075ea4a40f4ce1bef233dfb0101d2a9d84f03eca3882cc7bbdfc250f1fd3977caf6f7ea -SHA512 (pydata-sphinx-theme-0.17.0-vendor.tar.xz) = 3c1de484b9562d25125e3b1540a0769894ecb16d63e5077f98d15c3546ffc2da155cd09ef41505ac009df57e008493ec4e03cb3b612c5f385a6cd356e0c45d43 +SHA512 (pydata-sphinx-theme-0.17.1.tar.gz) = 883a3e11a200ecb05f7bd4a9cb528168963a161a3c2c263534359e94abc982de1ea249731a5a63a467bc99f6b0e3bb7de59d093b8c9a67c83377a7d866899fc6 +SHA512 (pydata-sphinx-theme-0.17.1-vendor.tar.xz) = 6606572c77329d228bc4b845fd7349d72a217f522d83546d8163f51d4b63b0089819493b0fee1706ee6ec2c901efa5e0edce030d8a5d22fbafd78b9057c8e665 From 583b2125b5e08c04a06ad15574c9b2bbba333645 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 20 May 2026 09:36:59 -0600 Subject: [PATCH 14/23] Version 0.18.0 --- ...ydata-sphinx-theme-0.18.0-vendor-licenses.txt | 14 ++++++++------ python-pydata-sphinx-theme-fontawesome.patch | 16 ++++------------ python-pydata-sphinx-theme.spec | 11 ++++------- sources | 4 ++-- 4 files changed, 18 insertions(+), 27 deletions(-) rename pydata-sphinx-theme-0.17.1-vendor-licenses.txt => pydata-sphinx-theme-0.18.0-vendor-licenses.txt (66%) diff --git a/pydata-sphinx-theme-0.17.1-vendor-licenses.txt b/pydata-sphinx-theme-0.18.0-vendor-licenses.txt similarity index 66% rename from pydata-sphinx-theme-0.17.1-vendor-licenses.txt rename to pydata-sphinx-theme-0.18.0-vendor-licenses.txt index 78b81eb..0d4c7d2 100644 --- a/pydata-sphinx-theme-0.17.1-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.18.0-vendor-licenses.txt @@ -1,12 +1,14 @@ yarn run v1.22.22 $ /tmp/node_modules/.bin/license-checker --summary -├─ MIT: 262 -├─ ISC: 31 +├─ MIT: 346 +├─ ISC: 38 ├─ BSD-2-Clause: 19 -├─ BSD-3-Clause: 7 -├─ Apache-2.0: 6 -├─ CC0-1.0: 3 +├─ BSD-3-Clause: 8 +├─ Apache-2.0: 7 +├─ CC0-1.0: 4 +├─ MIT-0: 2 ├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1 +├─ Python-2.0: 1 ├─ MPL-2.0: 1 ├─ CC-BY-4.0: 1 ├─ (WTFPL OR MIT): 1 @@ -15,4 +17,4 @@ $ /tmp/node_modules/.bin/license-checker --summary ├─ (MIT AND CC-BY-3.0): 1 └─ 0BSD: 1 -Done in 0.58s. +Done in 0.68s. diff --git a/python-pydata-sphinx-theme-fontawesome.patch b/python-pydata-sphinx-theme-fontawesome.patch index 5eda863..0387abf 100644 --- a/python-pydata-sphinx-theme-fontawesome.patch +++ b/python-pydata-sphinx-theme-fontawesome.patch @@ -1,13 +1,13 @@ ---- pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/scripts/fontawesome.js.orig 2024-12-17 03:38:01.000000000 -0700 -+++ pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/scripts/fontawesome.js 2024-12-17 09:09:44.347458128 -0700 +--- pydata-sphinx-theme-0.18.0/src/pydata_sphinx_theme/assets/scripts/fontawesome.js.orig 2026-05-20 01:34:51.000000000 -0600 ++++ pydata-sphinx-theme-0.18.0/src/pydata_sphinx_theme/assets/scripts/fontawesome.js 2026-05-20 09:11:54.447608563 -0600 @@ -1,4 +1,4 @@ // TODO: @trallard might end up moving this to the main JS file // Define the custom behavior of the page -import "@fortawesome/fontawesome-free/js/all.min.js"; +import "/usr/share/fontawesome/js/all.min.js"; ---- pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss.orig 2024-12-17 03:38:01.000000000 -0700 -+++ pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss 2024-12-17 09:10:32.401619489 -0700 +--- pydata-sphinx-theme-0.18.0/src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss.orig 2026-05-20 01:34:51.000000000 -0600 ++++ pydata-sphinx-theme-0.18.0/src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss 2026-05-20 09:11:54.447949228 -0600 @@ -7,10 +7,10 @@ @import "~bootstrap/scss/bootstrap"; @@ -23,11 +23,3 @@ // Variables @import "variables/layout"; ---- pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss.orig 2024-12-17 03:38:01.000000000 -0700 -+++ pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss 2024-12-17 09:10:57.682173950 -0700 -@@ -44,4 +44,4 @@ html { - } - - $line-height-body: 1.65; --$fa-font-path: "vendor/fontawesome/webfonts/"; -+$fa-font-path: "/usr/share/fontawesome/webfonts/"; diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 63113f8..604481c 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -6,7 +6,7 @@ %global giturl https://github.com/pydata/pydata-sphinx-theme Name: python-pydata-sphinx-theme -Version: 0.17.1 +Version: 0.18.0 Release: %autorelease Summary: Bootstrap-based Sphinx theme from the PyData community @@ -44,7 +44,7 @@ BuildRequires: /usr/bin/node BuildRequires: /usr/bin/npm BuildRequires: yarnpkg -Provides: bundled(js-bootstrap) = 5.3.8 +Provides: bundled(npm(bootstrap)) = 5.3.8 %if %{without docs} Obsoletes: %{name}-doc < 0.13.0-1 @@ -107,16 +107,13 @@ sed -i 's,https://pydata-sphinx-theme\.readthedocs\.io/en/latest/,,' docs/conf.p sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml # Skip the playwright tests, since playwright is not available in Fedora -sed -i '/pytest-playwright/d' pyproject.toml +%pyproject_patch_dependency pytest-playwright:ignore # Do not run coverage tools in an RPM build -sed -i '/pytest-cov/d' pyproject.toml +%pyproject_patch_dependency pytest-cov:ignore -%generate_buildrequires -p # The Fedora sphinx package does not provide sphinx[test] sed -i 's/\(sphinx\)\[test\]/\1/' pyproject.toml -# Do not run code coverage tools -sed -i 's/, "pytest-cov"//' pyproject.toml %build -p export YARN_CACHE_FOLDER="$PWD/.package-cache" diff --git a/sources b/sources index 3014ef8..a46aa8f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pydata-sphinx-theme-0.17.1.tar.gz) = 883a3e11a200ecb05f7bd4a9cb528168963a161a3c2c263534359e94abc982de1ea249731a5a63a467bc99f6b0e3bb7de59d093b8c9a67c83377a7d866899fc6 -SHA512 (pydata-sphinx-theme-0.17.1-vendor.tar.xz) = 6606572c77329d228bc4b845fd7349d72a217f522d83546d8163f51d4b63b0089819493b0fee1706ee6ec2c901efa5e0edce030d8a5d22fbafd78b9057c8e665 +SHA512 (pydata-sphinx-theme-0.18.0.tar.gz) = ecd6d9e138007ca7c42807d3fad9d275abc1531f3360beeae18d8b960825a2704de1c136c6bc49e74f82a7bf29094fcee5c43da551d6b99831b4f8e82156dcfd +SHA512 (pydata-sphinx-theme-0.18.0-vendor.tar.xz) = 925d7589105d314176ae051e8342b2d65b63d1a941cde3a83700118d5823843e9a0c15fbc55da1dc2f0db5f9c6805af74702c77d3ef932fdcb679d2849adcafa From dcc6b4d28f95fce8612f71a34c8c655e9f51608e Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 27 May 2026 11:35:57 -0600 Subject: [PATCH 15/23] Update FontAwesome from 6.x to 7.x --- python-pydata-sphinx-theme.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 604481c..3e2e077 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -130,9 +130,9 @@ rm %{themedir}/.gitignore sed -i 's,pydata_sphinx_theme/\.\./\.\./\.\./\.\./\.\.,,g' \ %{themedir}/scripts/fontawesome.js.map \ %{themedir}/styles/pydata-sphinx-theme.css.map -sed -e 's,url.*fa-solid-900\.woff2.*format("truetype"),local("fontawesome-free-fonts/Font Awesome 6 Free-Solid-900") format("opentype"),g' \ - -e 's,url.*fa-regular-400\.woff2.*format("truetype"),local("fontawesome-free-fonts/Font Awesome 6 Free-Regular-400") format("opentype"),g' \ - -e 's,url.*fa-brands-400\.woff2.*format("truetype"),local("fontawesome-brands-fonts/Font Awesome 6 Brands-Regular-400") format("opentype"),g' \ +sed -e 's,url.*fa-solid-900\.woff2.*format("truetype"),local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ + -e 's,url.*fa-regular-400\.woff2.*format("truetype"),local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ + -e 's,url.*fa-brands-400\.woff2.*format("truetype"),local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ -i %{themedir}/styles/pydata-sphinx-theme.css sed -i '/vendor/d' %{pyproject_files} rm -fr %{themedir}/vendor From 9c682e85b603ad1f5ea4d6dc243409ca233b0510 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 4 Jun 2026 22:10:04 +0200 Subject: [PATCH 16/23] Rebuilt for Python 3.15 From a34cf31b79d359555b77da4b09722df7b62e1778 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 15 Jun 2026 11:59:19 -0600 Subject: [PATCH 17/23] Version 0.19.0 --- ...nses.txt => pydata-sphinx-theme-0.19.0-vendor-licenses.txt | 2 +- python-pydata-sphinx-theme.spec | 2 +- sources | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename pydata-sphinx-theme-0.18.0-vendor-licenses.txt => pydata-sphinx-theme-0.19.0-vendor-licenses.txt (96%) diff --git a/pydata-sphinx-theme-0.18.0-vendor-licenses.txt b/pydata-sphinx-theme-0.19.0-vendor-licenses.txt similarity index 96% rename from pydata-sphinx-theme-0.18.0-vendor-licenses.txt rename to pydata-sphinx-theme-0.19.0-vendor-licenses.txt index 0d4c7d2..288d358 100644 --- a/pydata-sphinx-theme-0.18.0-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.19.0-vendor-licenses.txt @@ -17,4 +17,4 @@ $ /tmp/node_modules/.bin/license-checker --summary ├─ (MIT AND CC-BY-3.0): 1 └─ 0BSD: 1 -Done in 0.68s. +Done in 0.65s. diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 3e2e077..e732504 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -6,7 +6,7 @@ %global giturl https://github.com/pydata/pydata-sphinx-theme Name: python-pydata-sphinx-theme -Version: 0.18.0 +Version: 0.19.0 Release: %autorelease Summary: Bootstrap-based Sphinx theme from the PyData community diff --git a/sources b/sources index a46aa8f..c395336 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pydata-sphinx-theme-0.18.0.tar.gz) = ecd6d9e138007ca7c42807d3fad9d275abc1531f3360beeae18d8b960825a2704de1c136c6bc49e74f82a7bf29094fcee5c43da551d6b99831b4f8e82156dcfd -SHA512 (pydata-sphinx-theme-0.18.0-vendor.tar.xz) = 925d7589105d314176ae051e8342b2d65b63d1a941cde3a83700118d5823843e9a0c15fbc55da1dc2f0db5f9c6805af74702c77d3ef932fdcb679d2849adcafa +SHA512 (pydata-sphinx-theme-0.19.0.tar.gz) = 04cd626facb2f83a4518eb9279654d16d3e8e255d6037571a915047a680ff1c710402a97afc884a1cc73ba2db97673d342066aa11f3580c70055b5cff6ecc942 +SHA512 (pydata-sphinx-theme-0.19.0-vendor.tar.xz) = 773da54588d6e0ce29fd52ff9e4316c1786977c3846c8d574f43c197f4a2ea690c5bf12b22a756c5640750a5fc1a37b694903347f9396f7f0163daf073e718c3 From c5bda8d06b773c56031a3f7477b710471c30212c Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 10 Jul 2026 14:48:01 -0600 Subject: [PATCH 18/23] Version 0.20.0 - Work harder to unbundle the FontAwesome fonts --- ...ta-sphinx-theme-0.20.0-vendor-licenses.txt | 6 +++--- python-pydata-sphinx-theme.spec | 21 ++++++++++++------- sources | 4 ++-- 3 files changed, 19 insertions(+), 12 deletions(-) rename pydata-sphinx-theme-0.19.0-vendor-licenses.txt => pydata-sphinx-theme-0.20.0-vendor-licenses.txt (87%) diff --git a/pydata-sphinx-theme-0.19.0-vendor-licenses.txt b/pydata-sphinx-theme-0.20.0-vendor-licenses.txt similarity index 87% rename from pydata-sphinx-theme-0.19.0-vendor-licenses.txt rename to pydata-sphinx-theme-0.20.0-vendor-licenses.txt index 288d358..0eb637c 100644 --- a/pydata-sphinx-theme-0.19.0-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.20.0-vendor-licenses.txt @@ -1,8 +1,8 @@ yarn run v1.22.22 $ /tmp/node_modules/.bin/license-checker --summary -├─ MIT: 346 +├─ MIT: 347 ├─ ISC: 38 -├─ BSD-2-Clause: 19 +├─ BSD-2-Clause: 18 ├─ BSD-3-Clause: 8 ├─ Apache-2.0: 7 ├─ CC0-1.0: 4 @@ -17,4 +17,4 @@ $ /tmp/node_modules/.bin/license-checker --summary ├─ (MIT AND CC-BY-3.0): 1 └─ 0BSD: 1 -Done in 0.65s. +Done in 0.66s. diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index e732504..74df15f 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -6,7 +6,7 @@ %global giturl https://github.com/pydata/pydata-sphinx-theme Name: python-pydata-sphinx-theme -Version: 0.19.0 +Version: 0.20.0 Release: %autorelease Summary: Bootstrap-based Sphinx theme from the PyData community @@ -127,12 +127,19 @@ sed -i '/\.gitignore/d' %{pyproject_files} rm %{themedir}/.gitignore # More work is required to fully unbundle the fontawesome fonts -sed -i 's,pydata_sphinx_theme/\.\./\.\./\.\./\.\./\.\.,,g' \ - %{themedir}/scripts/fontawesome.js.map \ - %{themedir}/styles/pydata-sphinx-theme.css.map -sed -e 's,url.*fa-solid-900\.woff2.*format("truetype"),local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ - -e 's,url.*fa-regular-400\.woff2.*format("truetype"),local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ - -e 's,url.*fa-brands-400\.woff2.*format("truetype"),local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ +sed -i 's,pydata_sphinx_theme/\.\.,,g' \ + %{themedir}/scripts/fontawesome.js.map +sed -e 's,pydata_sphinx_theme/\.\./\.\./\.\./\.\./\.\.,,g' \ + -e 's,url(\\"\.\./webfonts/fa-solid-900\.woff2\\"),local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ + -e 's,url(\\"\.\./webfonts/fa-regular-400\.woff2\\"),local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ + -e 's,url(\\"\.\./webfonts/fa-brands-400\.woff2\\"),local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ + -e "s,url('#{v\.\$font-path}/fa-solid-900\.woff2')"',local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ + -e "s,url('#{v\.\$font-path}/fa-regular-400\.woff2')"',local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ + -e "s,url('#{v\.\$font-path}/fa-brands-400\.woff2')"',local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ + -i %{themedir}/styles/pydata-sphinx-theme.css.map +sed -e 's,url([.-/[:alnum:]]*fa-solid-900\.woff2),local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ + -e 's,url([.-/[:alnum:]]*fa-regular-400\.woff2),local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ + -e 's,url([.-/[:alnum:]]*fa-brands-400\.woff2),local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ -i %{themedir}/styles/pydata-sphinx-theme.css sed -i '/vendor/d' %{pyproject_files} rm -fr %{themedir}/vendor diff --git a/sources b/sources index c395336..25b0bdf 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pydata-sphinx-theme-0.19.0.tar.gz) = 04cd626facb2f83a4518eb9279654d16d3e8e255d6037571a915047a680ff1c710402a97afc884a1cc73ba2db97673d342066aa11f3580c70055b5cff6ecc942 -SHA512 (pydata-sphinx-theme-0.19.0-vendor.tar.xz) = 773da54588d6e0ce29fd52ff9e4316c1786977c3846c8d574f43c197f4a2ea690c5bf12b22a756c5640750a5fc1a37b694903347f9396f7f0163daf073e718c3 +SHA512 (pydata-sphinx-theme-0.20.0.tar.gz) = 1f0f9a0aee7901345e54db4715c07a16d8507819c14093fefa18a2c5b1e2685fa5c907b37361045d7302221e82f04fe0e1e4a05f182fcc2c8c89c5adbfd45351 +SHA512 (pydata-sphinx-theme-0.20.0-vendor.tar.xz) = 0b04b310cb718a441366eb9272ad4709af7add72709c4e15cf32569a7c354549a4736c4eb42ec25e0b60a50bf71b975c34e9dc5cf5f37e22ad19d4464d9abbac From 872c3f01899bf71872fba5540975edfbdb42760b Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 14 Jul 2026 16:57:07 -0600 Subject: [PATCH 19/23] Correct paths to FontAwesome fonts --- python-pydata-sphinx-theme.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 74df15f..eba09e4 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -130,16 +130,16 @@ rm %{themedir}/.gitignore sed -i 's,pydata_sphinx_theme/\.\.,,g' \ %{themedir}/scripts/fontawesome.js.map sed -e 's,pydata_sphinx_theme/\.\./\.\./\.\./\.\./\.\.,,g' \ - -e 's,url(\\"\.\./webfonts/fa-solid-900\.woff2\\"),local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ - -e 's,url(\\"\.\./webfonts/fa-regular-400\.woff2\\"),local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ - -e 's,url(\\"\.\./webfonts/fa-brands-400\.woff2\\"),local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ - -e "s,url('#{v\.\$font-path}/fa-solid-900\.woff2')"',local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ - -e "s,url('#{v\.\$font-path}/fa-regular-400\.woff2')"',local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ - -e "s,url('#{v\.\$font-path}/fa-brands-400\.woff2')"',local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ + -e 's,url(\\"\.\./webfonts/fa-solid-900\.woff2\\"),local("fontawesome-7-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ + -e 's,url(\\"\.\./webfonts/fa-regular-400\.woff2\\"),local("fontawesome-7-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ + -e 's,url(\\"\.\./webfonts/fa-brands-400\.woff2\\"),local("fontawesome-7-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ + -e "s,url('#{v\.\$font-path}/fa-solid-900\.woff2')"',local("fontawesome-7-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ + -e "s,url('#{v\.\$font-path}/fa-regular-400\.woff2')"',local("fontawesome-7-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ + -e "s,url('#{v\.\$font-path}/fa-brands-400\.woff2')"',local("fontawesome-7-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ -i %{themedir}/styles/pydata-sphinx-theme.css.map -sed -e 's,url([.-/[:alnum:]]*fa-solid-900\.woff2),local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ - -e 's,url([.-/[:alnum:]]*fa-regular-400\.woff2),local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ - -e 's,url([.-/[:alnum:]]*fa-brands-400\.woff2),local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ +sed -e 's,url([.-/[:alnum:]]*fa-solid-900\.woff2),local("fontawesome-7-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ + -e 's,url([.-/[:alnum:]]*fa-regular-400\.woff2),local("fontawesome-7-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ + -e 's,url([.-/[:alnum:]]*fa-brands-400\.woff2),local("fontawesome-7-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ -i %{themedir}/styles/pydata-sphinx-theme.css sed -i '/vendor/d' %{pyproject_files} rm -fr %{themedir}/vendor From 19a29bfb70e485d895e91d9a8aefb5f515f7fa58 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jul 2026 21:01:51 +0000 Subject: [PATCH 20/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From c6c3c33fb97388d1d578f7b340475b9eb48442b5 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 28 Jul 2026 10:53:47 -0600 Subject: [PATCH 21/23] Yet another attempt at unbundling the fonts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Thanks to Corentin Noël for this approach --- python-pydata-sphinx-theme.spec | 45 +++++++++++++++------------------ 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index eba09e4..8508443 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -26,8 +26,6 @@ Source2: pydata-sphinx-theme-%{version}-vendor-licenses.txt # docs/_static/gallery.yaml for a list of images to download. Source3: pydata-gallery.tar.xz %endif -# Fedora-only patch: unbundle the fontawesome fonts -Patch: %{name}-fontawesome.patch BuildArch: noarch BuildSystem: pyproject @@ -35,8 +33,6 @@ BuildOption(install): -L pydata_sphinx_theme BuildOption(generate_buildrequires): -x test%{?with_docs:,doc} BuildRequires: babel -BuildRequires: fontawesome-fonts-all -BuildRequires: fontawesome-fonts-web BuildRequires: gcc-c++ BuildRequires: make BuildRequires: nodejs-devel @@ -44,8 +40,6 @@ BuildRequires: /usr/bin/node BuildRequires: /usr/bin/npm BuildRequires: yarnpkg -Provides: bundled(npm(bootstrap)) = 5.3.8 - %if %{without docs} Obsoletes: %{name}-doc < 0.13.0-1 %endif @@ -74,7 +68,8 @@ See https://pydata-sphinx-theme.readthedocs.io/ for documentation.} Summary: Bootstrap-based Sphinx theme from the PyData community Requires: fontawesome-fonts-all Requires: fontawesome-fonts-web -Provides: bundled(js-bootstrap) = 5.3.8 + +Provides: bundled(npm(bootstrap)) = 5.3.8 %if %{without docs} Obsoletes: %{name}-doc < 0.13.0-1 @@ -126,23 +121,25 @@ nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv sed -i '/\.gitignore/d' %{pyproject_files} rm %{themedir}/.gitignore -# More work is required to fully unbundle the fontawesome fonts -sed -i 's,pydata_sphinx_theme/\.\.,,g' \ - %{themedir}/scripts/fontawesome.js.map -sed -e 's,pydata_sphinx_theme/\.\./\.\./\.\./\.\./\.\.,,g' \ - -e 's,url(\\"\.\./webfonts/fa-solid-900\.woff2\\"),local("fontawesome-7-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ - -e 's,url(\\"\.\./webfonts/fa-regular-400\.woff2\\"),local("fontawesome-7-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ - -e 's,url(\\"\.\./webfonts/fa-brands-400\.woff2\\"),local("fontawesome-7-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ - -e "s,url('#{v\.\$font-path}/fa-solid-900\.woff2')"',local("fontawesome-7-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ - -e "s,url('#{v\.\$font-path}/fa-regular-400\.woff2')"',local("fontawesome-7-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ - -e "s,url('#{v\.\$font-path}/fa-brands-400\.woff2')"',local("fontawesome-7-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ - -i %{themedir}/styles/pydata-sphinx-theme.css.map -sed -e 's,url([.-/[:alnum:]]*fa-solid-900\.woff2),local("fontawesome-7-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \ - -e 's,url([.-/[:alnum:]]*fa-regular-400\.woff2),local("fontawesome-7-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \ - -e 's,url([.-/[:alnum:]]*fa-brands-400\.woff2),local("fontawesome-7-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \ - -i %{themedir}/styles/pydata-sphinx-theme.css -sed -i '/vendor/d' %{pyproject_files} -rm -fr %{themedir}/vendor +# Clean up build-host paths leaking into the source maps +sed -i 's|pydata_sphinx_theme/\.\.||g' %{themedir}/scripts/fontawesome.js.map +sed -i 's|pydata_sphinx_theme/\.\./\.\./\.\./\.\./\.\.||g' \ + %{themedir}/styles/pydata-sphinx-theme.css.map + +# Unbundle the FontAwesome fonts: webpack already vendors the woff2 files +# referenced by the (Fedora-patched) SCSS/JS imports into +# vendor/fontawesome/webfonts/, copying them from the system +# fontawesome-fonts-web package. Replace those copies with symlinks back to +# that package instead of shipping duplicate binaries. The CSS/JS keep +# referencing them with the same relative url()/path, so nothing else needs to +# change; Sphinx dereferences the symlinks (real files, real bytes) when it +# copies the static assets into a project's own build output, so the generated +# documentation stays fully self-contained. +for font in fa-brands-400.woff2 fa-regular-400.woff2 fa-solid-900.woff2; do + rm -f %{themedir}/vendor/fontawesome/webfonts/$font + ln -s %{_datadir}/fontawesome/webfonts/$font \ + %{themedir}/vendor/fontawesome/webfonts/$font +done %if %{with docs} # We need an installed tree before documentation building works properly From 629f036b478379b6329bf1efcd3d0f607f4610cb Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 28 Jul 2026 19:14:10 -0600 Subject: [PATCH 22/23] Remove the yarnpkg dependency --- prepare_vendor.sh | 16 ++++++++-------- pydata-sphinx-theme-0.20.0-vendor-licenses.txt | 7 ++----- python-pydata-sphinx-theme.spec | 4 +--- sources | 2 +- 4 files changed, 12 insertions(+), 17 deletions(-) diff --git a/prepare_vendor.sh b/prepare_vendor.sh index cd23056..39c7c2e 100755 --- a/prepare_vendor.sh +++ b/prepare_vendor.sh @@ -18,7 +18,6 @@ echo "PATH: $PKG_PATH" cleanup_tmpdir() { popd 2>/dev/null rm -rf $PKG_TMPDIR - rm -rf /tmp/yarn--* } trap cleanup_tmpdir SIGINT @@ -41,25 +40,26 @@ tar -xf $PKG_TARBALL -C $PKG_TMPDIR cd $PKG_PATH -export YARN_CACHE_FOLDER="$PWD/.package-cache" echo ">>>>>> Install npm modules" -yarn install --frozen-lockfile +export npm_config_cache="$PWD/.package-cache" +rm package-lock.json +npm install if [ $? -ne 0 ]; then - echo "ERROR: yarn install failed" + echo "ERROR: npm install failed" cleanup_and_exit 1 fi echo ">>>>>> Package vendor files" rm -f $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz -XZ_OPT="-9e -T$(nproc)" tar cJf $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz .package-cache +XZ_OPT="-9e -T$(nproc)" tar cJf $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz .package-cache node_modules if [ $? -ne 0 ]; then cleanup_and_exit 1 fi -yarn add license-checker -yarn license-checker --summary | sed "s#$PKG_PATH#/tmp/#g" > $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor-licenses.txt +npm add license-checker +node_modules/.bin/license-checker --summary | sed "s#$PKG_PATH#/tmp/#g" > $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor-licenses.txt cd - -rm -rf .package-cache node_modules +rm -rf .package-cache node_modules /tmp/node-compile-cache cleanup_and_exit 0 diff --git a/pydata-sphinx-theme-0.20.0-vendor-licenses.txt b/pydata-sphinx-theme-0.20.0-vendor-licenses.txt index 0eb637c..e1387c3 100644 --- a/pydata-sphinx-theme-0.20.0-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.20.0-vendor-licenses.txt @@ -1,11 +1,9 @@ -yarn run v1.22.22 -$ /tmp/node_modules/.bin/license-checker --summary -├─ MIT: 347 +├─ MIT: 345 ├─ ISC: 38 ├─ BSD-2-Clause: 18 ├─ BSD-3-Clause: 8 ├─ Apache-2.0: 7 -├─ CC0-1.0: 4 +├─ CC0-1.0: 3 ├─ MIT-0: 2 ├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1 ├─ Python-2.0: 1 @@ -17,4 +15,3 @@ $ /tmp/node_modules/.bin/license-checker --summary ├─ (MIT AND CC-BY-3.0): 1 └─ 0BSD: 1 -Done in 0.66s. diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 8508443..26c9847 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -38,7 +38,6 @@ BuildRequires: make BuildRequires: nodejs-devel BuildRequires: /usr/bin/node BuildRequires: /usr/bin/npm -BuildRequires: yarnpkg %if %{without docs} Obsoletes: %{name}-doc < 0.13.0-1 @@ -111,8 +110,7 @@ sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml sed -i 's/\(sphinx\)\[test\]/\1/' pyproject.toml %build -p -export YARN_CACHE_FOLDER="$PWD/.package-cache" -yarn install --offline +export npm_config_cache="$PWD/.package-cache" nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv %install -a diff --git a/sources b/sources index 25b0bdf..b0c9720 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (pydata-sphinx-theme-0.20.0.tar.gz) = 1f0f9a0aee7901345e54db4715c07a16d8507819c14093fefa18a2c5b1e2685fa5c907b37361045d7302221e82f04fe0e1e4a05f182fcc2c8c89c5adbfd45351 -SHA512 (pydata-sphinx-theme-0.20.0-vendor.tar.xz) = 0b04b310cb718a441366eb9272ad4709af7add72709c4e15cf32569a7c354549a4736c4eb42ec25e0b60a50bf71b975c34e9dc5cf5f37e22ad19d4464d9abbac +SHA512 (pydata-sphinx-theme-0.20.0-vendor.tar.xz) = 7c909b3ac1e70bdf5b4ddc5ef8cf6ad2adf4d64fba13b0d11efca3d510312cfc72b057881d178039ed755d176cd0ed35912616e174d121b8eea4ee2da72431d4 From fd83d2ad6e82a7d9ecb2c4f1bf898c0d07a8d1bd Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 25 Aug 2026 19:07:24 -0600 Subject: [PATCH 23/23] Version 0.21.0 --- ...nses.txt => pydata-sphinx-theme-0.21.0-vendor-licenses.txt | 2 +- python-pydata-sphinx-theme.spec | 2 +- sources | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename pydata-sphinx-theme-0.20.0-vendor-licenses.txt => pydata-sphinx-theme-0.21.0-vendor-licenses.txt (93%) diff --git a/pydata-sphinx-theme-0.20.0-vendor-licenses.txt b/pydata-sphinx-theme-0.21.0-vendor-licenses.txt similarity index 93% rename from pydata-sphinx-theme-0.20.0-vendor-licenses.txt rename to pydata-sphinx-theme-0.21.0-vendor-licenses.txt index e1387c3..44e2d9a 100644 --- a/pydata-sphinx-theme-0.20.0-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.21.0-vendor-licenses.txt @@ -1,6 +1,6 @@ ├─ MIT: 345 ├─ ISC: 38 -├─ BSD-2-Clause: 18 +├─ BSD-2-Clause: 19 ├─ BSD-3-Clause: 8 ├─ Apache-2.0: 7 ├─ CC0-1.0: 3 diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 26c9847..236a553 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -6,7 +6,7 @@ %global giturl https://github.com/pydata/pydata-sphinx-theme Name: python-pydata-sphinx-theme -Version: 0.20.0 +Version: 0.21.0 Release: %autorelease Summary: Bootstrap-based Sphinx theme from the PyData community diff --git a/sources b/sources index b0c9720..9356f45 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pydata-sphinx-theme-0.20.0.tar.gz) = 1f0f9a0aee7901345e54db4715c07a16d8507819c14093fefa18a2c5b1e2685fa5c907b37361045d7302221e82f04fe0e1e4a05f182fcc2c8c89c5adbfd45351 -SHA512 (pydata-sphinx-theme-0.20.0-vendor.tar.xz) = 7c909b3ac1e70bdf5b4ddc5ef8cf6ad2adf4d64fba13b0d11efca3d510312cfc72b057881d178039ed755d176cd0ed35912616e174d121b8eea4ee2da72431d4 +SHA512 (pydata-sphinx-theme-0.21.0.tar.gz) = 3dd6b67130f7426b4a7175ee73ceab0f228633ed52914031cb9f6ae45afd59da40efa665d98c9a967ed78885ec3c919a5c6d60d5d4766dfab4f673cdf8b3d2d5 +SHA512 (pydata-sphinx-theme-0.21.0-vendor.tar.xz) = 4be3365d486dfc3613620af61b1d360448bae06dd44dd56e9336990c2bfd88e7a3b330c9671969b483a09ce5bd9f47951a1d35145df5ae1a3d8c94c81ae45843