Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pydata-sphinx-theme for
openSUSE:Factory checked in at 2023-03-10 22:08:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydata-sphinx-theme (Old)
and /work/SRC/openSUSE:Factory/.python-pydata-sphinx-theme.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydata-sphinx-theme"
Fri Mar 10 22:08:27 2023 rev:3 rq:1070700 version:0.13.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pydata-sphinx-theme/python-pydata-sphinx-theme.changes
2021-11-09 23:55:12.203970754 +0100
+++
/work/SRC/openSUSE:Factory/.python-pydata-sphinx-theme.new.31432/python-pydata-sphinx-theme.changes
2023-03-10 22:08:51.365535722 +0100
@@ -1,0 +2,716 @@
+Thu Mar 9 10:10:17 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Vendor all required nodejs modules to be able to build without
+ network with the new sphinx-theme-builder
+- Update to version 0.13.1:
+ * RLS: v0.13.1
+ * fix: deprecate use of the favicon config parameter (#1225)
+ * MNT: more flexible static (#1221)
+ * Fix icon links requirement (#1231)
+ * DOCS: Fix `<p>` in docs for realz (#1224)
+ * docs: remove legacy footer customization (#1229)
+ * DOCS: Remove <p> from announcement sample text (#1223)
+ * bump: dev0
+
+-------------------------------------------------------------------
+Mon Mar 06 14:13:40 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Update to version 0.13.0:
+ * RLS: v0.13.0
+ * Make heading-style use the font-weight-heading value (#1213)
+ * dev0
+ * RLS: v0.13.0rc6
+ * FIX: Get theme options in a more robust way (#1214)
+ * Dev0
+ * RLS: 0.13.0rc5
+ * FIX: Remove icon links component when no icon links given (#1209)
+ * feat: Add full i18n support (#1192)
+ * Use CSS transform for skip link (#1206)
+ * Properly set configuration with app.builder.theme_options (#1199)
+ * Add conditional check for last-updated template (#1201)
+ * copy_logo_images: do not render dynamic Sphinx template content (#1204)
+ * Fix math scrollbars for realz (#1198)
+ * FIX: Make wide equations scroll (#1196)
+ * Dev0
+ * RLS: v0.13.0rc4
+ * Fix github gitlab brand (#1194)
+ * Refactor contributing docs to be more modular (#1173)
+ * DOCS: Add internationalization instructions (#1178)
+ * FIX: Some style bugs (#1191)
+ * dev0
+ * RLS: v0.13.0rc3
+ * Minor style improvements to ablog (#1185)
+ * maint: remove sphinx-panels support; remove deprecated config shims (#1188)
+ * Standardize template structure in more sections (#1184)
+ * maint: update GitLab URL tests (#1186)
+ * fix: correctly add DOM listeners (#1179)
+ * Properly handle default_mode=auto when writing logos (#1183)
+ * âEdit this pageâ â âEdit on GitHub/GitLab/Bitbucketâ (#1177)
+ * Fix article header CSS (#1171)
+ * DOCS: admonition customization (#1155)
+ * RLS: v0.13.0rc2 (#1170)
+ * Fix header vertical spacing and jupyter-sphinx cells (#1164)
+ * Degrade gracefully when JavaScript is disabled (#1146)
+ * ENH: Add breadcrumbs to article header (#1142)
+ * FIX: Narrow scope of style rule for GitHub & GitLab link shortening (#1167)
+ * remove emoji from landing page (#1151)
+ * MAINT: update pypi classifiers (#1153)
+ * FIX: Javascript incorrect check for variable (#1166)
+ * Add test for internationalization and translations (#1138)
+ * STYLE: lint the documentation with Doc8 (#1150)
+ * FIX: Flex behavior should shrink header items instead of brand (#1158)
+ * Copyright semicolon (#1160)
+ * DOC: Use only shield.io for badges in README (#1152)
+ * Build(deps): Bump http-cache-semantics from 4.1.0 to 4.1.1 (#1154)
+ * Bump to dev0
+ * 0.13.0rc1
+ * Standardize logo image behavior between Sphinx and this theme (#1132)
+ * ABlog: Updates for new HTML structure (#1118)
+ * MAINT: update prerelease workflow (#1140)
+ * MAINT: Refactor workflows to reduce test dependencies (#1136)
+ * MAINT: Improve font sizing (#1129)
+ * fix: use correct path for documentation logo
+ * fix: align sidebar sliding with the buttons (#1123)
+ * ENH/MAINT: avoid overwriting the HtmlTranslator (#1105)
+ * FIX: Use logo_url instead deprecated logo in theme (#1094) (#1097)
+ * Fix extra whitespace in sidebars (#1115)
+ * feat: support leaflet maps in the theme (#1112)
+ * Build(deps): Bump json5 from 1.0.1 to 1.0.2 (#1111)
+ * MAINT: sphinx 4.0 behaviours are no longer supported (#1107)
+ * FIX: Blog tag cloud overflow (#1093)
+ * FIX: Center search keyboard buttons (#1103)
+ * Fixing header height (#1102)
+ * drop prettify to avoid extra space in inline block (#1101)
+ * style dataframe included in a widget (#1089)
+ * add matplotlib to the list of warnings (#1091)
+ * Add Matplotlib to gallery.yaml (#1090)
+ * FIX: remove DS_Store file (#1084)
+ * make accessible-pygments a full dependency (#1083)
+ * FIX: Update precommit (#1080)
+ * Build(deps): Bump decode-uri-component from 0.2.0 to 0.2.2 (#1077)
+ * Improving ABlog style and configuration (#1075)
+ * Check for /-/ in GitLab url (closes #1073) (#1074)
+ * Reduce the left padding for ul and ol lists (#1069)
+ * MAINT: Lint html (#1021)
+ * MAINT: use the github repo of flake8 in pre-commit (#1070)
+ * MAINT: Drop jQuery and use Bootstrap 5 (#1029)
+ * ENH: Accessible code highlighting styles (#1064)
+ * Build(deps): Bump loader-utils from 1.4.1 to 1.4.2 (#1066)
+ * bump version
+ * RLS: v0.12.0
+ * FIX: remove double quotes in github actions (#1062)
+ * RLS: v0.12.0rc1 (#1057)
+ * FIX: display external links in toctree (#1055)
+ * STYLE: style admonitions (#1043)
+ * Build(deps): Bump loader-utils from 1.4.0 to 1.4.1 (#1053)
+ * FIX: use warning instead of errors for version json tests (#993)
+ * ENH: Add GitHub Projects support for github shorten links (#1051)
+ * FIX: Navigation buttons accessibility fixes (#1050)
+ * ENH: Refactor gitlab parsing in ShortenLinkTransform (#1039) (#1048)
+ * Disable CloudFlare Rocket loader on dark mode script (#1045)
+ * Prerelease CI: Update name, schedule and Python version (#1044)
+ * Change pypa/gh-action-pypi-publish to use stable release branch (#1047)
+ * Add Dependabot configuration for GitHub Actions updates (#1046)
+ * FIX: style table generated by myst-NB (#1041)
+ * MAINT: refactor webpack.config.js (#1035)
+ * ENH: support seealso admonition (#1037)
+ * DOCS: update documentation link (#1033)
+ * DOCS: fix python block in keyboard-shortcuts.md (#1032)
+ * MAINT: split bootstrap and theme styling (#994)
+ * ENH: Add skip to main content button for a11y (#1019)
+ * MAINT: use a function to test the warnings of the CI doc build (#1002)
+ * FIX: avoid API double select (#1015)
+ * FIX: table width of nbsphinx dataframes (#1018)
+ * DOCS: demonstrate inline highlighting (#1025)
+ * ENH: create a navbar_persistent section (#1022)
+ * ENH: place the RDT flyout in the sidebar (#1005)
+ * FIX: update switcher list (#1009)
+ * FIX: link shortening for gitlab (#1012)
+ * FIX: make the icons available to implicit component (#991)
+ * FIX: set back the icon inside the search bar (#992)
+ * ENH: add the theme version in the footer (#1000)
+ * FIX: avoid conflict between black and flake8
+ * FIX: improve numbering of the docs (#1004)
+ * fix: remove deprecated config (#997)
+ * Remove deprecated option for google analytics (#975)
+ * Remove travis/doctr cruft (#995)
+ * Rename and add deprecation warnings for section names (#988)
+ * FIX: change dark highlight for a11y (#985)
+ * FIX: improve display of Hide search button (#984)
+ * FIX: improve display of "side" docstring title (#981)
+ * FIX: respect the align and width parameter of table directives (#968)
+ * FIX: display math characters in the header navbar (#971)
+ * Bump version
+ * RLS: v0.11.0
+ * fix: remove primary sidebar if empty (#980)
+ * Bump version
+ * RLS: v0.11.0rc3
+ * Support Sphinx 4.2+ (#978)
+ * Bump version
+ * RLS: v0.11.0rc2
+ * Fix for publishing prereleases (#974)
+ * RLS: v0.11.0rc1
+ * Test on Python 3.11 (#972)
+ * FIX: check the json switcher file (#917)
+ * Update pre-commit hooks (#970)
+ * DOCS: Fixed file path of logos (#969)
+ * FIX: improve display of table in the nbsphinx context (#954)
+ * ENH: Automatically shorten links for GitHub/GitLab (#957)
+ * FIX: do not prettify primary sidebar html (#965)
+ * MAINT: update icons to fit Fontawesome 6 (#963)
+ * Align all the columns on the primary sidebar (#950)
+ * DOCS: better document how to remove secondary sidebar
+ * FIX: expand the bd-article-container (#964)
+ * FIX: use target color for footnotes (#962)
+ * FIX: Don't filter images that support the dark theme (#942)
+ * Bump nth-check and optimize-css-assets-webpack-plugin (#882)
+ * update Javascript dependencies (#940)
+ * Build wheels for testing (#939)
+ * Bump node-forge and webpack-dev-server (#883)
+ * feat: add the indices to the optional sidebar components (#922)
+ * FIX: use parent when self is use in a toctree (#938)
+ * Add expected pandas 1.5 warning (#936)
+ * MAINT: Open issue when dependency prereleases fail (#899)
+ * DOCS: Add sepal to the gallery (#927)
+ * Fix plausible loading (#909)
+ * Add EnOSlib's website in the gallery (#919)
+ * FIX: use hasdoc() for logo link (#921)
+ * Add #searchbox to sidebar for "Hide Search Matches" link (#925)
+ * ENH: Use bootstrap tooltip to display icons title (#924)
+ * set the content at the top of the page (#916)
+ * add css helper for images optimized for both dark and light theme (#914)
+ * ENH: Use toctree titles in the header navbar (#915)
+ * Correct the link to the pygments styles in styling.rst (#910)
+ * RLS: v0.10.1
+ * Don't test against prereleased dependecies (#900)
+ * RLS: v0.10.0
+ * ENH: Add section title to sidebar navigation (#895)
+ * DOCS: Update grid size for gallery (#894)
+ * ENH: option to customise the alt text of the logo (#893)
+ * MAINT: Run audit on a simplified docs build (#892)
+ * ENH: Simplify and speed up navigation bar links generation (#878)
+ * MAINT: Add action for profiling (#888)
+ * MAINT: Add a py-spy profiler to nox (#887)
+ * DOCS: Improve sphinx-design card examples (#885)
+ * MAINT: Upgrade FontAwesome dependency to latest version (#868)
+ * BUG: Fix links not clickable in versionmodified directives (#877)
+ * NEW: Adding a section for footer-content like in sphinx-basic-ng (#861)
++++ 519 more lines (skipped)
++++ between
/work/SRC/openSUSE:Factory/python-pydata-sphinx-theme/python-pydata-sphinx-theme.changes
++++ and
/work/SRC/openSUSE:Factory/.python-pydata-sphinx-theme.new.31432/python-pydata-sphinx-theme.changes
Old:
----
pydata-sphinx-theme-0.7.1.tar.gz
New:
----
prepare_vendor.sh
pydata-sphinx-theme-0.13.1.obscpio
pydata-sphinx-theme-0.13.1.tar.gz
python-pydata-sphinx-theme-0.13.1-vendor-licenses.txt
python-pydata-sphinx-theme-0.13.1-vendor.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pydata-sphinx-theme.spec ++++++
--- /var/tmp/diff_new_pack.jGd7O9/_old 2023-03-10 22:08:52.513540949 +0100
+++ /var/tmp/diff_new_pack.jGd7O9/_new 2023-03-10 22:08:52.521540985 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pydata-sphinx-theme
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,31 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python36 1
Name: python-pydata-sphinx-theme
-Version: 0.7.1
+Version: 0.13.1
Release: 0
Summary: Bootstrap-based Sphinx theme from the PyData community
License: BSD-3-Clause
URL: https://github.com/pydata/pydata-sphinx-theme
-# Source:
https://files.pythonhosted.org/packages/source/p/pydata-sphinx-theme/pydata-sphinx-theme-%%{version}.tar.gz
Source: pydata-sphinx-theme-%{version}.tar.gz
+# Source:
https://files.pythonhosted.org/packages/source/p/pydata-sphinx-theme/pydata_sphinx_theme-%%{version}.tar.gz
+# Source1 and Source2 created with ./prepare_vendor.sh
+Source1: python-pydata-sphinx-theme-%{version}-vendor.tar.xz
+Source2: python-pydata-sphinx-theme-%{version}-vendor-licenses.txt
+Source99: prepare_vendor.sh
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-regressions}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module sphinx-theme-builder}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx
Requires: python-beautifulsoup4
Requires: python-docutils
+Requires: python-sphinx-theme-builder
Suggests: python-beautifulsoup4
Suggests: python-codecov
Suggests: python-docutils
@@ -47,9 +54,15 @@
Suggests: python-xarray
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module beautifulsoup4}
+BuildRequires: %{python_module accessible-pygments}
BuildRequires: %{python_module Sphinx}
+BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module docutils}
+BuildRequires: nodejs-packaging
+BuildRequires: nodejs19
+BuildRequires: nodejs19-devel
+BuildRequires: yarn
+
# /SECTION
%python_subpackages
@@ -57,17 +70,33 @@
Bootstrap-based Sphinx theme from the PyData community
%prep
-%autosetup -p1 -n pydata-sphinx-theme-%{version}
+%autosetup -p1 -n pydata-sphinx-theme-%{version} -a1
+sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml
+
+# Create a node header tarball so we don't try to download it
+mkdir -p node-v%{nodejs_version}/include
+cp -a %{_includedir}/node19 node-v%{nodejs_version}/include/node
+tar czf node-v%{nodejs_version}-headers.tar.gz node-v%{nodejs_version}
+echo "tarball=\"$PWD/node-v%{nodejs_version}-headers.tar.gz\"" > .npmrc
%build
-%python_build
+export STB_USE_SYSTEM_NODE=1
+export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
+export YARN_CACHE_FOLDER="$PWD/.package-cache"
+export NODE_OPTIONS=--openssl-legacy-provider
+yarn install --offline
+
+# nodeenv generated with python3, no need to generate a different
+# nodeenv for each flavor
+python3 -m nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pytest
+%pytest -v
%files %{python_files}
%doc README.md
++++++ _service ++++++
--- /var/tmp/diff_new_pack.jGd7O9/_old 2023-03-10 22:08:52.557541149 +0100
+++ /var/tmp/diff_new_pack.jGd7O9/_new 2023-03-10 22:08:52.561541167 +0100
@@ -3,7 +3,7 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/pydata/pydata-sphinx-theme.git</param>
<param name="scm">git</param>
- <param name="revision">v0.7.1</param>
+ <param name="revision">v0.13.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="exclude">.git*</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.jGd7O9/_old 2023-03-10 22:08:52.585541276 +0100
+++ /var/tmp/diff_new_pack.jGd7O9/_new 2023-03-10 22:08:52.589541294 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/pydata/pydata-sphinx-theme.git</param>
- <param
name="changesrevision">91441e705adb304e93a5d2f3ecc52b0b6d5d5a61</param></service></servicedata>
+ <param
name="changesrevision">d7be3e599ef634820f0b1e049fc1f69e4707d05a</param></service></servicedata>
(No newline at EOF)
++++++ prepare_vendor.sh ++++++
#!/bin/bash
# Script based on the fedora package
#
https://src.fedoraproject.org/rpms/python-pydata-sphinx-theme/blob/rawhide/f/prepare_vendor.sh
PKG_DIR="$(pwd)"
PKG_PATH=pydata-sphinx-theme
PKG_NAME=python-pydata-sphinx-theme
PKG_VERSION=0.13.1
cleanup_tmpdir() {
popd 2>/dev/null
rm -rf /tmp/yarn--*
rm /tmp/core-js-banners
}
trap cleanup_tmpdir SIGINT
cleanup_and_exit() {
cleanup_tmpdir
if test "$1" = 0 -o -z "$1" ; then
exit 0
else
exit $1
fi
}
cd $PKG_PATH
export YARN_CACHE_FOLDER=".package-cache"
echo ">>>>>> Install npm modules"
yarn install --frozen-lockfile
if [ $? -ne 0 ]; then
echo "ERROR: yarn install failed"
cleanup_and_exit 1
fi
echo ">>>>>> Cleanup object dirs"
find node_modules/ -type d -name "*.o.d" -execdir rm {} +
find node_modules/ -type d -name "__pycache__" -execdir rm {} +
echo ">>>>>> Cleanup object files"
find node_modules/ -name "*.node" -execdir rm {} +
find node_modules/ -name "*.dll" | grep -v signal-client | xargs rm -f
find node_modules/ -name "*.dylib" -delete
find node_modules/ -name "*.so" -delete
find node_modules/ -name "*.o" -delete
find node_modules/ -name "*.a" -delete
find node_modules/ -name "*.snyk-*.flag" -delete
echo ">>>>>> Cleanup build info"
find node_modules/ -name "builderror.log" -delete
find node_modules/ -name "yarn-error.log" -delete
find node_modules/ -name "yarn.lock" -delete
find node_modules/ -name ".deps" -type d -execdir rm {} +
find node_modules/ -name "Makefile" -delete
find node_modules/ -name "*.target.mk" -delete
find node_modules/ -name "config.gypi" -delete
find node_modules/ -name "package.json" -exec sed -i "s#$PKG_PATH#/tmp#g" {} \;
echo ">>>>>> Cleanup yarn tarballs"
find node_modules/ -name ".yarn-tarball.tgz" -delete
echo ">>>>>> Cleanup source maps"
find node_modules/ -name "*.js.map" -delete
find node_modules/ -name "*.ts.map" -delete
find node_modules/ -name "*.mjs.map" -delete
find node_modules/ -name "*.cjs.map" -delete
find node_modules/ -name "*.css.map" -delete
find node_modules/ -name "*.min.map" -delete
echo ">>>>>> Package vendor files"
rm -f ${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
yarn add license-checker
yarn license-checker --summary | sed "s#$PKG_PATH#/tmp#g" >
$PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor-licenses.txt
rm -rf .package-cache
cd -
cleanup_and_exit 0
++++++ pydata-sphinx-theme-0.7.1.tar.gz -> pydata-sphinx-theme-0.13.1.tar.gz
++++++
++++ 51952 lines of diff (skipped)
++++++ pydata-sphinx-theme.obsinfo ++++++
--- /var/tmp/diff_new_pack.jGd7O9/_old 2023-03-10 22:08:52.941542897 +0100
+++ /var/tmp/diff_new_pack.jGd7O9/_new 2023-03-10 22:08:52.945542915 +0100
@@ -1,6 +1,5 @@
name: pydata-sphinx-theme
-version: 0.7.1
-mtime: 1633197028
-commit: 91441e705adb304e93a5d2f3ecc52b0b6d5d5a61
-
+version: 0.13.1
+mtime: 1677937217
+commit: d7be3e599ef634820f0b1e049fc1f69e4707d05a
++++++ python-pydata-sphinx-theme-0.13.1-vendor-licenses.txt ++++++
yarn run v1.22.19
$
/home/danigm/Projects/suse/obs/home:dgarcia:sphinx-theme-builder/python-/tmp//tmp/node_modules/.bin/license-checker
--summary
ââ MIT: 718
ââ ISC: 111
ââ BSD-2-Clause: 18
ââ Apache-2.0: 15
ââ BSD-3-Clause: 13
ââ Unlicense: 4
ââ (MIT OR CC0-1.0): 3
ââ (MIT OR Apache-2.0): 2
ââ CC0-1.0: 2
ââ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1
ââ MIT*: 1
ââ CC-BY-4.0: 1
ââ (AFL-2.1 OR BSD-3-Clause): 1
ââ (BSD-3-Clause OR GPL-2.0): 1
ââ (MIT AND Zlib): 1
ââ (MIT AND BSD-3-Clause): 1
ââ CC-BY-3.0: 1
ââ (MIT AND CC-BY-3.0): 1
ââ 0BSD: 1
Done in 1.04s.