#2 Update to 0.7.0 (#1757082)
Merged 4 years ago by churchyard. Opened 4 years ago by cstratak.
rpms/ cstratak/python-nbsphinx master  into  master

file modified
+1
@@ -1,3 +1,4 @@ 

  /nbsphinx-0.2.13.tar.gz

  /nbsphinx-0.2.17.tar.gz

  /nbsphinx-0.4.2.tar.gz

+ /nbsphinx-0.7.0.tar.gz

@@ -28,7 +28,7 @@ 

  @@ -728,6 +735,9 @@

      "nbconvert_exporter": "python",

      "pygments_lexer": "ipython3",

-     "version": "3.7.1"

+     "version": "3.7.5"

  +  },

  +  "nbsphinx": {

  +   "allow_errors": true

@@ -1,12 +0,0 @@ 

- diff --git a/doc/conf.py b/doc/conf.py

- index b6337fd..4db4c2f 100644

- --- a/doc/conf.py

- +++ b/doc/conf.py

- @@ -9,6 +9,7 @@ extensions = [

-      'nbsphinx',

-      'sphinx.ext.mathjax',

-      'sphinxcontrib.bibtex',

- +    'IPython.sphinxext.ipython_console_highlighting',

-  ]

-  

-  # Exclude build directory and Jupyter backup files:

file modified
+9 -8
@@ -2,15 +2,13 @@ 

  %global pypi_name nbsphinx

  

  Name:           python-%{pypi_name}

- Version:        0.4.2

- Release:        7%{?dist}

+ Version:        0.7.0

+ Release:        1%{?dist}

  Summary:        Jupyter Notebook Tools for Sphinx

  

  License:        MIT

  URL:            http://nbsphinx.rtfd.io/

  Source0:        %{pypi_source}

- # https://github.com/spatialaudio/nbsphinx/issues/24

- Patch0:         %{pypi_name}-ipython-console-highlighting.patch

  Patch1:         0001-Allow-errors-and-add-a-note-in-one-doc-notebook.patch

  BuildArch:      noarch

  
@@ -22,6 +20,10 @@ 

  BuildRequires:  python3-nbconvert

  BuildRequires:  python3-sphinx

  BuildRequires:  python3-sphinxcontrib-bibtex

+ BuildRequires:  python3-sphinx-copybutton

+ BuildRequires:  python3-sphinxcontrib-rsvgconverter

+ BuildRequires:  python3-sphinx-gallery

+ BuildRequires:  python3-sphinx-last-updated-by-git

  BuildRequires:  git

  BuildRequires:  pandoc

  
@@ -34,10 +36,6 @@ 

  

  %package -n     python3-%{pypi_name}

  Summary:        %{summary}

- %{?python_provide:%python_provide python3-%{pypi_name}}

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1680237#c1

- Requires:       python%{python3_version}dist(nbconvert)

  

  %description -n python3-%{pypi_name}

  nbsphinx is a Sphinx extension that provides a source parser for *.ipynb
@@ -80,6 +78,9 @@ 

  %doc html 

  

  %changelog

+ * Thu Jun 04 2020 Charalampos Stratakis <cstratak@redhat.com> - 0.7.0-1

+ - Update to 0.7.0 (#1757082)

+ 

  * Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.2-7

  - Rebuilt for Python 3.9

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (nbsphinx-0.4.2.tar.gz) = e8bce5bc7c89f8611a1e4437c5f095edca79f57bc91694511f9a692a0a0a4dea0c4fb9ee4490ee790fd98d1d767a11ad6ba5d62ca964eed64425b4ec078cbe83

+ SHA512 (nbsphinx-0.7.0.tar.gz) = 2c8db730102e483b76bf899bb5fc1e34bb4ed817a65fad221ccc5ea7dc74c2a4f4b69398d01209a904f503acc7fae2c29ad701e6cc11ac30bae3a7e9bdd89357

no initial comment

Do the dependent packages still build?

+ cd nbsphinx-0.7.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git add .
+ /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'python-nbsphinx-0.7.0 base'
+ /usr/bin/cat /builddir/build/SOURCES/0001-Allow-errors-and-add-a-note-in-one-doc-notebook.patch
+ /usr/bin/git apply --index --reject -
Checking patch doc/code-cells.ipynb...
Hunk #1 succeeded at 228 (offset 15 lines).
error: while searching for:
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.1"
  }
 },
 "nbformat": 4,
error: patch failed: doc/code-cells.ipynb:728
Applying patch doc/code-cells.ipynb with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
error: Bad exit status from /var/tmp/rpm-tmp.m7fL9v (%prep)

Testing them.

I see so far as dependents:

python-animatplot-0:0.4.1-6.fc32.src
python-libpysal-0:4.2.2-1.fc32.src
python-nbconvert-0:5.6.1-1.fc33.src
python-notebook-0:6.0.3-5.fc33.src
python-pint-0:0.10.1-2.fc32.src
pythran-0:0.9.5-2.fc33.src

It seems I was testing a different SRPM. Rebasing.

rebased onto 501fb63

4 years ago

All the dependents build fine

rebased onto 9d1f208

4 years ago

Pull-Request has been merged by churchyard

4 years ago