Skip to content

Commit

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

v0.14.0
-------

**Implemented enhancements:**

-  MAINT Update backreferences docs and add tests `#1154 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1154>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
-  Remove extra spaces in reported running time `#1147 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1147>`__ (`stefanv <https://github.com/stefanv>`__)

**Fixed bugs:**

-  MAINT: Fix for Sphinx 7.2 `#1176 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1176>`__ (`larsoner <https://github.com/larsoner>`__)
-  updated mpl gui warning catcher to new error message `#1160 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1160>`__ (`story645 <https://github.com/story645>`__)
-  Ensure consistent encoding for md5sum generation `#1159 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1159>`__ (`sdhiscocks <https://github.com/sdhiscocks>`__)
-  Maint: Fix ``app.builder.outdir`` as Sphinx now using pathlib `#1155 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1155>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
-  Make \_LoggingTee compatible with TextIO `#1151 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1151>`__ (`o-laurent <https://github.com/o-laurent>`__)

(NEWS truncated at 15 lines)
  • Loading branch information
fenrus75 committed Aug 18, 2023
1 parent a19d2a8 commit 4b75a9d
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 25 deletions.
49 changes: 49 additions & 0 deletions ChangeLog
@@ -1,6 +1,55 @@
Changelog
=========

v0.14.0
-------

**Implemented enhancements:**

- MAINT Update backreferences docs and add tests `#1154 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1154>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- Remove extra spaces in reported running time `#1147 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1147>`__ (`stefanv <https://github.com/stefanv>`__)

**Fixed bugs:**

- MAINT: Fix for Sphinx 7.2 `#1176 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1176>`__ (`larsoner <https://github.com/larsoner>`__)
- updated mpl gui warning catcher to new error message `#1160 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1160>`__ (`story645 <https://github.com/story645>`__)
- Ensure consistent encoding for md5sum generation `#1159 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1159>`__ (`sdhiscocks <https://github.com/sdhiscocks>`__)
- Maint: Fix ``app.builder.outdir`` as Sphinx now using pathlib `#1155 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1155>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- Make \_LoggingTee compatible with TextIO `#1151 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1151>`__ (`o-laurent <https://github.com/o-laurent>`__)
- MAINT: Replace build_sphinx with sphinx-build `#1139 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1139>`__ (`oscargus <https://github.com/oscargus>`__)
- Set table.dataframe width to auto in CSS file close #1128 `#1137 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1137>`__ (`photoniker <https://github.com/photoniker>`__)

**Documentation**

- DOC Fix typo in ``_get_docstring_and_rest`` docstring `#1182 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1182>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- DOC Fix Jupyterlite config example in ``configuration.rst`` `#1181 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1181>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- DOC Update basics gallery name `#1153 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1153>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- DOC: Add link to sphinxcontrib-svg2pdfconverter `#1145 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1145>`__ (`oscargus <https://github.com/oscargus>`__)
- MNT: Add a few badges `#1143 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1143>`__ (`oscargus <https://github.com/oscargus>`__)
- MAINT: Fix Zenodo reference `#1140 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1140>`__ (`oscargus <https://github.com/oscargus>`__)
- Add OpenTURNS to “who uses” list `#1133 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1133>`__ (`jschueller <https://github.com/jschueller>`__)
- Correctly hide download buttons `#1131 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1131>`__ (`timhoffm <https://github.com/timhoffm>`__)

**Project maintenance**

- MAINT: Force PRs to be labeled properly `#1183 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1183>`__ (`larsoner <https://github.com/larsoner>`__)
- MAINT Add to ``test_identify_names`` so class property tested `#1180 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1180>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- MAINT Lint - fix ast node type in docstrings `#1179 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1179>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- MAINT Move ``figure_rst`` path testing to own unit test `#1173 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1173>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- MAINT Remove unused parametrize in ``test_figure_rst_srcset`` `#1172 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1172>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- MAINT Parametrize notebook first/last cell test `#1171 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1171>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- MAINT Lint api usage `#1170 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1170>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- MAINT Fix lint, clean and expand docstrings `#1169 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1169>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- [pre-commit.ci] pre-commit autoupdate `#1167 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1167>`__ (`pre-commit-ci[bot] <https://github.com/apps/pre-commit-ci>`__)
- MAINT: yamllint `#1166 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1166>`__ (`larsoner <https://github.com/larsoner>`__)
- ENH: Use pre-commit `#1165 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1165>`__ (`larsoner <https://github.com/larsoner>`__)
- MAINT: black . `#1164 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1164>`__ (`larsoner <https://github.com/larsoner>`__)
- MAINT: Make outdated check better `#1161 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1161>`__ (`larsoner <https://github.com/larsoner>`__)
- Use pathlib for url ``_embed_code_links`` `#1157 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1157>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
- MAINT: Speed up conda solving `#1156 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1156>`__ (`larsoner <https://github.com/larsoner>`__)
- MNT: Change % formatting to f-strings `#1135 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1135>`__ (`StefRe <https://github.com/StefRe>`__)
- MAINT: Update deps and intersphinx links `#1132 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1132>`__ (`larsoner <https://github.com/larsoner>`__)

v0.13.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/4d/43/9d197848fa1867fb10d0561c9124984bb6f49bc05236482384290d03170c/sphinx-gallery-0.13.0.tar.gz
URL = https://files.pythonhosted.org/packages/eb/f8/a16a9f0680734d2e2a18324dffb8f34a43425794fc8b3e052013f6519bf5/sphinx-gallery-0.14.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
4 changes: 2 additions & 2 deletions options.conf
@@ -1,6 +1,6 @@
[package]
name = pypi-sphinx_gallery
url = https://files.pythonhosted.org/packages/4d/43/9d197848fa1867fb10d0561c9124984bb6f49bc05236482384290d03170c/sphinx-gallery-0.13.0.tar.gz
url = https://files.pythonhosted.org/packages/eb/f8/a16a9f0680734d2e2a18324dffb8f34a43425794fc8b3e052013f6519bf5/sphinx-gallery-0.14.0.tar.gz
archives =
giturl =
domain =
Expand Down Expand Up @@ -60,7 +60,7 @@ skip_tests = false
# add .so files to the lib package instead of dev
so_to_lib = false
# configure build for avx2
use_avx2 = false
use_avx2 = true
# configure build for avx512
use_avx512 = false
# add clang flags
Expand Down
41 changes: 21 additions & 20 deletions pypi-sphinx_gallery.spec
@@ -1,13 +1,13 @@
#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
# Using build pattern: distutils3
# Using build pattern: pyproject
#
Name : pypi-sphinx_gallery
Version : 0.13.0
Release : 17
URL : https://files.pythonhosted.org/packages/4d/43/9d197848fa1867fb10d0561c9124984bb6f49bc05236482384290d03170c/sphinx-gallery-0.13.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/4d/43/9d197848fa1867fb10d0561c9124984bb6f49bc05236482384290d03170c/sphinx-gallery-0.13.0.tar.gz
Version : 0.14.0
Release : 18
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
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 @@ -25,8 +25,9 @@ BuildRequires : pypi(sphinx)
==============
Sphinx-Gallery
==============
.. image:: https://dev.azure.com/sphinx-gallery/sphinx-gallery/_apis/build/status/sphinx-gallery.sphinx-gallery?branchName=master
:target: https://dev.azure.com/sphinx-gallery/sphinx-gallery/_build/latest?definitionId=1&branchName=master
.. image:: https://img.shields.io/pypi/v/sphinx-gallery
:target: https://pypi.org/project/sphinx-gallery/
:alt: PyPI

%package bin
Summary: bin components for the pypi-sphinx_gallery package.
Expand Down Expand Up @@ -66,44 +67,44 @@ python3 components for the pypi-sphinx_gallery package.


%prep
%setup -q -n sphinx-gallery-0.13.0
cd %{_builddir}/sphinx-gallery-0.13.0
%setup -q -n sphinx-gallery-0.14.0
cd %{_builddir}/sphinx-gallery-0.14.0
pushd ..
cp -a sphinx-gallery-0.13.0 buildavx2
cp -a sphinx-gallery-0.14.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=1681749217
export SOURCE_DATE_EPOCH=1692381311
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 "
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 "
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 "
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 "
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 "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build

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 "
python3 setup.py build
python3 -m build --wheel --skip-dependency-check --no-isolation

popd

%install
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 || :
python3 -tt setup.py build install --root=%{buildroot}
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
Expand All @@ -113,7 +114,7 @@ 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 "
python3 -tt setup.py build install --root=%{buildroot}-v3
pip install --root=%{buildroot}-v3 --no-deps --ignore-installed 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 @@
17
18
2 changes: 1 addition & 1 deletion upstream
@@ -1 +1 @@
dd3bfc6ee54e9c7fa0d3a0f16a62f638ec35ef70/sphinx-gallery-0.13.0.tar.gz
4eb0b60f47413544c2fe461486102220731349ae/sphinx-gallery-0.14.0.tar.gz

0 comments on commit 4b75a9d

Please sign in to comment.