#1 Update to 5.0.7 (#1425643) & switch to pyproject macros
Merged 3 years ago by lbalhar. Opened 3 years ago by lbalhar.
rpms/ lbalhar/python-nbformat master  into  master

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

  /nbformat-5.0.3.tar.gz

  /nbformat-5.0.4.tar.gz

  /nbformat-5.0.5.tar.gz

+ /nbformat-5.0.7.tar.gz

file modified
+16 -22
@@ -1,8 +1,8 @@ 

  %global srcname nbformat

  

  Name:           python-%{srcname}

- Version:        5.0.5

- Release:        3%{?dist}

+ Version:        5.0.7

+ Release:        1%{?dist}

  Summary:        The Jupyter Notebook format

  

  License:        BSD
@@ -11,6 +11,9 @@ 

  

  BuildArch:      noarch

  

+ BuildRequires:  python%{python3_pkgversion}-devel

+ BuildRequires:  pyproject-rpm-macros

+ 

  %description

  This package contains the base implementation of the Jupyter Notebook format,

  and Python APIs for working with notebooks.
@@ -18,17 +21,6 @@ 

  

  %package -n python%{python3_pkgversion}-%{srcname}

  Summary:        The Jupyter Notebook format

- BuildRequires:  python%{python3_pkgversion}-devel

- # For tests

- BuildRequires:  python%{python3_pkgversion}-pytest

- BuildRequires:  python%{python3_pkgversion}-ipython_genutils

- BuildRequires:  python%{python3_pkgversion}-jsonschema

- BuildRequires:  python%{python3_pkgversion}-jupyter-core

- BuildRequires:  python%{python3_pkgversion}-traitlets

- Requires:       python%{python3_pkgversion}-ipython_genutils

- Requires:       python%{python3_pkgversion}-jsonschema

- Requires:       python%{python3_pkgversion}-jupyter-core

- Requires:       python%{python3_pkgversion}-traitlets

  %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}

  

  %description -n python%{python3_pkgversion}-%{srcname}
@@ -39,28 +31,30 @@ 

  %prep

  %autosetup -p1 -n %{srcname}-%{version}

  

+ %generate_buildrequires

+ %pyproject_buildrequires -r -x test

  

  %build

- %py3_build

+ %pyproject_wheel

  

  

  %install

- %py3_install

- 

+ %pyproject_install

+ %pyproject_save_files %{srcname}

  

  %check

- # test_sign.py needs testpath which isn't packaged yet

- mv %{srcname}/tests/test_sign.py{,.fail}

- py.test-%{python3_version} -v %{srcname}/tests/

+ %pytest

  

   

- %files -n python%{python3_pkgversion}-%{srcname}

+ %files -n python%{python3_pkgversion}-%{srcname} -f %pyproject_files

  %doc README.md

  %license COPYING.md

- %{python3_sitelib}/*

- 

+ %{_bindir}/jupyter-trust

  

  %changelog

+ * Wed Sep 09 2020 Lumír Balhar <lbalhar@redhat.com> - 5.0.7-1

+ - Update to 5.0.7 (#1425643)

+ 

  * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.5-3

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

  

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

- SHA512 (nbformat-5.0.5.tar.gz) = b251d990e0b241521383450c925535621b9e96c98cf21a80ec2bd849066689806587213ae77f6f42139ff8cd29aae9fae9ebdfff2d42d4792f05bde52e4b64ca

+ SHA512 (nbformat-5.0.7.tar.gz) = 1074f7964be7e543051811358b91a746e3f03f9e28633c6e5456756ce82fe368ddaba13eb3a80692b1cabd555866d4dca56ac0f5b472a713bea94fbbe4d54f55

Dependant packages build fine except ipython: https://copr.fedorainfracloud.org/coprs/lbalhar/python-nbformat-5.0.7/builds/

ipython failure does not seem to be related to this update.

For some reason, latex tests fail for me in copr for both ipython and sphinx for couple months now. I have not yet had time to investigate why.

For some reason, latex tests fail for me in copr for both ipython and sphinx for couple months now. I have not yet had time to investigate why.

I'm trying to debug it and I've probably found something. See https://etherpad.gnome.org/p/ipython-copr-latex

Pull-Request has been merged by lbalhar

3 years ago