Skip to content

Commit

Permalink
pypi-sphinx_gallery: Autospec creation for update from version 0.14.0…
Browse files Browse the repository at this point in the history
… to version 0.15.0

v0.15.0
-------

Support for Python 3.7 dropped in this release. Requirement is now Python >=3.8.
Pillow added as a dependency.

**Implemented enhancements:**

-  ENH: Improve logging visibility of errors and filenames `#1225 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1225>`__ (`larsoner <https://github.com/larsoner>`__)
-  ENH: Improve API usage graph `#1203 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1203>`__ (`larsoner <https://github.com/larsoner>`__)
-  ENH: Always write sg_execution_times and make DataTable `#1198 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1198>`__ (`larsoner <https://github.com/larsoner>`__)
-  ENH: Write all computation times `#1197 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1197>`__ (`larsoner <https://github.com/larsoner>`__)
-  ENH: Support source files in any language `#1192 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1192>`__ (`speth <https://github.com/speth>`__)
-  FEA Add examples recommender system `#1125 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1125>`__ (`ArturoAmorQ <https://github.com/ArturoAmorQ>`__)

(NEWS truncated at 15 lines)
  • Loading branch information
bryteise committed Nov 22, 2023
1 parent c70509f commit 7799fb9
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 28 deletions.
48 changes: 48 additions & 0 deletions ChangeLog
@@ -1,6 +1,54 @@
Changelog
=========

v0.15.0
-------

Support for Python 3.7 dropped in this release. Requirement is now Python >=3.8.
Pillow added as a dependency.

**Implemented enhancements:**

- ENH: Improve logging visibility of errors and filenames `#1225 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1225>`__ (`larsoner <https://github.com/larsoner>`__)
- ENH: Improve API usage graph `#1203 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1203>`__ (`larsoner <https://github.com/larsoner>`__)
- ENH: Always write sg_execution_times and make DataTable `#1198 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1198>`__ (`larsoner <https://github.com/larsoner>`__)
- ENH: Write all computation times `#1197 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1197>`__ (`larsoner <https://github.com/larsoner>`__)
- ENH: Support source files in any language `#1192 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1192>`__ (`speth <https://github.com/speth>`__)
- FEA Add examples recommender system `#1125 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1125>`__ (`ArturoAmorQ <https://github.com/ArturoAmorQ>`__)

**Fixed bugs:**

- FIX Copy JupyterLite contents early so it runs before jupyterlite_sphinx build-finished `#1213 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1213>`__ (`lesteve <https://github.com/lesteve>`__)
- BUG: Fix bug with orphan sg_api_usage `#1207 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1207>`__ (`larsoner <https://github.com/larsoner>`__)
- MAINT Fix check for mismatched “ignore” blocks `#1193 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1193>`__ (`speth <https://github.com/speth>`__)
- Avoid importing new modules in backrefs `#1177 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1177>`__ (`aganders3 <https://github.com/aganders3>`__)

**Documentation**

- DOC Put configuration list under headings `#1230 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1230>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- DOC: contributing guide `#1223 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1223>`__ (`story645 <https://github.com/story645>`__)
- DOC Note support for python 3.7 dropped in release notes `#1199 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1199>`__ (`lucyleeow <https://github.com/lucyleeow>`__)

**Project maintenance**

- [pre-commit.ci] pre-commit autoupdate `#1231 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1231>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- MAINT Add ``extras_require`` in ``setup.py`` `#1229 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1229>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- [pre-commit.ci] pre-commit autoupdate `#1227 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1227>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- [pre-commit.ci] pre-commit autoupdate `#1224 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1224>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- [pre-commit.ci] pre-commit autoupdate `#1219 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1219>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- MAINT: pydata-sphinx-theme `#1218 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1218>`__ (`larsoner <https://github.com/larsoner>`__)
- MAINT: Improve CircleCI time `#1216 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1216>`__ (`larsoner <https://github.com/larsoner>`__)
- [pre-commit.ci] pre-commit autoupdate `#1215 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1215>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- MAINT: Move to GHA `#1214 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1214>`__ (`larsoner <https://github.com/larsoner>`__)
- [pre-commit.ci] pre-commit autoupdate `#1206 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1206>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- [pre-commit.ci] pre-commit autoupdate `#1201 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1201>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- [pre-commit.ci] pre-commit autoupdate `#1196 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1196>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- [pre-commit.ci] pre-commit autoupdate `#1194 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1194>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- [pre-commit.ci] pre-commit autoupdate `#1191 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1191>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- [pre-commit.ci] pre-commit autoupdate `#1189 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1189>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- [pre-commit.ci] pre-commit autoupdate `#1187 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1187>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- MAINT: Bump ver `#1185 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1185>`__ (`larsoner <https://github.com/larsoner>`__)

v0.14.0
-------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
@@ -1,5 +1,5 @@
PKG_NAME := pypi-sphinx_gallery
URL = https://files.pythonhosted.org/packages/eb/f8/a16a9f0680734d2e2a18324dffb8f34a43425794fc8b3e052013f6519bf5/sphinx-gallery-0.14.0.tar.gz
URL = https://files.pythonhosted.org/packages/aa/22/5bcce07215e1c4b0511b3881b9001c963dad7a639201cdc5746ea39862d5/sphinx-gallery-0.15.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 1 addition & 1 deletion options.conf
@@ -1,6 +1,6 @@
[package]
name = pypi-sphinx_gallery
url = https://files.pythonhosted.org/packages/eb/f8/a16a9f0680734d2e2a18324dffb8f34a43425794fc8b3e052013f6519bf5/sphinx-gallery-0.14.0.tar.gz
url = https://files.pythonhosted.org/packages/aa/22/5bcce07215e1c4b0511b3881b9001c963dad7a639201cdc5746ea39862d5/sphinx-gallery-0.15.0.tar.gz
archives =
giturl =
domain =
Expand Down
72 changes: 48 additions & 24 deletions pypi-sphinx_gallery.spec
Expand Up @@ -2,12 +2,14 @@
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
# Using build pattern: pyproject
# autospec version: v2
# autospec commit: e661f3a
#
Name : pypi-sphinx_gallery
Version : 0.14.0
Release : 19
URL : https://files.pythonhosted.org/packages/eb/f8/a16a9f0680734d2e2a18324dffb8f34a43425794fc8b3e052013f6519bf5/sphinx-gallery-0.14.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/eb/f8/a16a9f0680734d2e2a18324dffb8f34a43425794fc8b3e052013f6519bf5/sphinx-gallery-0.14.0.tar.gz
Version : 0.15.0
Release : 20
URL : https://files.pythonhosted.org/packages/aa/22/5bcce07215e1c4b0511b3881b9001c963dad7a639201cdc5746ea39862d5/sphinx-gallery-0.15.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/aa/22/5bcce07215e1c4b0511b3881b9001c963dad7a639201cdc5746ea39862d5/sphinx-gallery-0.15.0.tar.gz
Summary : A `Sphinx <https://www.sphinx-doc.org/en/master/>`_ extension that builds an HTML gallery of examples from any set of Python scripts.
Group : Development/Tools
License : BSD-3-Clause
Expand All @@ -16,6 +18,7 @@ Requires: pypi-sphinx_gallery-license = %{version}-%{release}
Requires: pypi-sphinx_gallery-python = %{version}-%{release}
Requires: pypi-sphinx_gallery-python3 = %{version}-%{release}
BuildRequires : buildreq-distutils3
BuildRequires : pypi(pillow)
BuildRequires : pypi(sphinx)
# Suppress stripping binaries
%define __strip /bin/true
Expand Down Expand Up @@ -60,61 +63,82 @@ Summary: python3 components for the pypi-sphinx_gallery package.
Group: Default
Requires: python3-core
Provides: pypi(sphinx_gallery)
Requires: pypi(pillow)
Requires: pypi(sphinx)

%description python3
python3 components for the pypi-sphinx_gallery package.


%prep
%setup -q -n sphinx-gallery-0.14.0
cd %{_builddir}/sphinx-gallery-0.14.0
%setup -q -n sphinx-gallery-0.15.0
cd %{_builddir}/sphinx-gallery-0.15.0
pushd ..
cp -a sphinx-gallery-0.14.0 buildavx2
cp -a sphinx-gallery-0.15.0 buildavx2
popd

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1692381311
export SOURCE_DATE_EPOCH=1700611419
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
export MAKEFLAGS=%{?_smp_mflags}
python3 -m build --wheel --skip-dependency-check --no-isolation
pushd ../buildavx2/
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
python3 -m build --wheel --skip-dependency-check --no-isolation

popd

%install
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-sphinx_gallery
cp %{_builddir}/sphinx-gallery-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-sphinx_gallery/a5b31a24fffdc9afcf39f30c199a9fc95a08a427 || :
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
python3 -m installer --destdir=%{buildroot} dist/*.whl
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
pushd ../buildavx2/
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
pip install --root=%{buildroot}-v3 --no-deps --ignore-installed dist/*.whl
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl
popd
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}

Expand Down
2 changes: 1 addition & 1 deletion release
@@ -1 +1 @@
19
20
2 changes: 1 addition & 1 deletion upstream
@@ -1 +1 @@
4eb0b60f47413544c2fe461486102220731349ae/sphinx-gallery-0.14.0.tar.gz
d26f0cbef648421ac4f13a995858988d26e7f972/sphinx-gallery-0.15.0.tar.gz

0 comments on commit 7799fb9

Please sign in to comment.