openSUSE Commits
Threads by month
- ----- 2024 -----
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2023
- 1 participants
- 1464 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package 000release-packages for openSUSE:Factory checked in at 2023-12-28 23:41:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000release-packages (Old)
and /work/SRC/openSUSE:Factory/.000release-packages.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000release-packages"
Thu Dec 28 23:41:31 2023 rev:2665 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ Aeon-release.spec ++++++
--- /var/tmp/diff_new_pack.YDDY73/_old 2023-12-28 23:41:34.778390116 +0100
+++ /var/tmp/diff_new_pack.YDDY73/_new 2023-12-28 23:41:34.782390261 +0100
@@ -17,7 +17,7 @@
Name: Aeon-release
-Version: 20231226
+Version: 20231228
Release: 0
Summary: openSUSE Aeon
License: GPL-2.0-or-later
@@ -172,9 +172,9 @@
%include %{SOURCE100}
Provides: %name-%version
Provides: product() = Aeon
-Provides: product(Aeon) = 20231226-0
+Provides: product(Aeon) = 20231228-0
Provides: product-label() = openSUSE%20Aeon
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aaeon%3A20231226
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aaeon%3A20231228
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-endoflife()
Requires: product_flavor(Aeon)
@@ -190,7 +190,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance)
-Provides: product_flavor(Aeon) = 20231226-0
+Provides: product_flavor(Aeon) = 20231228-0
Summary: openSUSE Aeon%{?betaversion: %{betaversion}}
%description appliance
@@ -255,11 +255,11 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>Aeon</name>
- <version>20231226</version>
+ <version>20231228</version>
<release>0</release>
<endoflife></endoflife>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:aeon:20231226</cpeid>
+ <cpeid>cpe:/o:opensuse:aeon:20231228</cpeid>
<productline>Aeon</productline>
<register>
<pool>
++++++ Kalpa-release.spec ++++++
--- /var/tmp/diff_new_pack.YDDY73/_old 2023-12-28 23:41:34.806391139 +0100
+++ /var/tmp/diff_new_pack.YDDY73/_new 2023-12-28 23:41:34.810391286 +0100
@@ -17,7 +17,7 @@
Name: Kalpa-release
-Version: 20231226
+Version: 20231228
Release: 0
Summary: openSUSE Kalpa
License: GPL-2.0-or-later
@@ -172,9 +172,9 @@
%include %{SOURCE100}
Provides: %name-%version
Provides: product() = Kalpa
-Provides: product(Kalpa) = 20231226-0
+Provides: product(Kalpa) = 20231228-0
Provides: product-label() = openSUSE%20Kalpa
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Akalpa%3A20231226
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Akalpa%3A20231228
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-endoflife()
Requires: product_flavor(Kalpa)
@@ -190,7 +190,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance)
-Provides: product_flavor(Kalpa) = 20231226-0
+Provides: product_flavor(Kalpa) = 20231228-0
Summary: openSUSE Kalpa%{?betaversion: %{betaversion}}
%description appliance
@@ -255,11 +255,11 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>Kalpa</name>
- <version>20231226</version>
+ <version>20231228</version>
<release>0</release>
<endoflife></endoflife>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:kalpa:20231226</cpeid>
+ <cpeid>cpe:/o:opensuse:kalpa:20231228</cpeid>
<productline>Kalpa</productline>
<register>
<pool>
++++++ MicroOS-release.spec ++++++
--- /var/tmp/diff_new_pack.YDDY73/_old 2023-12-28 23:41:34.834392163 +0100
+++ /var/tmp/diff_new_pack.YDDY73/_new 2023-12-28 23:41:34.838392310 +0100
@@ -17,7 +17,7 @@
Name: MicroOS-release
-Version: 20231226
+Version: 20231228
Release: 0
Summary: openSUSE MicroOS
License: GPL-2.0-or-later
@@ -177,9 +177,9 @@
%include %{SOURCE100}
Provides: %name-%version
Provides: product() = MicroOS
-Provides: product(MicroOS) = 20231226-0
+Provides: product(MicroOS) = 20231228-0
Provides: product-label() = openSUSE%20MicroOS
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Amicroos%3A20231226
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Amicroos%3A20231228
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-endoflife()
Requires: product_flavor(MicroOS)
@@ -195,7 +195,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(dvd)
-Provides: product_flavor(MicroOS) = 20231226-0
+Provides: product_flavor(MicroOS) = 20231228-0
Summary: openSUSE MicroOS%{?betaversion: %{betaversion}}
%description dvd
@@ -211,7 +211,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance)
-Provides: product_flavor(MicroOS) = 20231226-0
+Provides: product_flavor(MicroOS) = 20231228-0
Summary: openSUSE MicroOS%{?betaversion: %{betaversion}}
%description appliance
@@ -276,11 +276,11 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>MicroOS</name>
- <version>20231226</version>
+ <version>20231228</version>
<release>0</release>
<endoflife></endoflife>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:microos:20231226</cpeid>
+ <cpeid>cpe:/o:opensuse:microos:20231228</cpeid>
<productline>MicroOS</productline>
<register>
<pool>
++++++ openSUSE-Addon-NonOss-release.spec ++++++
--- /var/tmp/diff_new_pack.YDDY73/_old 2023-12-28 23:41:34.862393187 +0100
+++ /var/tmp/diff_new_pack.YDDY73/_new 2023-12-28 23:41:34.862393187 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package openSUSE-Addon-NonOss-release (Version 20231226)
+# spec file for package openSUSE-Addon-NonOss-release (Version 20231228)
#
# Copyright (c) 2023 openSUSE.
#
@@ -16,7 +16,7 @@
Name: openSUSE-Addon-NonOss-release
%define product openSUSE-Addon-NonOss
Summary: openSUSE NonOSS Addon%{?betaversion: %{betaversion}}
-Version: 20231226
+Version: 20231228
#!BcntSyncTag: openSUSE-Addon-NonOss
Release: 0
License: BSD-3-Clause
@@ -25,9 +25,9 @@
Provides: %name-%version
Provides: product() = openSUSE%2DAddon%2DNonOss
-Provides: product(openSUSE-Addon-NonOss) = 20231226-0
+Provides: product(openSUSE-Addon-NonOss) = 20231228-0
Provides: product-label() = non%20oss%20addon
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Daddon%2Dnonoss%3A20231226
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Daddon%2Dnonoss%3A20231228
AutoReqProv: on
@@ -50,10 +50,10 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE-Addon-NonOss</name>
- <version>20231226</version>
+ <version>20231228</version>
<release>0</release>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse-addon-nonoss:20231226</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse-addon-nonoss:20231228</cpeid>
<register>
<pool>
</pool>
++++++ openSUSE-release.spec ++++++
--- /var/tmp/diff_new_pack.YDDY73/_old 2023-12-28 23:41:34.890394210 +0100
+++ /var/tmp/diff_new_pack.YDDY73/_new 2023-12-28 23:41:34.890394210 +0100
@@ -20,7 +20,7 @@
#define betaversion %{nil}
%define codename Tumbleweed
Name: openSUSE-release
-Version: 20231226
+Version: 20231228
Release: 0
# 0 is the product release, not the build release of this package
Summary: openSUSE Tumbleweed
@@ -184,7 +184,7 @@
%include %{SOURCE100}
Provides: %name-%version
Provides: product() = openSUSE
-Provides: product(openSUSE) = 20231226-0
+Provides: product(openSUSE) = 20231228-0
%ifarch x86_64
Provides: product-register-target() = openSUSE%2DTumbleweed%2Dx86_64
%endif
@@ -198,7 +198,7 @@
Provides: product-register-target() = openSUSE%2DTumbleweed%2Daarch64
%endif
Provides: product-label() = openSUSE
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20231226
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20231228
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-url(repository) = http%3A%2F%2Fdownload.opensuse.org%2Ftumbleweed%2Frepo%2Foss%2F
Requires: product_flavor(openSUSE)
@@ -212,7 +212,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(ftp)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description ftp
@@ -227,7 +227,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(mini)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description mini
@@ -242,7 +242,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(dvd)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description dvd
@@ -257,7 +257,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-kde)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description livecd-kde
@@ -272,7 +272,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-x11)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description livecd-x11
@@ -287,7 +287,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-gnome)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description livecd-gnome
@@ -302,7 +302,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-xfce)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description livecd-xfce
@@ -317,7 +317,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-kde)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description usb-kde
@@ -332,7 +332,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-gnome)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description usb-gnome
@@ -347,7 +347,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-x11)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description usb-x11
@@ -362,7 +362,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance
@@ -377,7 +377,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-docker)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-docker
@@ -392,7 +392,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-kvm)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-kvm
@@ -407,7 +407,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-vmware)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-vmware
@@ -422,7 +422,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-openstack)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-openstack
@@ -437,7 +437,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-hyperv)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-hyperv
@@ -452,7 +452,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-vagrant)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-vagrant
@@ -467,7 +467,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-wsl)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-wsl
@@ -482,7 +482,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-custom)
-Provides: product_flavor(openSUSE) = 20231226-0
+Provides: product_flavor(openSUSE) = 20231228-0
Summary: openSUSE Tumbleweed%{?betaversion: %{betaversion}}
%description appliance-custom
@@ -562,10 +562,10 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE</name>
- <version>20231226</version>
+ <version>20231228</version>
<release>0</release>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse:20231226</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse:20231228</cpeid>
<productline>openSUSE</productline>
<register>
<target>openSUSE-Tumbleweed-x86_64</target>
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package mpclient for openSUSE:Factory checked in at 2023-12-28 23:04:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpclient (Old)
and /work/SRC/openSUSE:Factory/.mpclient.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mpclient"
Thu Dec 28 23:04:05 2023 rev:6 rq:1135537 version:0.35
Changes:
--------
--- /work/SRC/openSUSE:Factory/mpclient/mpclient.changes 2021-12-12 21:28:28.880372528 +0100
+++ /work/SRC/openSUSE:Factory/.mpclient.new.28375/mpclient.changes 2023-12-28 23:05:26.135152871 +0100
@@ -1,0 +2,17 @@
+Thu Dec 28 18:17:36 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 0.35:
+ * fix null pointer dereference on bad status format
+ * add "%kbitrate%", "%audioformat%", "%samplerate%", "%bits%"
+ and "%channels%" options to the "status" command
+ * the "%state%" option of the "status" command now returns
+ "stopped" when the MPD server is stopped
+ * add commands "lsdirs", "addplaylist", "delplaylist",
+ "moveplaylist", "renplaylist", "clearplaylist"
+ * add "playlist" option "--with-prio"
+ * bash completion: pass "--" to mpc to allow parameters with
+ dash
+ * bash completion: fix filenames with paranetheses
+ * bash completion: override $MPC_FORMAT
+
+-------------------------------------------------------------------
Old:
----
mpc-0.34.tar.xz
New:
----
mpc-0.35.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mpclient.spec ++++++
--- /var/tmp/diff_new_pack.Ije8Fw/_old 2023-12-28 23:05:26.531167345 +0100
+++ /var/tmp/diff_new_pack.Ije8Fw/_new 2023-12-28 23:05:26.531167345 +0100
@@ -1,7 +1,7 @@
#
# spec file for package mpclient
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2012 Pascal Bleser <pascal.bleser(a)opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
Name: mpclient
-Version: 0.34
+Version: 0.35
Release: 0
Summary: A minimalist command line interface to MPD
License: GPL-2.0-or-later
++++++ mpc-0.34.tar.xz -> mpc-0.35.tar.xz ++++++
++++ 2791 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package cgns for openSUSE:Factory checked in at 2023-12-28 23:04:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cgns (Old)
and /work/SRC/openSUSE:Factory/.cgns.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cgns"
Thu Dec 28 23:04:03 2023 rev:8 rq:1135545 version:4.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/cgns/cgns.changes 2023-12-18 22:57:06.374167600 +0100
+++ /work/SRC/openSUSE:Factory/.cgns.new.28375/cgns.changes 2023-12-28 23:05:25.539131089 +0100
@@ -1,0 +2,5 @@
+Thu Dec 28 14:28:20 UTC 2023 - Dmitry Roshchin <dmitry_r(a)opensuse.org>
+
+- Fix library package name
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cgns.spec ++++++
--- /var/tmp/diff_new_pack.Lc1eVA/_old 2023-12-28 23:05:25.951146147 +0100
+++ /var/tmp/diff_new_pack.Lc1eVA/_new 2023-12-28 23:05:25.951146147 +0100
@@ -16,7 +16,7 @@
#
-%define libname libcgns4_3
+%define libname libcgns4_4
Name: cgns
Version: 4.4.0
Release: 0
@@ -43,6 +43,8 @@
Group: System/Libraries
Provides: lib%{name} = %{version}
Obsoletes: lib%{name} < %{version}
+# Fix file conflict with incorrectly named shlib committed previously
+Conflicts: libcgns4_3
%description -n %{libname}
The CFD General Notation System (CGNS) provides a general, portable,
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libmirage for openSUSE:Factory checked in at 2023-12-28 23:04:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
and /work/SRC/openSUSE:Factory/.libmirage.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmirage"
Thu Dec 28 23:04:01 2023 rev:26 rq:1135522 version:3.2.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes 2022-02-05 23:23:47.623674144 +0100
+++ /work/SRC/openSUSE:Factory/.libmirage.new.28375/libmirage.changes 2023-12-28 23:05:24.867106528 +0100
@@ -1,0 +2,7 @@
+Thu Dec 28 17:03:05 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 3.2.7:
+ * SNDFILE filter: ignore .BIN files
+ * SNDFILE filter: fix signalling of read errors
+
+-------------------------------------------------------------------
Old:
----
libmirage-3.2.6.tar.xz
New:
----
libmirage-3.2.7.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libmirage.spec ++++++
--- /var/tmp/diff_new_pack.BTy5sx/_old 2023-12-28 23:05:25.287121878 +0100
+++ /var/tmp/diff_new_pack.BTy5sx/_new 2023-12-28 23:05:25.287121878 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libmirage
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
Summary: A CD-ROM image access library
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
-Version: 3.2.6
+Version: 3.2.7
Release: 0
URL: https://cdemu.sourceforge.io/about/libmirage/
#Git-Clone: https://github.com/cdemu/cdemu.git
++++++ libmirage-3.2.6.tar.xz -> libmirage-3.2.7.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmirage-3.2.6/CMakeLists.txt new/libmirage-3.2.7/CMakeLists.txt
--- old/libmirage-3.2.6/CMakeLists.txt 2021-12-18 12:18:52.000000000 +0100
+++ new/libmirage-3.2.7/CMakeLists.txt 2023-11-29 17:39:11.000000000 +0100
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.7)
-project(libmirage VERSION 3.2.6 LANGUAGES C)
+project(libmirage VERSION 3.2.7 LANGUAGES C)
# Semantic versioning 2.0.0 (semver.org):
# MAJOR is increased when backwards-incompatible changes are made to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmirage-3.2.6/README new/libmirage-3.2.7/README
--- old/libmirage-3.2.6/README 2021-12-18 12:18:52.000000000 +0100
+++ new/libmirage-3.2.7/README 2023-11-29 17:39:11.000000000 +0100
@@ -1,5 +1,5 @@
libMirage
-3.2.6
+3.2.7
~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmirage-3.2.6/debian/changelog new/libmirage-3.2.7/debian/changelog
--- old/libmirage-3.2.6/debian/changelog 2021-12-18 12:18:52.000000000 +0100
+++ new/libmirage-3.2.7/debian/changelog 2023-11-29 17:39:11.000000000 +0100
@@ -1,3 +1,3 @@
-libmirage (3.2.6-1) debian; urgency=low
+libmirage (3.2.7-1) debian; urgency=low
* Initial Release. Closes: #705409
-- Henrik Stokseth <hstokset(a)users.sourceforge.net> Sat, 05 Apr 2014 12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmirage-3.2.6/debian/compat new/libmirage-3.2.7/debian/compat
--- old/libmirage-3.2.6/debian/compat 2021-12-18 12:18:52.000000000 +0100
+++ new/libmirage-3.2.7/debian/compat 2023-11-29 17:39:11.000000000 +0100
@@ -1 +1 @@
-9
+10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmirage-3.2.6/debian/control new/libmirage-3.2.7/debian/control
--- old/libmirage-3.2.6/debian/control 2021-12-18 12:18:52.000000000 +0100
+++ new/libmirage-3.2.7/debian/control 2023-11-29 17:39:11.000000000 +0100
@@ -5,7 +5,7 @@
Maintainer: Henrik Stokseth <hstokset(a)users.sourceforge.net>
Build-Depends: pkg-config (>= 0.14), libglib2.0-dev (>= 2.38), libsndfile1-dev,
libsamplerate0-dev, zlib1g-dev, libbz2-dev, liblzma-dev, gtk-doc-tools,
- gobject-introspection, libgirepository1.0-dev, debhelper (>= 9), intltool,
+ gobject-introspection, libgirepository1.0-dev, debhelper (>= 10), intltool,
cmake (>= 3.7.0)
Standards-Version: 4.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmirage-3.2.6/filters/filter-sndfile/filter-stream.c new/libmirage-3.2.7/filters/filter-sndfile/filter-stream.c
--- old/libmirage-3.2.6/filters/filter-sndfile/filter-stream.c 2021-12-18 12:18:52.000000000 +0100
+++ new/libmirage-3.2.7/filters/filter-sndfile/filter-stream.c 2023-11-29 17:39:11.000000000 +0100
@@ -158,6 +158,18 @@
self->priv->format.format |= SF_FORMAT_PCM_16; /* Minor format */
open_mode = SFM_RDWR;
+ } else {
+ const gchar *filename = mirage_stream_get_filename(stream);
+ const gchar *suffix = mirage_helper_get_suffix(filename);
+
+ /* Prevent this filter stream from operating on .BIN files, as
+ those are most likely raw PCM data, but depending on the
+ initial pattern, could be mistaken for a different stream.
+ See: https://github.com/cdemu/cdemu/issues/26 */
+ if (!g_ascii_strcasecmp(suffix, ".bin")) {
+ g_set_error(error, MIRAGE_ERROR, MIRAGE_ERROR_CANNOT_HANDLE, Q_("Filter cannot handle given data: .BIN files are not supported."));
+ return FALSE;
+ }
}
/* Seek to beginning */
@@ -279,26 +291,34 @@
if (self->priv->io_ratio == 1.0) {
/* Seek to beginning of block */
- sf_seek(self->priv->sndfile, block*NUM_FRAMES, SEEK_SET);
+ sf_count_t offset = block*NUM_FRAMES;
+ if (sf_seek(self->priv->sndfile, offset, SEEK_SET) < 0) {
+ MIRAGE_DEBUG(self, MIRAGE_DEBUG_STREAM, "%s: failed to seek to offset %" G_GOFFSET_MODIFIER "d in underlying stream!\n", __debug__, offset);
+ return -1;
+ }
/* Read frames */
read_length = sf_readf_short(self->priv->sndfile, (short *)self->priv->buffer, NUM_FRAMES);
if (!read_length) {
MIRAGE_DEBUG(self, MIRAGE_DEBUG_STREAM, "%s: block not read; EOF reached?\n", __debug__);
- return 0;
+ return -1;
}
} else {
gint resampler_error;
+ sf_count_t offset = block*NUM_FRAMES*self->priv->io_ratio;
/* Seek to beginning of block; this is in original,
non-resampled, stream */
- sf_seek(self->priv->sndfile, block*NUM_FRAMES*self->priv->io_ratio, SEEK_SET);
+ if (sf_seek(self->priv->sndfile, offset, SEEK_SET) < 0) {
+ MIRAGE_DEBUG(self, MIRAGE_DEBUG_STREAM, "%s: failed to seek to offset %" G_GOFFSET_MODIFIER "d in underlying stream!\n", __debug__, offset);
+ return -1;
+ }
/* Read read frames into resampler's input buffer */
read_length = sf_readf_float(self->priv->sndfile, self->priv->resample_buffer_in, NUM_FRAMES*self->priv->io_ratio);
if (!read_length) {
MIRAGE_DEBUG(self, MIRAGE_DEBUG_STREAM, "%s: block not read; EOF reached?\n", __debug__);
- return 0;
+ return -1;
}
/* Set fields in data structure; most are static and have
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package lttng-tools for openSUSE:Factory checked in at 2023-12-28 23:03:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lttng-tools (Old)
and /work/SRC/openSUSE:Factory/.lttng-tools.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lttng-tools"
Thu Dec 28 23:03:59 2023 rev:7 rq:1135514 version:2.13.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/lttng-tools/lttng-tools.changes 2023-01-30 17:25:43.969297897 +0100
+++ /work/SRC/openSUSE:Factory/.lttng-tools.new.28375/lttng-tools.changes 2023-12-28 23:05:22.807031237 +0100
@@ -1,0 +2,32 @@
+Thu Dec 28 17:05:09 UTC 2023 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 2.13.11:
+ * docs: fix: Match stated automake requirement
+ * Docs: Fix broken reference in lttng-add-trigger
+ * Docs: Fix broken reference to lttng-concepts(7) man page
+ disk space
+ * Fix: lttng-add-context: leak of application context
+ parameters
+ * Fix: sessiond: bad fd used while rotating exiting app's
+ buffers
+ * Fix: consumerd: slow metadata push slows down application
+ registration
+ * event-rule: set event rule loglevel to domain specific value
+ when unset
+ * Fix: sessiond: preserve jul/log4j domain loglevels
+ * Fix: sessiond: crash enabling event rules that differ only by
+ loglevel type
+ * Fix: sessiond: incorrect use of exclusions array leads to
+ crash
+ * Fix: sessiond: silent kernel notifier registration error
+ * Fix: sessiond: size-based notification occasionally not
+ triggered
+ * Fix: adding a user space probe fails on thumb functions
+ * Fix: Tests that assume CPU 0 is present
+ * Fix: Wrong assumption about possible CPUs
+ * Fix: lttng remove-trigger -h fails
+ * Fix: ini parser: truncation of value name
+ * Fix: truncated len in
+ lttng_event_rule_user_tracepoint_serialize()
+
+-------------------------------------------------------------------
Old:
----
lttng-tools-2.13.9.tar.bz2
lttng-tools-2.13.9.tar.bz2.asc
New:
----
lttng-tools-2.13.11.tar.bz2
lttng-tools-2.13.11.tar.bz2.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lttng-tools.spec ++++++
--- /var/tmp/diff_new_pack.1EjXKD/_old 2023-12-28 23:05:23.311049658 +0100
+++ /var/tmp/diff_new_pack.1EjXKD/_new 2023-12-28 23:05:23.311049658 +0100
@@ -20,7 +20,7 @@
%define soname_ctl liblttng-ctl
%define sover_ctl 0
Name: lttng-tools
-Version: 2.13.9
+Version: 2.13.11
Release: 0
Summary: Linux Trace Toolkit Next Generation userspace tools
License: GPL-2.0-only AND LGPL-2.1-only
++++++ lttng-tools-2.13.9.tar.bz2 -> lttng-tools-2.13.11.tar.bz2 ++++++
++++ 4120 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package wxMaxima for openSUSE:Factory checked in at 2023-12-28 23:03:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wxMaxima (Old)
and /work/SRC/openSUSE:Factory/.wxMaxima.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wxMaxima"
Thu Dec 28 23:03:55 2023 rev:75 rq:1135524 version:23.12.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/wxMaxima/wxMaxima.changes 2023-11-23 21:44:08.183200119 +0100
+++ /work/SRC/openSUSE:Factory/.wxMaxima.new.28375/wxMaxima.changes 2023-12-28 23:05:20.334940888 +0100
@@ -1,0 +2,29 @@
+Mon Dec 25 11:21:46 UTC 2023 - Atri Bhattacharya <badshah400(a)gmail.com>
+
+- Update to version 23.12.0:
+ * Input text selection was cleared when right-clicking on it
+ (gh#wxMaxima-developers/wxmaxima#1845).
+ * Pressing both mouse buttons simultaneously caused an assert
+ (gh#wxMaxima-developers/wxmaxima#1844).
+ * Corrected the cursor position after unsuccessful
+ autocompletes.
+ * Corrected the handling of question prompts from maxima
+ (gh#wxMaxima-developers/wxmaxima#1827).
+ * Bug corrections in the search functionality.
+ * RegEx search works again.
+ * Clicking on the notification now is more likely to focus the
+ worksheet.
+ * Corrected the cell folding logic
+ (gh#wxMaxima-developers/wxmaxima#1853).
+ * Folded cells are no more evaluated
+ (gh#wxMaxima-developers/wxmaxima#1853).
+ * Now we try to generate a backtrace on crashes
+ (gh#wxMaxima-developers/wxmaxima#1802).
+ * Corrected the position of integral limits.
+ * Nicer product, sum and integral signs.
+ * Hidden cells weren't restored from wxm files
+ (gh#wxMaxima-developers/wxmaxima#1855).
+ * diff() no longer causes spurious multiplication dots
+ (gh#wxMaxima-developers/wxmaxima#1825).
+
+-------------------------------------------------------------------
Old:
----
wxmaxima-Version-23.11.0.tar.gz
New:
----
wxmaxima-Version-23.12.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wxMaxima.spec ++++++
--- /var/tmp/diff_new_pack.8JXBbz/_old 2023-12-28 23:05:21.422980653 +0100
+++ /var/tmp/diff_new_pack.8JXBbz/_new 2023-12-28 23:05:21.422980653 +0100
@@ -23,7 +23,7 @@
%define __builder ninja
%define tarname wxmaxima
Name: wxMaxima
-Version: 23.11.0
+Version: 23.12.0
Release: 0
Summary: Graphical User Interface for the maxima Computer Algebra System
License: GPL-2.0-or-later
++++++ wxmaxima-Version-23.11.0.tar.gz -> wxmaxima-Version-23.12.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/wxMaxima/wxmaxima-Version-23.11.0.tar.gz /work/SRC/openSUSE:Factory/.wxMaxima.new.28375/wxmaxima-Version-23.12.0.tar.gz differ: char 18, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nomino for openSUSE:Factory checked in at 2023-12-28 23:03:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nomino (Old)
and /work/SRC/openSUSE:Factory/.nomino.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nomino"
Thu Dec 28 23:03:52 2023 rev:3 rq:1135510 version:1.3.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/nomino/nomino.changes 2023-08-30 10:23:23.530377666 +0200
+++ /work/SRC/openSUSE:Factory/.nomino.new.28375/nomino.changes 2023-12-28 23:05:19.214899953 +0100
@@ -1,0 +2,7 @@
+Thu Dec 28 03:57:51 UTC 2023 - Joshua Smith <jsmithfpv(a)gmail.com>
+
+- Update to version 1.3.3:
+ * update dependencies
+- Modernize to obs_scm
+
+-------------------------------------------------------------------
Old:
----
cargo_config
nomino-1.3.2.tar.zst
New:
----
nomino-1.3.3.obscpio
nomino.obsinfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nomino.spec ++++++
--- /var/tmp/diff_new_pack.OdVgSM/_old 2023-12-28 23:05:19.938926415 +0100
+++ /var/tmp/diff_new_pack.OdVgSM/_new 2023-12-28 23:05:19.938926415 +0100
@@ -17,14 +17,13 @@
Name: nomino
-Version: 1.3.2
+Version: 1.3.3
Release: 0
Summary: Batch rename utility for developers
License: Apache-2.0 OR MIT
URL: https://github.com/yaa110/nomino
-Source0: %{name}-%{version}.tar.zst
+Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
-Source2: cargo_config
BuildRequires: cargo-packaging
%description
@@ -32,7 +31,6 @@
%prep
%autosetup -a 1
-install -D -m 644 %{SOURCE2} .cargo/config
%build
%{cargo_build}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.OdVgSM/_old 2023-12-28 23:05:19.966927438 +0100
+++ /var/tmp/diff_new_pack.OdVgSM/_new 2023-12-28 23:05:19.970927584 +0100
@@ -1,5 +1,5 @@
<services>
- <service name="tar_scm" mode="disabled">
+ <service name="obs_scm" mode="disabled">
<param name="url">https://github.com/yaa110/nomino.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
@@ -8,13 +8,12 @@
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
- <service name="set_version" mode="disabled">
- <param name="basename">nomino</param>
- </service>
- <service name="recompress" mode="disabled">
+ <service name="set_version" mode="disabled"/>
+ <service name="tar" mode="buildtime"/>
+ <service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
- <param name="compression">zst</param>
- </service>
+ <param name="compression">gz</param>
+ </service>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">nomino</param>
<param name="compression">zst</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.OdVgSM/_old 2023-12-28 23:05:19.990928315 +0100
+++ /var/tmp/diff_new_pack.OdVgSM/_new 2023-12-28 23:05:19.990928315 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/yaa110/nomino.git</param>
- <param name="changesrevision">d9a467b98eddeb380744d8d9756482e6ba4727ba</param></service></servicedata>
+ <param name="changesrevision">c5140a6156e91424e2ddfa74ce112a8e7d614949</param></service></servicedata>
(No newline at EOF)
++++++ nomino.obsinfo ++++++
name: nomino
version: 1.3.3
mtime: 1698615263
commit: c5140a6156e91424e2ddfa74ce112a8e7d614949
++++++ vendor.tar.zst ++++++
Binary files /var/tmp/diff_new_pack.OdVgSM/_old and /var/tmp/diff_new_pack.OdVgSM/_new differ
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-papermill for openSUSE:Factory checked in at 2023-12-28 23:03:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-papermill (Old)
and /work/SRC/openSUSE:Factory/.python-papermill.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-papermill"
Thu Dec 28 23:03:47 2023 rev:12 rq:1135502 version:2.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-papermill/python-papermill.changes 2023-04-30 16:07:57.804221229 +0200
+++ /work/SRC/openSUSE:Factory/.python-papermill.new.28375/python-papermill.changes 2023-12-28 23:05:17.082822031 +0100
@@ -1,0 +2,18 @@
+Thu Dec 28 15:30:12 UTC 2023 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 2.5.0
+ * Added support for python 3.11 and 3.12 PR #733
+ * Dropped support for 3.7
+ * ABS added support for using a Service principle via EnvCreds PR
+ #728
+ * Added “github” extra deps. to the “all” extra PR #715
+ * Added a warning if non set parameter is passed through CLI PR
+ #701
+ * Skip black formatting when encountering attribute errors PR
+ #699
+ * Removed forced deepcopy of notebook objects PR #694
+ * Always update notebook version on execute PR #691
+ * Set minimum version for tenacity PR #682
+ * Removed use of ansiwrap PR #681
+
+-------------------------------------------------------------------
Old:
----
papermill-2.4.0.tar.gz
New:
----
papermill-2.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-papermill.spec ++++++
--- /var/tmp/diff_new_pack.LNJ6sE/_old 2023-12-28 23:05:17.526838259 +0100
+++ /var/tmp/diff_new_pack.LNJ6sE/_new 2023-12-28 23:05:17.530838405 +0100
@@ -17,7 +17,7 @@
Name: python-papermill
-Version: 2.4.0
+Version: 2.5.0
Release: 0
Summary: Tool to parametrize and run Jupyter and nteract Notebooks
License: BSD-3-Clause
@@ -30,29 +30,27 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
-Requires: python-ansiwrap
Requires: python-click
Requires: python-entrypoints
Requires: python-nbclient >= 0.2.0
Requires: python-nbformat >= 5.1.2
Requires: python-requests >= 2.21.0
-Requires: python-tenacity
+Requires: python-tenacity >= 5.0.2
Requires: python-tqdm >= 4.32.2
Requires(post): update-alternatives
Requires(postun):update-alternatives
Recommends: python-azure-datalake-store >= 0.0.30
-Recommends: python-azure-storage-blob
-# https://build.opensuse.org/request/show/1083380#comments
-Requires: (python-typing_extensions if python-azure-storage-blob)
+Recommends: python-azure-identity >= 1.3.1
+Recommends: python-azure-storage-blob >= 12.1.0
Recommends: python-black
Recommends: python-boto3
Recommends: python-gcsfs >= 0.2.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
-BuildRequires: %{python_module ansiwrap}
-BuildRequires: %{python_module azure-datalake-store}
-BuildRequires: %{python_module azure-storage-blob}
+BuildRequires: %{python_module azure-datalake-store >= 0.0.30}
+BuildRequires: %{python_module azure-identity >= 1.3.1}
+BuildRequires: %{python_module azure-storage-blob >= 12.1.0}
BuildRequires: %{python_module boto3}
BuildRequires: %{python_module click}
BuildRequires: %{python_module entrypoints}
@@ -71,7 +69,7 @@
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.21.0}
-BuildRequires: %{python_module tenacity}
+BuildRequires: %{python_module tenacity >= 5.0.2}
BuildRequires: %{python_module tqdm >= 4.32.2}
# /SECTION
%python_subpackages
@@ -82,12 +80,14 @@
%prep
%autosetup -p1 -n papermill-%{version}
+# docs subfolder not in sdist https://github.com/nteract/papermill/issues/737
+sed -i '/docs_/d' setup.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/papermill
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -107,5 +107,5 @@
%license LICENSE
%python_alternative %{_bindir}/papermill
%{python_sitelib}/papermill
-%{python_sitelib}/papermill-%{version}*-info
+%{python_sitelib}/papermill-%{version}.dist-info
++++++ papermill-2.4.0.tar.gz -> papermill-2.5.0.tar.gz ++++++
++++ 2055 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-terminado for openSUSE:Factory checked in at 2023-12-28 23:03:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-terminado (Old)
and /work/SRC/openSUSE:Factory/.python-terminado.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-terminado"
Thu Dec 28 23:03:45 2023 rev:20 rq:1135501 version:0.18.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-terminado/python-terminado.changes 2023-01-08 21:25:56.523390591 +0100
+++ /work/SRC/openSUSE:Factory/.python-terminado.new.28375/python-terminado.changes 2023-12-28 23:05:16.450798932 +0100
@@ -1,0 +2,7 @@
+Thu Dec 28 15:35:41 UTC 2023 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 0.18.0
+ * code maintenance updates: typing, linting
+ * drop Python 3.7
+
+-------------------------------------------------------------------
Old:
----
terminado-0.17.1.tar.gz
New:
----
terminado-0.18.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-terminado.spec ++++++
--- /var/tmp/diff_new_pack.AMLBoq/_old 2023-12-28 23:05:16.870814282 +0100
+++ /var/tmp/diff_new_pack.AMLBoq/_new 2023-12-28 23:05:16.870814282 +0100
@@ -17,14 +17,14 @@
Name: python-terminado
-Version: 0.17.1
+Version: 0.18.0
Release: 0
Summary: Terminals served to termjs using Tornado websockets
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/jupyter/terminado
Source: https://files.pythonhosted.org/packages/source/t/terminado/terminado-%{vers…
-BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling >= 0.25}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module ptyprocess}
++++++ terminado-0.17.1.tar.gz -> terminado-0.18.0.tar.gz ++++++
++++ 2121 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-nbconvert for openSUSE:Factory checked in at 2023-12-28 23:03:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbconvert (Old)
and /work/SRC/openSUSE:Factory/.python-nbconvert.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbconvert"
Thu Dec 28 23:03:42 2023 rev:30 rq:1135497 version:7.13.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbconvert/python-nbconvert.changes 2023-12-17 21:34:36.326556165 +0100
+++ /work/SRC/openSUSE:Factory/.python-nbconvert.new.28375/python-nbconvert.changes 2023-12-28 23:05:13.866704490 +0100
@@ -1,0 +2,8 @@
+Thu Dec 28 15:21:52 UTC 2023 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 7.13.1
+ * Restore removed import #2086 (@blink1073)
+- Release 7.13.0
+ * Add table, td, tr to allowed list of tags #2083 (@yuvipanda)
+
+-------------------------------------------------------------------
Old:
----
nbconvert-7.12.0.tar.gz
New:
----
nbconvert-7.13.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbconvert.spec ++++++
--- /var/tmp/diff_new_pack.TWAuHR/_old 2023-12-28 23:05:14.290719986 +0100
+++ /var/tmp/diff_new_pack.TWAuHR/_new 2023-12-28 23:05:14.290719986 +0100
@@ -30,9 +30,9 @@
%bcond_with libalternatives
%endif
# X.X.0 gets abbreviated by pythondistdeps
-%define shortversion 7.12
+%define shortversion 7.13.1
Name: python-nbconvert%{psuffix}
-Version: 7.12.0
+Version: 7.13.1
Release: 0
Summary: Conversion of Jupyter Notebooks
License: BSD-3-Clause AND MIT
@@ -80,7 +80,7 @@
%if %{with test}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module ipykernel}
-BuildRequires: %{python_module ipywidgets >= 7}
+BuildRequires: %{python_module ipywidgets >= 7.5}
BuildRequires: %{python_module nbconvert = %{version}}
BuildRequires: %{python_module pytest}
%endif
++++++ nbconvert-7.12.0.tar.gz -> nbconvert-7.13.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/.github/workflows/tests.yml new/nbconvert-7.13.1/.github/workflows/tests.yml
--- old/nbconvert-7.12.0/.github/workflows/tests.yml 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/.github/workflows/tests.yml 2020-02-02 01:00:00.000000000 +0100
@@ -23,13 +23,14 @@
strategy:
matrix:
os: ["ubuntu-20.04", "macos-latest", "windows-latest"]
- python-version: ["3.8", "3.11"]
+ python-version: ["3.8", "3.12"]
include:
- os: "windows-latest"
python-version: "3.9"
- - os: "ubuntu-20.04"
+ - os: "macos-latest"
python-version: "3.10"
- os: "ubuntu-20.04"
+ python-version: "3.11"
fail-fast: false
steps:
- uses: actions/checkout@v4
@@ -57,15 +58,6 @@
- uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
- python312:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- with:
- python_version: "3.12"
- - run: hatch run test:test
-
coverage:
runs-on: ubuntu-latest
needs:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/.pre-commit-config.yaml new/nbconvert-7.13.1/.pre-commit-config.yaml
--- old/nbconvert-7.12.0/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
@@ -21,7 +21,7 @@
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.27.1
+ rev: 0.27.3
hooks:
- id: check-github-workflows
@@ -51,7 +51,7 @@
args: ["-L", "sur,nd"]
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: "v1.6.1"
+ rev: "v1.7.1"
hooks:
- id: mypy
files: "^nbconvert"
@@ -81,7 +81,7 @@
- id: rst-inline-touching-normal
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.1.4
+ rev: v0.1.7
hooks:
- id: ruff
types_or: [python, jupyter]
@@ -90,7 +90,7 @@
types_or: [python, jupyter]
- repo: https://github.com/scientific-python/cookie
- rev: "2023.10.27"
+ rev: "2023.11.17"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/CHANGELOG.md new/nbconvert-7.13.1/CHANGELOG.md
--- old/nbconvert-7.12.0/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -2,6 +2,42 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 7.13.1
+
+([Full Changelog](https://github.com/jupyter/nbconvert/compare/v7.13.0...15b2bc2e2…)
+
+### Bugs fixed
+
+- Restore removed import [#2086](https://github.com/jupyter/nbconvert/pull/2086) ([@blink1073](https://github.com/blink1073))
+
+### Contributors to this release
+
+([GitHub contributors page for this release](https://github.com/jupyter/nbconvert/graphs/contributors?from=2023…)
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Ablink1073+updated%3A2023-12-18..2023-12-21&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
+## 7.13.0
+
+([Full Changelog](https://github.com/jupyter/nbconvert/compare/v7.12.0...c72ad7625…)
+
+### Enhancements made
+
+- Add table, td, tr to allowed list of tags [#2083](https://github.com/jupyter/nbconvert/pull/2083) ([@yuvipanda](https://github.com/yuvipanda))
+
+### Maintenance and upkeep improvements
+
+- Remove twitter links that cause linkcheck to fail [#2084](https://github.com/jupyter/nbconvert/pull/2084) ([@yuvipanda](https://github.com/yuvipanda))
+- Update ruff config [#2079](https://github.com/jupyter/nbconvert/pull/2079) ([@blink1073](https://github.com/blink1073))
+- chore: update pre-commit hooks [#2076](https://github.com/jupyter/nbconvert/pull/2076) ([@pre-commit-ci](https://github.com/pre-commit-ci))
+
+### Contributors to this release
+
+([GitHub contributors page for this release](https://github.com/jupyter/nbconvert/graphs/contributors?from=2023…)
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Ablink1073+updated%3A2023-12-04..2023-12-18&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Apre-commit-ci+updated%3A2023-12-04..2023-12-18&type=Issues) | [@yuvipanda](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Ayuvipanda+updated%3A2023-12-04..2023-12-18&type=Issues)
+
## 7.12.0
([Full Changelog](https://github.com/jupyter/nbconvert/compare/v7.11.0...4f6ab6583…)
@@ -24,8 +60,6 @@
[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Ablink1073+updated%3A2023-11-06..2023-12-04&type=Issues) | [@Carreau](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3ACarreau+updated%3A2023-11-06..2023-12-04&type=Issues) | [@gnestor](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Agnestor+updated%3A2023-11-06..2023-12-04&type=Issues) | [@minrk](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Aminrk+updated%3A2023-11-06..2023-12-04&type=Issues) | [@mpacer](https://github.com/search?q=repo%3Ajupyter%2Fnbconvert+involves%3Ampacer+updated%3A2023-11-06..2023-12-04&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 7.11.0
([Full Changelog](https://github.com/jupyter/nbconvert/compare/v7.10.0...422dd2a16…)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/PKG-INFO new/nbconvert-7.13.1/PKG-INFO
--- old/nbconvert-7.12.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: nbconvert
-Version: 7.12.0
+Version: 7.13.1
Summary: Converting Jupyter Notebooks
Project-URL: Homepage, https://jupyter.org
Author-email: Jupyter Development Team <jupyter(a)googlegroups.com>
@@ -79,7 +79,7 @@
Provides-Extra: test
Requires-Dist: flaky; extra == 'test'
Requires-Dist: ipykernel; extra == 'test'
-Requires-Dist: ipywidgets>=7; extra == 'test'
+Requires-Dist: ipywidgets>=7.5; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Provides-Extra: webpdf
Requires-Dist: playwright; extra == 'webpdf'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/docs/autogen_config.py new/nbconvert-7.13.1/docs/autogen_config.py
--- old/nbconvert-7.12.0/docs/autogen_config.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/docs/autogen_config.py 2020-02-02 01:00:00.000000000 +0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
autogen_config.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/docs/source/conf.py new/nbconvert-7.13.1/docs/source/conf.py
--- old/nbconvert-7.12.0/docs/source/conf.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/docs/source/conf.py 2020-02-02 01:00:00.000000000 +0100
@@ -1,5 +1,3 @@
-#!/usr/bin/env python3
-#
# nbconvert documentation build configuration file, created by
# sphinx-quickstart on Tue Jun 9 17:11:30 2015.
#
@@ -25,7 +23,7 @@
# Automatically generate config_options.rst
with open(os.path.join(HERE, "..", "autogen_config.py")) as f:
- exec(compile(f.read(), "autogen_config.py", "exec"), {}) # noqa
+ exec(compile(f.read(), "autogen_config.py", "exec"), {}) # noqa: S102
print("Created docs for config options")
# -- General configuration ------------------------------------------------
@@ -47,7 +45,7 @@
]
try:
- import enchant # type:ignore # noqa
+ import enchant # noqa: F401
extensions += ["sphinxcontrib.spelling"]
except ImportError:
@@ -74,7 +72,7 @@
year = datetime.now(tz=timezone.utc).date().year
-copyright = "2015-%s, Jupyter Development Team" % year # noqa
+copyright = "2015-%s, Jupyter Development Team" % year
author = "Jupyter Development Team"
extlinks = {"ghpull": ("https://github.com/jupyter/nbconvert/pull/%s", "PR #%s")}
@@ -90,7 +88,7 @@
# Get information from _version.py and use it to generate version and release
_version_py = os.path.join(HERE, "../../nbconvert/_version.py")
version_ns = {}
-exec(compile(open(_version_py).read(), _version_py, "exec"), version_ns) # noqa
+exec(compile(open(_version_py).read(), _version_py, "exec"), version_ns) # noqa: SIM115, S102
# The short X.Y version.
version = "%i.%i" % version_ns["version_info"][:2]
# The full version, including alpha/beta/rc tags.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/docs/source/nbconvert_library.ipynb new/nbconvert-7.13.1/docs/source/nbconvert_library.ipynb
--- old/nbconvert-7.12.0/docs/source/nbconvert_library.ipynb 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/docs/source/nbconvert_library.ipynb 2020-02-02 01:00:00.000000000 +0100
@@ -488,15 +488,6 @@
"source": [
"@damianavila wrote the Nikola Plugin to [write blog post as Notebooks](http://damianavila.github.io/blog/posts/one-line-deployment-of-your-site-to-gh-pages.html) and is developing a js-extension to publish notebooks via one click from the web app."
]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "<center>\n",
- "<blockquote class=\"twitter-tweet\"><p>As <a href=\"https://twitter.com/Mbussonn\">@Mbussonn</a> requested... easieeeeer! Deploy your Nikola site with just a click in the IPython notebook! <a href=\"http://t.co/860sJunZvj\">http://t.co/860sJunZvj</a> cc <a href=\"https://twitter.com/ralsina\">@ralsina</a></p>— Damián Avila (@damian_avila) <a href=\"https://twitter.com/damian_avila/statuses/370306057828335616\">August 21, 2013</a></blockquote>\n",
- "</center>"
- ]
}
],
"metadata": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/hatch_build.py new/nbconvert-7.13.1/hatch_build.py
--- old/nbconvert-7.12.0/hatch_build.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/hatch_build.py 2020-02-02 01:00:00.000000000 +0100
@@ -47,7 +47,7 @@
os.makedirs(directory)
print("Downloading CSS: %s" % url)
try:
- css = urlopen(url).read() # noqa
+ css = urlopen(url).read() # noqa: S310
except Exception as e:
msg = f"Failed to download css from {url}: {e}"
print(msg, file=sys.stderr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/_version.py new/nbconvert-7.13.1/nbconvert/_version.py
--- old/nbconvert-7.12.0/nbconvert/_version.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/_version.py 2020-02-02 01:00:00.000000000 +0100
@@ -3,12 +3,12 @@
from typing import List
# Version string must appear intact for versioning
-__version__ = "7.12.0"
+__version__ = "7.13.1"
# Build up version_info tuple for backwards compatibility
pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
match = re.match(pattern, __version__)
-assert match is not None # noqa
+assert match is not None
parts: List[object] = [int(match[part]) for part in ["major", "minor", "patch"]]
if match["rest"]:
parts.append(match["rest"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/base.py new/nbconvert-7.13.1/nbconvert/exporters/base.py
--- old/nbconvert-7.12.0/nbconvert/exporters/base.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/base.py 2020-02-02 01:00:00.000000000 +0100
@@ -33,14 +33,10 @@
class ExporterNameError(NameError):
"""An exporter name error."""
- pass
-
class ExporterDisabledError(ValueError):
"""An exporter disabled error."""
- pass
-
def export(exporter, nb, **kw):
"""
@@ -74,7 +70,7 @@
if exporter is None:
msg = "Exporter is None"
raise TypeError(msg)
- elif not isinstance(exporter, Exporter) and not issubclass(exporter, Exporter):
+ if not isinstance(exporter, Exporter) and not issubclass(exporter, Exporter):
msg = "exporter does not inherit from Exporter (base)"
raise TypeError(msg)
if nb is None:
@@ -95,7 +91,7 @@
return output, resources
-def get_exporter(name, config=get_config()): # noqa
+def get_exporter(name, config=get_config()): # noqa: B008
"""Given an exporter name or import path, return a class ready to be instantiated
Raises ExporterName if exporter is not found or ExporterDisabledError if not enabled
@@ -110,8 +106,7 @@
exporter = items[0].load()
if getattr(exporter(config=config), "enabled", True):
return exporter
- else:
- raise ExporterDisabledError('Exporter "%s" disabled in configuration' % (name))
+ raise ExporterDisabledError('Exporter "%s" disabled in configuration' % (name))
except IndexError:
pass
@@ -120,11 +115,10 @@
exporter = import_item(name)
if getattr(exporter(config=config), "enabled", True):
return exporter
- else:
- raise ExporterDisabledError('Exporter "%s" disabled in configuration' % (name))
+ raise ExporterDisabledError('Exporter "%s" disabled in configuration' % (name))
except ImportError:
log = get_logger()
- log.error("Error importing %s" % name, exc_info=True)
+ log.error("Error importing %s", name, exc_info=True) # noqa: G201
msg = 'Unknown exporter "{}", did you mean one of: {}?'.format(
name, ", ".join(get_export_names())
@@ -132,7 +126,7 @@
raise ExporterNameError(msg)
-def get_export_names(config=get_config()): # noqa
+def get_export_names(config=get_config()): # noqa: B008
"""Return a list of the currently supported export targets
Exporters can be found in external packages by registering
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/exporter.py new/nbconvert-7.13.1/nbconvert/exporters/exporter.py
--- old/nbconvert-7.12.0/nbconvert/exporters/exporter.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/exporter.py 2020-02-02 01:00:00.000000000 +0100
@@ -253,7 +253,7 @@
preprocessor_cls = import_item(preprocessor)
return self.register_preprocessor(preprocessor_cls, enabled)
- if constructed and hasattr(preprocessor, "__call__"): # noqa
+ if constructed and callable(preprocessor):
# Preprocessor is a function, no need to construct it.
# Register and return the preprocessor.
if enabled:
@@ -261,21 +261,22 @@
self._preprocessors.append(preprocessor)
return preprocessor
- elif isclass and issubclass(preprocessor, HasTraits):
+ if isclass and issubclass(preprocessor, HasTraits):
# Preprocessor is configurable. Make sure to pass in new default for
# the enabled flag if one was specified.
self.register_preprocessor(preprocessor(parent=self), enabled)
+ return None
- elif isclass:
+ if isclass:
# Preprocessor is not configurable, construct it
self.register_preprocessor(preprocessor(), enabled)
+ return None
- else:
- # Preprocessor is an instance of something without a __call__
- # attribute.
- raise TypeError(
- "preprocessor must be callable or an importable constructor, got %r" % preprocessor
- )
+ # Preprocessor is an instance of something without a __call__
+ # attribute.
+ raise TypeError(
+ "preprocessor must be callable or an importable constructor, got %r" % preprocessor
+ )
def _init_preprocessors(self):
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/html.py new/nbconvert-7.13.1/nbconvert/exporters/html.py
--- old/nbconvert-7.12.0/nbconvert/exporters/html.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/html.py 2020-02-02 01:00:00.000000000 +0100
@@ -213,8 +213,9 @@
def _valid_language_code(self, proposal):
if self.language_code not in iso639_1:
self.log.warning(
- f'"{self.language_code}" is not an ISO 639-1 language code. '
- 'It has been replaced by the default value "en".'
+ '"%s" is not an ISO 639-1 language code. '
+ 'It has been replaced by the default value "en".',
+ self.language_code,
)
return proposal["trait"].default_value
return proposal["value"]
@@ -265,7 +266,7 @@
elem.attrs["alt"] = "No description has been provided for this image"
missing_alt += 1
if missing_alt:
- self.log.warning(f"Alternative text is missing on {missing_alt} image(s).")
+ self.log.warning("Alternative text is missing on %s image(s).", missing_alt)
# Set input and output focusable
for elem in soup.select(".jp-Notebook div.jp-Cell-inputWrapper"):
elem.attrs["tabindex"] = "0"
@@ -274,7 +275,7 @@
return str(soup), resources
- def _init_resources(self, resources): # noqa
+ def _init_resources(self, resources):
def resources_include_css(name):
env = self.environment
code = """<style type="text/css">\n%s</style>""" % (env.loader.get_source(env, name)[0])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/pdf.py new/nbconvert-7.13.1/nbconvert/exporters/pdf.py
--- old/nbconvert-7.12.0/nbconvert/exporters/pdf.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/pdf.py 2020-02-02 01:00:00.000000000 +0100
@@ -17,7 +17,7 @@
from .latex import LatexExporter
-class LatexFailed(IOError): # noqa
+class LatexFailed(IOError):
"""Exception for failed latex run
Captured latex output is in error.output.
@@ -33,8 +33,7 @@
def __str__(self):
"""String representation."""
- u = self.__unicode__()
- return u
+ return self.__unicode__()
def prepend_to_env_search_path(varname, value, envdict):
@@ -85,9 +84,7 @@
def _template_extension_default(self):
return ".tex.j2"
- def run_command( # noqa
- self, command_list, filename, count, log_function, raise_on_failure=None
- ):
+ def run_command(self, command_list, filename, count, log_function, raise_on_failure=None):
"""Run command_list count times.
Parameters
@@ -141,12 +138,12 @@
stdout=stdout,
stderr=subprocess.STDOUT,
stdin=null,
- shell=shell, # noqa
+ shell=shell, # noqa: S603
env=env,
)
out, _ = p.communicate()
if p.returncode:
- if self.verbose: # noqa
+ if self.verbose: # noqa: SIM108
# verbose means I didn't capture stdout with PIPE,
# so it's already been displayed and `out` is None.
out_str = ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/qt_exporter.py new/nbconvert-7.13.1/nbconvert/exporters/qt_exporter.py
--- old/nbconvert-7.12.0/nbconvert/exporters/qt_exporter.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/qt_exporter.py 2020-02-02 01:00:00.000000000 +0100
@@ -12,7 +12,7 @@
"""A qt exporter."""
paginate = None
- format = "" # noqa
+ format = ""
@default("file_extension")
def _file_extension_default(self):
@@ -41,7 +41,7 @@
with temp_file:
temp_file.write(html.encode("utf-8"))
try:
- QtScreenshot = self._check_launch_reqs() # noqa
+ QtScreenshot = self._check_launch_reqs()
s = QtScreenshot()
s.capture(f"file://{temp_file.name}", filename, self.paginate)
finally:
@@ -54,9 +54,9 @@
self._check_launch_reqs()
html, resources = super().from_notebook_node(nb, resources=resources, **kw)
- self.log.info(f"Building {self.format.upper()}")
+ self.log.info("Building %s", self.format.upper())
data = self._run_pyqtwebengine(html)
- self.log.info(f"{self.format.upper()} successfully created")
+ self.log.info("%s successfully created", self.format.upper())
# convert output extension
# the writer above required it to be html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/qtpdf.py new/nbconvert-7.13.1/nbconvert/exporters/qtpdf.py
--- old/nbconvert-7.12.0/nbconvert/exporters/qtpdf.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/qtpdf.py 2020-02-02 01:00:00.000000000 +0100
@@ -16,7 +16,7 @@
"""
export_from_notebook = "PDF via HTML"
- format = "pdf" # noqa
+ format = "pdf"
paginate = Bool( # type:ignore[assignment]
True,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/qtpng.py new/nbconvert-7.13.1/nbconvert/exporters/qtpng.py
--- old/nbconvert-7.12.0/nbconvert/exporters/qtpng.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/qtpng.py 2020-02-02 01:00:00.000000000 +0100
@@ -14,4 +14,4 @@
"""
export_from_notebook = "PNG via HTML"
- format = "png" # noqa
+ format = "png"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/script.py new/nbconvert-7.13.1/nbconvert/exporters/script.py
--- old/nbconvert-7.12.0/nbconvert/exporters/script.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/script.py 2020-02-02 01:00:00.000000000 +0100
@@ -39,7 +39,7 @@
if lang_name not in self._lang_exporters:
try:
exporters = entry_points(group="nbconvert.exporters.script")
- exporter = [e for e in exporters if e.name == lang_name][0].load() # noqa
+ exporter = [e for e in exporters if e.name == lang_name][0].load() # noqa: RUF015
except (KeyError, IndexError):
self._lang_exporters[lang_name] = None
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/templateexporter.py new/nbconvert-7.13.1/nbconvert/exporters/templateexporter.py
--- old/nbconvert-7.12.0/nbconvert/exporters/templateexporter.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/templateexporter.py 2020-02-02 01:00:00.000000000 +0100
@@ -151,7 +151,7 @@
"""
# finish the docstring
- __doc__ = __doc__.format(filters="- " + "\n - ".join(sorted(default_filters.keys()))) # noqa
+ __doc__ = __doc__.format(filters="- " + "\n - ".join(sorted(default_filters.keys())))
_template_cached = None
@@ -247,6 +247,7 @@
def _template_file_default(self):
if self.template_extension:
return "index" + self.template_extension
+ return None
@observe("raw_template")
def _raw_template_changed(self, change):
@@ -269,15 +270,11 @@
jupyter_path("nbconvert", "templates"), help="Path where templates can be installed too."
).tag(affects_environment=True)
- # Extension that the template files use.
- template_extension = Unicode().tag(config=True, affects_environment=True)
-
@default("template_extension")
def _template_extension_default(self):
if self.file_extension:
return self.file_extension + ".j2"
- else:
- return self.file_extension
+ return self.file_extension
exclude_input = Bool(
False, help="This allows you to exclude code cell inputs from all templates if set to True."
@@ -453,27 +450,28 @@
filter_cls = import_item(jinja_filter)
return self._register_filter(environ, name, filter_cls)
- if constructed and hasattr(jinja_filter, "__call__"): # noqa
+ if constructed and callable(jinja_filter):
# filter is a function, no need to construct it.
environ.filters[name] = jinja_filter
return jinja_filter
- elif isclass and issubclass(jinja_filter, HasTraits):
+ if isclass and issubclass(jinja_filter, HasTraits):
# filter is configurable. Make sure to pass in new default for
# the enabled flag if one was specified.
filter_instance = jinja_filter(parent=self)
self._register_filter(environ, name, filter_instance)
+ return None
- elif isclass:
+ if isclass:
# filter is not configurable, construct it
filter_instance = jinja_filter()
self._register_filter(environ, name, filter_instance)
+ return None
- else:
- # filter is an instance of something without a __call__
- # attribute.
- msg = "filter"
- raise TypeError(msg)
+ # filter is an instance of something without a __call__
+ # attribute.
+ msg = "filter"
+ raise TypeError(msg)
def register_filter(self, name, jinja_filter):
"""
@@ -513,7 +511,7 @@
ExtensionTolerantLoader(FileSystemLoader(paths), self.template_extension),
DictLoader({self._raw_template_key: self.raw_template}),
]
- environment = Environment( # noqa
+ environment = Environment( # noqa: S701
loader=ChoiceLoader(loaders),
extensions=JINJA_EXTENSIONS,
enable_async=self.enable_async,
@@ -547,7 +545,7 @@
preprocessor_cls = import_item(preprocessor_cls)
if preprocessor_cls.__name__ in self.config:
kwargs.update(self.config[preprocessor_cls.__name__])
- preprocessor = preprocessor_cls(**kwargs) # noqa
+ preprocessor = preprocessor_cls(**kwargs) # noqa: PLW2901
self.register_preprocessor(preprocessor)
def _get_conf(self):
@@ -602,8 +600,9 @@
return {"base_template": "base"}
if name == "full":
return {"base_template": "classic", "mimetypes": {"text/html": True}}
+ return None
- def get_template_names(self): # noqa
+ def get_template_names(self):
"""Finds a list of template names where each successive template name is the base template"""
template_names = []
root_dirs = self.get_prefix_root_dirs()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/exporters/webpdf.py new/nbconvert-7.13.1/nbconvert/exporters/webpdf.py
--- old/nbconvert-7.12.0/nbconvert/exporters/webpdf.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/exporters/webpdf.py 2020-02-02 01:00:00.000000000 +0100
@@ -85,7 +85,7 @@
if self.allow_chromium_download:
cmd = [sys.executable, "-m", "playwright", "install", "chromium"]
- subprocess.check_call(cmd) # noqa
+ subprocess.check_call(cmd) # noqa: S603
playwright = await async_playwright().start()
chromium = playwright.chromium
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/filters/ansi.py new/nbconvert-7.13.1/nbconvert/filters/ansi.py
--- old/nbconvert-7.12.0/nbconvert/filters/ansi.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/filters/ansi.py 2020-02-02 01:00:00.000000000 +0100
@@ -71,7 +71,7 @@
return _ansi2anything(text, _latexconverter)
-def _htmlconverter(fg, bg, bold, underline, inverse): # noqa
+def _htmlconverter(fg, bg, bold, underline, inverse):
"""
Return start and end tags for given foreground/background/bold/underline.
@@ -114,7 +114,7 @@
return starttag, "</span>"
-def _latexconverter(fg, bg, bold, underline, inverse): # noqa
+def _latexconverter(fg, bg, bold, underline, inverse):
"""
Return start and end markup given foreground/background/bold/underline.
@@ -165,7 +165,7 @@
return starttag, endtag
-def _ansi2anything(text, converter): # noqa
+def _ansi2anything(text, converter):
r"""
Convert ANSI colors to HTML or LaTeX.
@@ -275,10 +275,10 @@
idx = numbers.pop(0)
if idx < 0:
raise ValueError()
- elif idx < 16:
+ if idx < 16:
# 16 default terminal colors
return idx
- elif idx < 232:
+ if idx < 232:
# 6x6x6 color cube, see http://stackoverflow.com/a/27165165/500098
r = (idx - 16) // 36
r = 55 + r * 40 if r > 0 else 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/filters/citation.py new/nbconvert-7.13.1/nbconvert/filters/citation.py
--- old/nbconvert-7.12.0/nbconvert/filters/citation.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/filters/citation.py 2020-02-02 01:00:00.000000000 +0100
@@ -44,7 +44,7 @@
for citation in parser.citelist:
outtext += s[startpos : citation[1]]
outtext += "\\cite{%s}" % citation[0]
- startpos = citation[2] if len(citation) == 3 else -1 # noqa
+ startpos = citation[2] if len(citation) == 3 else -1
outtext += s[startpos:] if startpos != -1 else ""
return outtext
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/filters/filter_links.py new/nbconvert-7.13.1/nbconvert/filters/filter_links.py
--- old/nbconvert-7.12.0/nbconvert/filters/filter_links.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/filters/filter_links.py 2020-02-02 01:00:00.000000000 +0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python3
"""A pandoc filter used in converting notebooks to Latex.
Converts links between notebooks to Latex cross-references.
"""
@@ -37,5 +36,5 @@
label = re.sub(r"[^\w-]+", "", label) # Strip HTML entities
text = re.sub(r"_", r"\_", text) # Escape underscores in display text
return RawInline("tex", rf"\hyperref[{label}]{{{text}}}")
-
+ return None
# Other elements will be returned unchanged.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/filters/highlight.py new/nbconvert-7.13.1/nbconvert/filters/highlight.py
--- old/nbconvert-7.12.0/nbconvert/filters/highlight.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/filters/highlight.py 2020-02-02 01:00:00.000000000 +0100
@@ -133,8 +133,7 @@
if strip_verbatim:
latex = latex.replace(r"\begin{Verbatim}[commandchars=\\\{\}]" + "\n", "")
return latex.replace("\n\\end{Verbatim}\n", "")
- else:
- return latex
+ return latex
def _pygments_highlight(source, output_formatter, language="ipython", metadata=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/filters/markdown_mistune.py new/nbconvert-7.13.1/nbconvert/filters/markdown_mistune.py
--- old/nbconvert-7.12.0/nbconvert/filters/markdown_mistune.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/filters/markdown_mistune.py 2020-02-02 01:00:00.000000000 +0100
@@ -52,11 +52,9 @@
return PLUGINS[name] # type: ignore[no-any-return]
-class InvalidNotebook(Exception): # noqa
+class InvalidNotebook(Exception):
"""An invalid notebook model."""
- pass
-
def _dotall(pattern: str) -> str:
"""Makes the '.' special character match any character inside the pattern, including a newline.
@@ -268,7 +266,7 @@
class IPythonRenderer(HTMLRenderer):
"""An ipython html renderer."""
- def __init__( # noqa
+ def __init__(
self,
escape: bool = True,
allow_harmful_protocols: bool = True,
@@ -402,7 +400,7 @@
default_mime_type = next(iter(attachment.keys()))
return f"data:{default_mime_type};base64,{attachment[default_mime_type]}"
- elif self.embed_images:
+ if self.embed_images:
base64_url = self._src_to_base64(src)
if base64_url is not None:
return base64_url
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/filters/strings.py new/nbconvert-7.13.1/nbconvert/filters/strings.py
--- old/nbconvert-7.12.0/nbconvert/filters/strings.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/filters/strings.py 2020-02-02 01:00:00.000000000 +0100
@@ -56,7 +56,7 @@
"""
split_text = text.split("\n")
- wrp = map(lambda x: textwrap.wrap(x, width), split_text) # noqa
+ wrp = map(lambda x: textwrap.wrap(x, width), split_text) # noqa: C417
wrpd = map("\n".join, wrp)
return "\n".join(wrpd)
@@ -89,7 +89,7 @@
kwargs["css_sanitizer"] = css_sanitizer
return bleach.clean(
element,
- tags=[*bleach.ALLOWED_TAGS, "div", "pre", "code", "span"],
+ tags=[*bleach.ALLOWED_TAGS, "div", "pre", "code", "span", "table", "tr", "td"],
attributes={
**bleach.ALLOWED_ATTRIBUTES,
"*": ["class", "id"],
@@ -174,7 +174,7 @@
"""
cleaned_text = files_url_pattern.sub(r"\1=\2", text)
cleaned_text = markdown_url_pattern.sub(r"\1[\2](\3)", cleaned_text)
- return cleaned_text
+ return cleaned_text # noqa: RET504
def comment_lines(text, prefix="# "):
@@ -269,7 +269,7 @@
out = re.sub(r"(^\s*)\-", r"\1\-", out)
out = re.sub(r"(^\s*)\+", r"\1\+", out)
out = re.sub(r"(^\s*)\*", r"\1\*", out)
- return out
+ return out # noqa: RET504
def strip_trailing_newline(text):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/nbconvertapp.py new/nbconvert-7.13.1/nbconvert/nbconvertapp.py
--- old/nbconvert-7.12.0/nbconvert/nbconvertapp.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/nbconvertapp.py 2020-02-02 01:00:00.000000000 +0100
@@ -25,7 +25,6 @@
from nbconvert.utils.text import indent
from .exporters.base import get_export_names, get_exporter
-from .filters.markdown_mistune import InvalidNotebook # noqa For backward compatibility
from .utils.base import NbConvertBase
from .utils.exceptions import ConversionException
from .utils.io import unicode_stdin_stream
@@ -46,8 +45,7 @@
"""Validate an input."""
if value is not None and len(value) > 0:
return super().validate(obj, value)
- else:
- return value
+ return value
nbconvert_aliases = {}
@@ -422,7 +420,7 @@
notebook_name = basename[: basename.rfind(".")]
notebook_name = self.output_base.format(notebook_name=notebook_name)
- return notebook_name
+ return notebook_name # noqa: RET504
def init_single_notebook_resources(self, notebook_filename):
"""Step 1: Initialize resources
@@ -482,7 +480,7 @@
notebook_filename, resources=resources
)
except ConversionException:
- self.log.error("Error while converting '%s'", notebook_filename, exc_info=True)
+ self.log.error("Error while converting '%s'", notebook_filename, exc_info=True) # noqa: G201
self.exit(1)
return output, resources
@@ -517,8 +515,7 @@
if not self.writer:
msg = "No writer object defined!"
raise ValueError(msg)
- write_results = self.writer.write(output, resources, notebook_name=notebook_name)
- return write_results
+ return self.writer.write(output, resources, notebook_name=notebook_name)
def postprocess_single_notebook(self, write_results):
"""Step 4: Post-process the written file
@@ -594,6 +591,7 @@
input_buffer = unicode_stdin_stream()
# default name when conversion from stdin
self.convert_single_notebook("notebook.ipynb", input_buffer=input_buffer)
+ input_buffer.close()
def document_flag_help(self):
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/postprocessors/serve.py new/nbconvert-7.13.1/nbconvert/postprocessors/serve.py
--- old/nbconvert-7.12.0/nbconvert/postprocessors/serve.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/postprocessors/serve.py 2020-02-02 01:00:00.000000000 +0100
@@ -61,7 +61,7 @@
ip = Unicode("127.0.0.1", help="The IP address to listen on.").tag(config=True)
port = Int(8000, help="port for the server to listen on.").tag(config=True)
- def postprocess(self, input): # noqa
+ def postprocess(self, input):
"""Serve the build directory with a webserver."""
dirname, filename = os.path.split(input)
handlers: list[tuple[t.Any, ...]] = [
@@ -96,10 +96,10 @@
if self.open_in_browser:
try:
browser = webbrowser.get(self.browser or None)
- b = lambda: browser.open(url, new=2) # noqa
+ b = lambda: browser.open(url, new=2) # noqa: E731
threading.Thread(target=b).start()
except webbrowser.Error as e:
- self.log.warning("No web browser found: %s." % e)
+ self.log.warning("No web browser found: %s.", e)
browser = None
try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/base.py new/nbconvert-7.13.1/nbconvert/preprocessors/base.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/base.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/base.py 2020-02-02 01:00:00.000000000 +0100
@@ -46,8 +46,7 @@
if self.enabled:
self.log.debug("Applying preprocessor: %s", self.__class__.__name__)
return self.preprocess(nb, resources)
- else:
- return nb, resources
+ return nb, resources
def preprocess(self, nb, resources):
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/clearmetadata.py new/nbconvert-7.13.1/nbconvert/preprocessors/clearmetadata.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/clearmetadata.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/clearmetadata.py 2020-02-02 01:00:00.000000000 +0100
@@ -41,11 +41,10 @@
"""Get the current key for a mask key."""
if isinstance(mask_key, str):
return mask_key
- elif len(mask_key) == 0:
+ if len(mask_key) == 0:
# Safeguard
return None
- else:
- return mask_key[0]
+ return mask_key[0]
def current_mask(self, mask):
"""Get the current mask for a mask."""
@@ -76,7 +75,7 @@
"""
All the code cells are returned with an empty metadata field.
"""
- if self.clear_cell_metadata and cell.cell_type == "code": # noqa
+ if self.clear_cell_metadata and cell.cell_type == "code": # noqa: SIM102
# Remove metadata
if "metadata" in cell:
cell.metadata = dict(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/csshtmlheader.py new/nbconvert-7.13.1/nbconvert/preprocessors/csshtmlheader.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/csshtmlheader.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/csshtmlheader.py 2020-02-02 01:00:00.000000000 +0100
@@ -87,7 +87,7 @@
def _hash(self, filename):
"""Compute the hash of a file."""
- md5 = hashlib.md5() # noqa
+ md5 = hashlib.md5() # noqa: S324
with open(filename, "rb") as f:
md5.update(f.read())
return md5.digest()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/execute.py new/nbconvert-7.13.1/nbconvert/preprocessors/execute.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/execute.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/execute.py 2020-02-02 01:00:00.000000000 +0100
@@ -7,10 +7,9 @@
from jupyter_client.manager import KernelManager
from nbclient.client import NotebookClient
from nbclient.client import execute as _execute
+from nbclient.exceptions import CellExecutionError # noqa: F401
# Backwards compatibility for imported name
-from nbclient.exceptions import CellExecutionError # noqa
-
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from nbformat import NotebookNode
@@ -94,9 +93,9 @@
self._check_assign_resources(resources)
with self.setup_kernel():
- assert self.kc # noqa
+ assert self.kc
info_msg = self.wait_for_reply(self.kc.kernel_info())
- assert info_msg # noqa
+ assert info_msg
self.nb.metadata["language_info"] = info_msg["content"]["language_info"]
for index, cell in enumerate(self.nb.cells):
self.preprocess_cell(cell, resources, index)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/extractattachments.py new/nbconvert-7.13.1/nbconvert/preprocessors/extractattachments.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/extractattachments.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/extractattachments.py 2020-02-02 01:00:00.000000000 +0100
@@ -80,7 +80,7 @@
"""
if "attachments" in cell:
for fname in cell.attachments:
- self.log.debug(f"Encountered attachment {fname}")
+ self.log.debug("Encountered attachment %s", fname)
# Add file for writer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/extractoutput.py new/nbconvert-7.13.1/nbconvert/preprocessors/extractoutput.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/extractoutput.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/extractoutput.py 2020-02-02 01:00:00.000000000 +0100
@@ -53,7 +53,7 @@
config=True
)
- def preprocess_cell(self, cell, resources, cell_index): # noqa
+ def preprocess_cell(self, cell, resources, cell_index):
"""
Apply a transformation on each cell,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/highlightmagics.py new/nbconvert-7.13.1/nbconvert/preprocessors/highlightmagics.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/highlightmagics.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/highlightmagics.py 2020-02-02 01:00:00.000000000 +0100
@@ -77,8 +77,7 @@
# By construction of the re, the matched language must be in the
# languages dictionary
return self.default_languages[m.group(1)]
- else:
- return None
+ return None
def preprocess_cell(self, cell, resources, cell_index):
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/sanitize.py new/nbconvert-7.13.1/nbconvert/preprocessors/sanitize.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/sanitize.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/sanitize.py 2020-02-02 01:00:00.000000000 +0100
@@ -117,12 +117,13 @@
# but erring on the side of safety maybe.
cell.source = self.sanitize_html_tags(cell.source)
return cell, resources
- elif cell.cell_type == "markdown":
+ if cell.cell_type == "markdown":
cell.source = self.sanitize_html_tags(cell.source)
return cell, resources
- elif cell.cell_type == "code":
+ if cell.cell_type == "code":
cell.outputs = self.sanitize_code_outputs(cell.outputs)
return cell, resources
+ return None
def sanitize_code_outputs(self, outputs):
"""
@@ -140,15 +141,15 @@
for key in data:
if key in self.safe_output_keys:
continue
- elif key in self.sanitized_output_types:
- self.log.info("Sanitizing %s" % key)
+ if key in self.sanitized_output_types:
+ self.log.info("Sanitizing %s", key)
data[key] = self.sanitize_html_tags(data[key])
else:
# Mark key for removal. (Python doesn't allow deletion of
# keys from a dict during iteration)
to_remove.append(key)
for key in to_remove:
- self.log.info("Removing %s" % key)
+ self.log.info("Removing %s", key)
del data[key]
return outputs
@@ -175,3 +176,4 @@
def _get_default_css_sanitizer():
if _USE_BLEACH_CSS_SANITIZER:
return CSSSanitizer(allowed_css_properties=ALLOWED_STYLES)
+ return None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/preprocessors/svg2pdf.py new/nbconvert-7.13.1/nbconvert/preprocessors/svg2pdf.py
--- old/nbconvert-7.12.0/nbconvert/preprocessors/svg2pdf.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/preprocessors/svg2pdf.py 2020-02-02 01:00:00.000000000 +0100
@@ -145,7 +145,7 @@
# For backwards compatibility with specifying strings
# Okay-ish, since the string is trusted
full_cmd = self.command.format(*template_vars)
- subprocess.call(full_cmd, shell=isinstance(full_cmd, str)) # noqa
+ subprocess.call(full_cmd, shell=isinstance(full_cmd, str)) # noqa: S603
# Read output from drive
# return value expects a filename
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/utils/_contextlib_chdir.py new/nbconvert-7.13.1/nbconvert/utils/_contextlib_chdir.py
--- old/nbconvert-7.12.0/nbconvert/utils/_contextlib_chdir.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/utils/_contextlib_chdir.py 2020-02-02 01:00:00.000000000 +0100
@@ -5,7 +5,7 @@
from contextlib import AbstractContextManager
-class chdir(AbstractContextManager): # type:ignore[type-arg] # noqa
+class chdir(AbstractContextManager): # type:ignore[type-arg]
"""Non thread-safe context manager to change the current working directory."""
def __init__(self, path):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/utils/exceptions.py new/nbconvert-7.13.1/nbconvert/utils/exceptions.py
--- old/nbconvert-7.12.0/nbconvert/utils/exceptions.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/utils/exceptions.py 2020-02-02 01:00:00.000000000 +0100
@@ -12,7 +12,5 @@
# -----------------------------------------------------------------------------
-class ConversionException(Exception): # noqa
+class ConversionException(Exception):
"""An exception raised by the conversion process."""
-
- pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/utils/io.py new/nbconvert-7.13.1/nbconvert/utils/io.py
--- old/nbconvert-7.12.0/nbconvert/utils/io.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/utils/io.py 2020-02-02 01:00:00.000000000 +0100
@@ -22,7 +22,7 @@
unicode_std_stream().write(u'ł@e¶ŧ←')
"""
- assert stream in ("stdout", "stderr") # noqa
+ assert stream in ("stdout", "stderr")
stream = getattr(sys, stream)
try:
@@ -104,7 +104,7 @@
# anyway, we get duplicate files - see http://bugs.python.org/issue21876
return
- new_dst = dst + f"-temp-{random.randint(1, 16**4):04X}" # noqa
+ new_dst = dst + f"-temp-{random.randint(1, 16**4):04X}" # noqa: S311
try:
link_or_copy(src, new_dst)
except BaseException:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/utils/lexers.py new/nbconvert-7.13.1/nbconvert/utils/lexers.py
--- old/nbconvert-7.12.0/nbconvert/utils/lexers.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/utils/lexers.py 2020-02-02 01:00:00.000000000 +0100
@@ -3,4 +3,4 @@
warn("nbconvert.utils.lexers is deprecated as of 5.0. Use IPython.lib.lexers", stacklevel=2)
-from IPython.lib.lexers import * # noqa
+from IPython.lib.lexers import * # noqa: F403, E402
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/utils/pandoc.py new/nbconvert-7.13.1/nbconvert/utils/pandoc.py
--- old/nbconvert-7.12.0/nbconvert/utils/pandoc.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/utils/pandoc.py 2020-02-02 01:00:00.000000000 +0100
@@ -51,7 +51,7 @@
check_pandoc_version()
# we can safely continue
- p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) # noqa
+ p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) # noqa: S603
out, _ = p.communicate(source.encode())
out_str = TextIOWrapper(BytesIO(out), encoding, "replace").read()
return out_str.rstrip("\n")
@@ -69,13 +69,13 @@
PandocMissing
If pandoc is unavailable.
"""
- global __version # noqa
+ global __version # noqa: PLW0603
if __version is None:
if not shutil.which("pandoc"):
raise PandocMissing()
- out = subprocess.check_output(["pandoc", "-v"]) # noqa
+ out = subprocess.check_output(["pandoc", "-v"]) # noqa: S607, S603
out_lines = out.splitlines()
version_pattern = re.compile(r"^\d+(\.\d+){1,}$")
for tok in out_lines[0].decode("ascii", "replace").split():
@@ -144,7 +144,7 @@
# -----------------------------------------------------------------------------
def clean_cache():
"""Clean the internal cache."""
- global __version # noqa
+ global __version # noqa: PLW0603
__version = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/utils/text.py new/nbconvert-7.13.1/nbconvert/utils/text.py
--- old/nbconvert-7.12.0/nbconvert/utils/text.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/utils/text.py 2020-02-02 01:00:00.000000000 +0100
@@ -29,11 +29,10 @@
"""
if instr is None:
- return
+ return None
ind = "\t" * ntabs + " " * nspaces
pat = re.compile("^\\s*", re.MULTILINE) if flatten else re.compile("^", re.MULTILINE)
outstr = re.sub(pat, ind, instr)
if outstr.endswith(os.linesep + ind):
return outstr[: -len(ind)]
- else:
- return outstr
+ return outstr
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/writers/debug.py new/nbconvert-7.13.1/nbconvert/writers/debug.py
--- old/nbconvert-7.12.0/nbconvert/writers/debug.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/writers/debug.py 2020-02-02 01:00:00.000000000 +0100
@@ -39,7 +39,7 @@
if isinstance(resources["outputs"], dict):
print("outputs extracted from %s" % notebook_name)
print("-" * 80)
- pprint(resources["outputs"], indent=2, width=70) # noqa
+ pprint(resources["outputs"], indent=2, width=70) # noqa: T203
else:
print("no outputs extracted from %s" % notebook_name)
print("=" * 80)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/nbconvert/writers/stdout.py new/nbconvert-7.13.1/nbconvert/writers/stdout.py
--- old/nbconvert-7.12.0/nbconvert/writers/stdout.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/nbconvert/writers/stdout.py 2020-02-02 01:00:00.000000000 +0100
@@ -20,4 +20,5 @@
See base for more...
"""
- io.unicode_std_stream().write(output)
+ stream = io.unicode_std_stream()
+ stream.write(output)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/pyproject.toml new/nbconvert-7.13.1/pyproject.toml
--- old/nbconvert-7.12.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -62,7 +62,7 @@
test = [
"pytest",
"ipykernel",
- "ipywidgets>=7",
+ "ipywidgets>=7.5",
"flaky",
]
serve = ["tornado>=6.1"]
@@ -179,7 +179,6 @@
files = "nbconvert"
python_version = "3.8"
strict = true
-show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
disable_error_code = ["no-untyped-def", "no-untyped-call"]
warn_unreachable = true
@@ -192,41 +191,51 @@
exclude = [".*notebook1.ipynb$"]
[tool.ruff.lint]
-select = [
- "A", "B", "C", "DTZ", "E", "EM", "F", "FBT", "I", "ICN", "N",
- "PLC", "PLE", "PLR", "PLW", "Q", "RUF", "S", "SIM", "T", "TID", "UP",
- "W", "YTT",
+extend-select = [
+ "B", # flake8-bugbear
+ "I", # isort
+ "C4", # flake8-comprehensions
+ "EM", # flake8-errmsg
+ "ICN", # flake8-import-conventions
+ "G", # flake8-logging-format
+ "PGH", # pygrep-hooks
+ "PIE", # flake8-pie
+ "PL", # pylint
+ #"PTH", # flake8-use-pathlib
+ "PT", # flake8-pytest-style
+ "RET", # flake8-return
+ "RUF", # Ruff-specific
+ "SIM", # flake8-simplify
+ "T20", # flake8-print
+ "UP", # pyupgrade
+ "YTT", # flake8-2020
+ "EXE", # flake8-executable
+ "PYI", # flake8-pyi
+ "S", # flake8-bandit
]
ignore = [
- # Q000 Single quotes found but double quotes preferred
- "Q000",
- # FBT001 Boolean positional arg in function definition
- "FBT001", "FBT002", "FBT003",
- # E501 Line too long (158 > 100 characters)
- "E501",
- # SIM105 Use `contextlib.suppress(...)`
- "SIM105",
- # T201 `print` found
- "T201",
- # N802 Function name `CreateWellKnownSid` should be lowercase
- "N802", "N803",
- # RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
- "RUF012",
+ "PLR", # Design related pylint codes
+ "S101", # Use of `assert` detected
+ "SIM105", # Use `contextlib.suppress(...)`
+ "T201", # `print` found
+ "RUF012", # Mutable class attributes should be annotated
]
unfixable = [
- # Don't touch print statements
- "T201",
- # Don't touch noqa lines
- "RUF100",
+ "T201", # Don't touch print statements
+ "RUF100", # Don't touch noqa lines
+ "F401", # Unused imports
]
[tool.ruff.lint.per-file-ignores]
- # B011: Do not call assert False since python -O removes these calls
# F841 local variable 'foo' is assigned to but never used
# S101 Use of `assert` detected
# TID252 Relative imports from parent modules are banned
-# PLR2004 Magic value used in comparison
-"tests/*" = ["B011", "F841", "S101", "TID252", "PLR2004"]
+# PT009 Use a regular `assert` instead of unittest-style
+# PGH003 Use specific rule codes when ignoring type issues
+# PT027 Use `pytest.raises` instead of unittest-style
+# PGH004 Use specific rule codes when using `noqa`
+"tests/*" = ["F841", "S101", "TID252", "PT009", "PTH", "PGH003", "PT027",
+ "PGH004"]
"tests/*/*.ipynb" = [
"EM", "B018", "E402", "F405", "SIM", "F403", "F821",
"RUF100", "ICN001", "S605", "S607"
@@ -250,7 +259,7 @@
exclude = ["tests", "docs"]
[tool.repo-review]
-ignore = ["PY007", "GH102"]
+ignore = ["GH102"]
[tool.codespell]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/tests/base.py new/nbconvert-7.13.1/tests/base.py
--- old/nbconvert-7.12.0/tests/base.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/tests/base.py 2020-02-02 01:00:00.000000000 +0100
@@ -22,7 +22,7 @@
"""Base tests class. Contains useful fuzzy comparison and nbconvert
functions."""
- def fuzzy_compare( # noqa
+ def fuzzy_compare(
self,
a,
b,
@@ -184,7 +184,7 @@
raise AssertionError(
"Length doesn't match (%i > %i). Extra text:\n%r" % (len(a), len(b), a[len(b) :])
)
- elif len(a) < len(b):
+ if len(a) < len(b):
raise AssertionError(
"Length doesn't match (%i < %i). Extra text:\n%r" % (len(a), len(b), a[len(b) :])
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/tests/exporters/test_templateexporter.py new/nbconvert-7.13.1/tests/exporters/test_templateexporter.py
--- old/nbconvert-7.12.0/tests/exporters/test_templateexporter.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/tests/exporters/test_templateexporter.py 2020-02-02 01:00:00.000000000 +0100
@@ -657,5 +657,4 @@
assert "(100,)" not in nb
def _make_exporter(self, config=None):
- exporter = SampleExporter(config=config)
- return exporter
+ return SampleExporter(config=config)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/tests/exporters/test_webpdf.py new/nbconvert-7.13.1/tests/exporters/test_webpdf.py
--- old/nbconvert-7.12.0/tests/exporters/test_webpdf.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/tests/exporters/test_webpdf.py 2020-02-02 01:00:00.000000000 +0100
@@ -33,7 +33,7 @@
exporter_class = WebPDFExporter # type:ignore
- @pytest.mark.network
+ @pytest.mark.network()
def test_export(self):
"""
Can a TemplateExporter export something?
@@ -56,7 +56,7 @@
"""
Generate PDFs if playwright not installed?
"""
- with pytest.raises(RuntimeError):
+ with pytest.raises(RuntimeError): # noqa
base_exporter = Exporter()
exporter = WebPDFExporter()
with open(self._get_notebook(), encoding="utf-8") as f:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/tests/filters/test_citation.py new/nbconvert-7.13.1/tests/filters/test_citation.py
--- old/nbconvert-7.12.0/tests/filters/test_citation.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/tests/filters/test_citation.py 2020-02-02 01:00:00.000000000 +0100
@@ -112,7 +112,7 @@
}
-(a)pytest.mark.parametrize(["in_arg", "out_arg"], list(test_md.items()))
+(a)pytest.mark.parametrize(["in_arg", "out_arg"], list(test_md.items())) # noqa
def test_citation2latex(in_arg, out_arg):
"""Are citations parsed properly?"""
assert citation2latex(in_arg) == out_arg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/tests/filters/test_markdown.py new/nbconvert-7.13.1/tests/filters/test_markdown.py
--- old/nbconvert-7.12.0/tests/filters/test_markdown.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/tests/filters/test_markdown.py 2020-02-02 01:00:00.000000000 +0100
@@ -68,7 +68,7 @@
# sometimes pandoc uses $math$, sometimes it uses \(math\)
expected = re.compile(r"(\$|\\\()\\alpha(\$|\\\)) latex math")
- assertRegex = self.assertRegex # noqa
+ assertRegex = self.assertRegex
assertRegex(convert_pandoc(s, "markdown_strict+tex_math_dollars", "latex"), expected)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/tests/test_nbconvertapp.py new/nbconvert-7.13.1/tests/test_nbconvertapp.py
--- old/nbconvert-7.12.0/tests/test_nbconvertapp.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/tests/test_nbconvertapp.py 2020-02-02 01:00:00.000000000 +0100
@@ -150,7 +150,7 @@
assert os.path.isfile("notebook with spaces.pdf")
@flaky
- @pytest.mark.network
+ @pytest.mark.network()
@pytest.mark.skipif(not PLAYWRIGHT_INSTALLED, reason="Playwright not installed")
def test_webpdf_with_chromium(self):
"""
@@ -419,7 +419,7 @@
assert "42" in output3
# Executing the notebook should raise an exception if --allow-errors is not specified
- with pytest.raises(OSError):
+ with pytest.raises(OSError): # noqa
self.nbconvert("--execute --to markdown --stdout notebook3*.ipynb")
def test_errors_print_traceback(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbconvert-7.12.0/tests/utils/test_io.py new/nbconvert-7.13.1/tests/utils/test_io.py
--- old/nbconvert-7.12.0/tests/utils/test_io.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbconvert-7.13.1/tests/utils/test_io.py 2020-02-02 01:00:00.000000000 +0100
@@ -19,7 +19,8 @@
sys.stdout = stdout
try:
sample = "@łe¶ŧ←"
- unicode_std_stream().write(sample)
+ stream = unicode_std_stream()
+ stream.write(sample)
output = stdoutb.getvalue().decode("utf-8")
assert output == sample
1
0