#1 New upstream version and FTBFS fix
Merged 6 years ago by churchyard. Opened 6 years ago by lbalhar.
rpms/ lbalhar/python-nbsphinx master  into  master

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

  /nbsphinx-0.2.13.tar.gz

+ /nbsphinx-0.2.17.tar.gz

@@ -0,0 +1,40 @@ 

+ From fb1b2571ac18df78aa09d7aab06c7ed114b626f7 Mon Sep 17 00:00:00 2001

+ From: Lumir Balhar <lbalhar@redhat.com>

+ Date: Tue, 28 Nov 2017 14:27:09 +0100

+ Subject: [PATCH] Allow errors and add a note in one doc notebook

+ 

+ ---

+  doc/code-cells.ipynb | 10 ++++++++++

+  1 file changed, 10 insertions(+)

+ 

+ diff --git a/doc/code-cells.ipynb b/doc/code-cells.ipynb

+ index dcd8499..34ee63a 100644

+ --- a/doc/code-cells.ipynb

+ +++ b/doc/code-cells.ipynb

+ @@ -225,6 +225,13 @@

+      "### Image URLs"

+     ]

+    },

+ +  {

+ +   "cell_type": "markdown",

+ +   "metadata": {},

+ +   "source": [

+ +    "There may be errors in this part because images' URLs are not accessible during a build of RPM. See [online documentation](http://nbsphinx.readthedocs.io/en/latest/code-cells.html#Image-URLs)."

+ +   ]

+ +  },

+    {

+     "cell_type": "code",

+     "execution_count": null,

+ @@ -499,6 +506,9 @@

+     "nbconvert_exporter": "python",

+     "pygments_lexer": "ipython3",

+     "version": "3.6.3"

+ +  },

+ +  "nbsphinx": {

+ +   "allow_errors": true

+    }

+   },

+   "nbformat": 4,

+ -- 

+ 2.14.3

+ 

file modified
+7 -2
@@ -2,8 +2,8 @@ 

  %global pypi_name nbsphinx

  

  Name:           python-%{pypi_name}

- Version:        0.2.13

- Release:        2%{?dist}

+ Version:        0.2.17

+ Release:        1%{?dist}

  Summary:        Jupyter Notebook Tools for Sphinx

  

  License:        MIT
@@ -11,6 +11,7 @@ 

  Source0:        https://files.pythonhosted.org/packages/source/n/%{pypi_name}/%{pypi_name}-%{version}.tar.gz

  # 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

  

  BuildRequires:  python3-devel
@@ -82,6 +83,10 @@ 

  %doc html 

  

  %changelog

+ * Tue Nov 28 2017 Lumír Balhar <lbalhar@redhat.com> - 0.2.17-1

+ - New upstream version

+ - Fix FTBFS

+ 

  * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

  

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

- SHA512 (nbsphinx-0.2.13.tar.gz) = c6489ce696094efbb88e7d6689b8c67fa5fd0c71bfdb8c044f1eab0bf5f722668acd1e839488244578cb50def58c9ba6b88334c5d977cc07692b8747e6f502c5

+ SHA512 (nbsphinx-0.2.17.tar.gz) = 15fd6214d4f5a6633ab3bb4f6991022ee0a680915fc0f6ab1b4ebe0c3c54492391e30929af7e2655d6e895031faa46bd920a24931cfdfc9d789a5fb79e731e03

Hello.

Here is a new specfile which allows errors during a build of documentation and add a note about it to the related notebook.

Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=23434690

Have a nice day.

If it's just one notebook, I'd rather allow errors only in that one notebook. See http://nbsphinx.readthedocs.io/en/0.2.17/allow-errors.html (point 3).

rebased onto 8302d85

6 years ago

Sorry to be a stickler, but the patch name is now not 100% factually correct.

rebased onto da56388

6 years ago

+1 from me. shall i merge?

Yes, if you want to fix your own package .... :smile:

Well I meant you are in the SIG, so you can just go ahead.

Pull-Request has been merged by churchyard

6 years ago