openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 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
May 2021
- 1 participants
- 2473 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-spyder-kernels for openSUSE:Factory checked in at 2021-05-21 21:50:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-kernels (Old)
and /work/SRC/openSUSE:Factory/.python-spyder-kernels.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-spyder-kernels"
Fri May 21 21:50:27 2021 rev:24 rq:894842 version:2.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-spyder-kernels/python-spyder-kernels.changes 2021-05-12 19:32:17.935021614 +0200
+++ /work/SRC/openSUSE:Factory/.python-spyder-kernels.new.2988/python-spyder-kernels.changes 2021-05-21 21:50:43.966055358 +0200
@@ -1,0 +2,6 @@
+Fri May 21 14:16:35 UTC 2021 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to version 2.0.3
+ * PR 291 - PR: Pass adding breakpoint on ValueError,
+
+-------------------------------------------------------------------
Old:
----
python-spyder-kernels-2.0.2.tar.gz
New:
----
python-spyder-kernels-2.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-spyder-kernels.spec ++++++
--- /var/tmp/diff_new_pack.LVl5cX/_old 2021-05-21 21:50:44.430053436 +0200
+++ /var/tmp/diff_new_pack.LVl5cX/_new 2021-05-21 21:50:44.434053420 +0200
@@ -20,7 +20,7 @@
%define skip_python2 1
%define skip_python36 1
Name: python-spyder-kernels
-Version: 2.0.2
+Version: 2.0.3
Release: 0
Summary: Jupyter kernels for Spyder's console
License: MIT
++++++ python-spyder-kernels-2.0.2.tar.gz -> python-spyder-kernels-2.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-2.0.2/CHANGELOG.md new/spyder-kernels-2.0.3/CHANGELOG.md
--- old/spyder-kernels-2.0.2/CHANGELOG.md 2021-05-02 19:36:28.000000000 +0200
+++ new/spyder-kernels-2.0.3/CHANGELOG.md 2021-05-15 20:14:29.000000000 +0200
@@ -1,5 +1,17 @@
# History of changes
+## Version 2.0.3 (2021-05-15)
+
+### Pull Requests Merged
+
+* [PR 291](https://github.com/spyder-ide/spyder-kernels/pull/291) - PR: Pass adding breakpoint on ValueError, by [@impact27](https://github.com/impact27)
+
+In this release 1 pull request was closed.
+
+
+----
+
+
## Version 2.0.2 (2021-05-02)
### Pull Requests Merged
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-2.0.2/spyder_kernels/_version.py new/spyder-kernels-2.0.3/spyder_kernels/_version.py
--- old/spyder-kernels-2.0.2/spyder_kernels/_version.py 2021-05-02 19:36:28.000000000 +0200
+++ new/spyder-kernels-2.0.3/spyder_kernels/_version.py 2021-05-15 20:14:29.000000000 +0200
@@ -8,5 +8,5 @@
"""Version File."""
-VERSION_INFO = (2, 0, 2)
+VERSION_INFO = (2, 0, 3)
__version__ = '.'.join(map(str, VERSION_INFO))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-2.0.2/spyder_kernels/customize/spyderpdb.py new/spyder-kernels-2.0.3/spyder_kernels/customize/spyderpdb.py
--- old/spyder-kernels-2.0.2/spyder_kernels/customize/spyderpdb.py 2021-05-02 19:36:28.000000000 +0200
+++ new/spyder-kernels-2.0.3/spyder_kernels/customize/spyderpdb.py 2021-05-15 20:14:29.000000000 +0200
@@ -610,12 +610,15 @@
bdb.Breakpoint.bplist = {}
bdb.Breakpoint.bpbynumber = [None]
# -----
- i = 0
for fname, data in list(breakpoints.items()):
for linenumber, condition in data:
- i += 1
- self.set_break(self.canonic(fname), linenumber,
- cond=condition)
+ try:
+ self.set_break(self.canonic(fname), linenumber,
+ cond=condition)
+ except ValueError:
+ # Fixes spyder/issues/15546
+ # The file is not readable
+ pass
# Jump to first breakpoint.
# Fixes issue 2034
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package blueberry for openSUSE:Factory checked in at 2021-05-21 21:50:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/blueberry (Old)
and /work/SRC/openSUSE:Factory/.blueberry.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blueberry"
Fri May 21 21:50:26 2021 rev:39 rq:894834 version:1.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/blueberry/blueberry.changes 2020-09-17 14:59:10.708387317 +0200
+++ /work/SRC/openSUSE:Factory/.blueberry.new.2988/blueberry.changes 2021-05-21 21:50:43.222058439 +0200
@@ -1,0 +2,8 @@
+Thu May 20 13:10:57 UTC 2021 - Ferdinand Thiessen <rpm(a)fthiessen.de>
+
+- Update to 1.4.2
+ * l10n: Update translations
+ * l10n: Update files
+ * Don't use /usr/bin/env to call python3
+
+-------------------------------------------------------------------
Old:
----
blueberry-1.3.9.tar.gz
New:
----
blueberry-1.4.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ blueberry.spec ++++++
--- /var/tmp/diff_new_pack.yokU2u/_old 2021-05-21 21:50:43.706056435 +0200
+++ /var/tmp/diff_new_pack.yokU2u/_new 2021-05-21 21:50:43.706056435 +0200
@@ -1,7 +1,7 @@
#
# spec file for package blueberry
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define __requires_exclude typelib\\((St)\\)
Name: blueberry
-Version: 1.3.9
+Version: 1.4.2
Release: 0
Summary: A configuration tool for Bluetooth
License: GPL-3.0-or-later
@@ -52,8 +52,6 @@
%prep
%autosetup -p1
cp -a %{SOURCE1} %{name}-rfkill.rules
-# Do not use env for Python scripts.
-sed -i '/^#!/s/env python3$/python3/' usr/lib/blueberry/*
# Replace the icon with an existing one.
sed -i 's/^\(Icon=\).*$/\1%{name}/' .%{_datadir}/applications/%{name}.desktop
++++++ blueberry-1.3.9.tar.gz -> blueberry-1.4.2.tar.gz ++++++
++++ 2970 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package hexchat for openSUSE:Factory checked in at 2021-05-21 21:50:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hexchat (Old)
and /work/SRC/openSUSE:Factory/.hexchat.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hexchat"
Fri May 21 21:50:25 2021 rev:30 rq:894817 version:2.14.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/hexchat/hexchat.changes 2021-04-21 21:00:21.622292157 +0200
+++ /work/SRC/openSUSE:Factory/.hexchat.new.2988/hexchat.changes 2021-05-21 21:50:42.422061752 +0200
@@ -1,0 +2,6 @@
+Fri May 21 12:59:57 UTC 2021 - Simon Lees <sflees(a)suse.de>
+
+- Add Libera.Chat to the channel list
+ * feature-add-libera-chat.patch
+
+-------------------------------------------------------------------
New:
----
feature-add-libera-chat.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hexchat.spec ++++++
--- /var/tmp/diff_new_pack.ZSHoRB/_old 2021-05-21 21:50:42.986059417 +0200
+++ /var/tmp/diff_new_pack.ZSHoRB/_new 2021-05-21 21:50:42.990059400 +0200
@@ -31,6 +31,8 @@
Patch1: migrate-configuration-from-xchat.patch
# PATCH-FIX-UPSTREAM 2559.patch dimstar(a)opensuse.org -- fix segfault on lua_pop with Lua 5.4.3
Patch2: https://patch-diff.githubusercontent.com/raw/hexchat/hexchat/pull/2559.patch
+# https://github.com/hexchat/hexchat/commit/a25f2381689d2c2279a0e43b33f6c0ec8…
+Patch3: feature-add-libera-chat.patch
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
BuildRequires: lua-devel
++++++ feature-add-libera-chat.patch ++++++
From a25f2381689d2c2279a0e43b33f6c0ec8305a096 Mon Sep 17 00:00:00 2001
From: Panagiotis Vasilopoulos <hello(a)alwayslivid.com>
Date: Wed, 19 May 2021 16:25:16 +0300
Subject: [PATCH] Add Libera Chat to network list
---
src/common/servlist.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/common/servlist.c b/src/common/servlist.c
index e44a3f2df..33bd80f2d 100644
--- a/src/common/servlist.c
+++ b/src/common/servlist.c
@@ -239,6 +239,9 @@ static const struct defaultserver def[] =
/* Self signed */
{0, "irc.librairc.net"},
+ {"Libera Chat", 0, 0, 0, LOGIN_SASL, 0, TRUE},
+ {0, "irc.libera.chat"},
+
#ifdef USE_OPENSSL
{"LinkNet", 0},
{0, "irc.link-net.org/+7000"},
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 2021-05-21 21:50:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wxMaxima (Old)
and /work/SRC/openSUSE:Factory/.wxMaxima.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wxMaxima"
Fri May 21 21:50:24 2021 rev:57 rq:894820 version:21.05.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/wxMaxima/wxMaxima.changes 2021-05-15 01:24:47.474897712 +0200
+++ /work/SRC/openSUSE:Factory/.wxMaxima.new.2988/wxMaxima.changes 2021-05-21 21:50:41.610065116 +0200
@@ -1,0 +2,24 @@
+Tue May 18 03:12:08 UTC 2021 - Atri Bhattacharya <badshah400(a)gmail.com>
+
+- Update to version 21.05.1:
+ * Resolved a segfault on printing that could be triggered on
+ some computers.
+- Changes from version 21.05.0:
+ * Long numbers now can be broken into lines.
+ * On Export long numbers sometimes got lost.
+ * The height of folded cells now is calculated correctly, again
+ (gh#wxMaxima-developers/wxmaxima#1532).
+ * Printing now can insert pagebreaks within GroupCells
+ (gh#wxMaxima-developers/wxmaxima#970,
+ gh#wxMaxima-developers/wxmaxima#1528,
+ gh#wxMaxima-developers/wxmaxima#1241,
+ gh#wxMaxima-developers/wxmaxima#181,
+ gh#wxMaxima-developers/wxmaxima#573,
+ gh#wxMaxima-developers/wxmaxima#1082).
+ * Changed the font for the PDF manuals to free Google Noto
+ fonts.
+ * Now all PDF manuals can be created without missing characters.
+ * Solved a crash when printing.
+ * Updated translations.
+
+-------------------------------------------------------------------
Old:
----
wxMaxima-21.04.0.tar.gz
New:
----
wxMaxima-21.05.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wxMaxima.spec ++++++
--- /var/tmp/diff_new_pack.yrok3A/_old 2021-05-21 21:50:42.270062382 +0200
+++ /var/tmp/diff_new_pack.yrok3A/_new 2021-05-21 21:50:42.274062366 +0200
@@ -19,7 +19,7 @@
%define __builder ninja
%define tarname wxmaxima
Name: wxMaxima
-Version: 21.04.0
+Version: 21.05.1
Release: 0
Summary: Graphical User Interface for the maxima Computer Algebra System
License: GPL-2.0-or-later
++++++ wxMaxima-21.04.0.tar.gz -> wxMaxima-21.05.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/wxMaxima/wxMaxima-21.04.0.tar.gz /work/SRC/openSUSE:Factory/.wxMaxima.new.2988/wxMaxima-21.05.1.tar.gz differ: char 13, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package alpine for openSUSE:Factory checked in at 2021-05-21 21:50:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alpine (Old)
and /work/SRC/openSUSE:Factory/.alpine.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alpine"
Fri May 21 21:50:23 2021 rev:52 rq:894815 version:unknown
Changes:
--------
--- /work/SRC/openSUSE:Factory/alpine/alpine.changes 2021-05-10 12:11:30.458533679 +0200
+++ /work/SRC/openSUSE:Factory/.alpine.new.2988/alpine.changes 2021-05-21 21:50:40.462069871 +0200
@@ -1,0 +2,5 @@
+Sun May 16 15:23:42 UTC 2021 - Callum Farmer <gmbr3(a)opensuse.org>
+
+- Set system mail directory to /var/mail
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ alpine.spec ++++++
--- /var/tmp/diff_new_pack.Mim4hI/_old 2021-05-21 21:50:41.154067004 +0200
+++ /var/tmp/diff_new_pack.Mim4hI/_new 2021-05-21 21:50:41.158066988 +0200
@@ -200,7 +200,7 @@
#
# imap does not use CFLAGS from configure, needs EXTRACFLAGS/EXTRALDFLAGS:
#
-%make_build EXTRACFLAGS="$CFLAGS" EXTRALDFLAGS="$EXTRALDFLAGS"
+%make_build EXTRACFLAGS="$CFLAGS" EXTRALDFLAGS="$EXTRALDFLAGS" MAILSPOOL="%{_localstatedir}/mail"
%install
%make_install
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package sapnwbootstrap-formula for openSUSE:Factory checked in at 2021-05-21 21:50:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sapnwbootstrap-formula (Old)
and /work/SRC/openSUSE:Factory/.sapnwbootstrap-formula.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sapnwbootstrap-formula"
Fri May 21 21:50:23 2021 rev:28 rq:894811 version:0.6.4+git.1621602976.108e734
Changes:
--------
--- /work/SRC/openSUSE:Factory/sapnwbootstrap-formula/sapnwbootstrap-formula.changes 2021-05-19 17:50:02.993366119 +0200
+++ /work/SRC/openSUSE:Factory/.sapnwbootstrap-formula.new.2988/sapnwbootstrap-formula.changes 2021-05-21 21:50:39.854072388 +0200
@@ -1,0 +2,7 @@
+Fri May 21 12:59:37 UTC 2021 - Xabier Arbulu <xarbulu(a)suse.com>
+
+- Version bump 0.6.4
+ * Set default empty dictionary for virtual_addresses
+ (bsc#1185627)
+
+-------------------------------------------------------------------
@@ -4 +11 @@
-- Version bumpd 0.6.3
+- Version bump 0.6.3
Old:
----
sapnwbootstrap-formula-0.6.3+git.1621424114.5a58020.tar.gz
New:
----
sapnwbootstrap-formula-0.6.4+git.1621602976.108e734.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sapnwbootstrap-formula.spec ++++++
--- /var/tmp/diff_new_pack.Eu7x8K/_old 2021-05-21 21:50:40.246070765 +0200
+++ /var/tmp/diff_new_pack.Eu7x8K/_new 2021-05-21 21:50:40.250070748 +0200
@@ -19,7 +19,7 @@
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: sapnwbootstrap-formula
-Version: 0.6.3+git.1621424114.5a58020
+Version: 0.6.4+git.1621602976.108e734
Release: 0
Summary: SAP Netweaver platform deployment formula
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Eu7x8K/_old 2021-05-21 21:50:40.274070648 +0200
+++ /var/tmp/diff_new_pack.Eu7x8K/_new 2021-05-21 21:50:40.274070648 +0200
@@ -4,8 +4,8 @@
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="filename">sapnwbootstrap-formula</param>
- <param name="versionformat">0.6.3+git.%ct.%h</param>
- <param name="revision">5a580208adb45d931a734a3215e5c7ca74a9be6d</param>
+ <param name="versionformat">0.6.4+git.%ct.%h</param>
+ <param name="revision">108e734cd09960b6cb7cfde94cbecb7350fa7eac</param>
</service>
<service name="recompress" mode="disabled">
++++++ sapnwbootstrap-formula-0.6.3+git.1621424114.5a58020.tar.gz -> sapnwbootstrap-formula-0.6.4+git.1621602976.108e734.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sapnwbootstrap-formula-0.6.3+git.1621424114.5a58020/_service new/sapnwbootstrap-formula-0.6.4+git.1621602976.108e734/_service
--- old/sapnwbootstrap-formula-0.6.3+git.1621424114.5a58020/_service 2021-05-19 13:35:14.000000000 +0200
+++ new/sapnwbootstrap-formula-0.6.4+git.1621602976.108e734/_service 2021-05-21 15:16:16.000000000 +0200
@@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="filename">sapnwbootstrap-formula</param>
- <param name="versionformat">0.6.3+git.%ct.%h</param>
+ <param name="versionformat">0.6.4+git.%ct.%h</param>
<param name="revision">%%VERSION%%</param>
</service>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sapnwbootstrap-formula-0.6.3+git.1621424114.5a58020/netweaver/defaults.yaml new/sapnwbootstrap-formula-0.6.4+git.1621602976.108e734/netweaver/defaults.yaml
--- old/sapnwbootstrap-formula-0.6.3+git.1621424114.5a58020/netweaver/defaults.yaml 2021-05-19 13:35:14.000000000 +0200
+++ new/sapnwbootstrap-formula-0.6.4+git.1621602976.108e734/netweaver/defaults.yaml 2021-05-21 15:16:16.000000000 +0200
@@ -1,5 +1,6 @@
netweaver:
install_packages: true
+ virtual_addresses: {}
clean_nfs: True
installation_folder: /tmp/swpm_unattended
nw_extract_dir: /sapmedia_extract/NW
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sapnwbootstrap-formula-0.6.3+git.1621424114.5a58020/sapnwbootstrap-formula.changes new/sapnwbootstrap-formula-0.6.4+git.1621602976.108e734/sapnwbootstrap-formula.changes
--- old/sapnwbootstrap-formula-0.6.3+git.1621424114.5a58020/sapnwbootstrap-formula.changes 2021-05-19 13:35:14.000000000 +0200
+++ new/sapnwbootstrap-formula-0.6.4+git.1621602976.108e734/sapnwbootstrap-formula.changes 2021-05-21 15:16:16.000000000 +0200
@@ -1,7 +1,14 @@
-------------------------------------------------------------------
+Fri May 21 12:59:37 UTC 2021 - Xabier Arbulu <xarbulu(a)suse.com>
+
+- Version bump 0.6.4
+ * Set default empty dictionary for virtual_addresses
+ (bsc#1185627)
+
+-------------------------------------------------------------------
Wed May 19 11:30:51 UTC 2021 - Peter Varkoly <varkoly(a)suse.com>
-- Version bumpd 0.6.3
+- Version bump 0.6.3
* Fix issue: azure-lb resource for ASCS/ERS is not added
in the corresponding Resource Group
(bsc#1186236)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package armnn for openSUSE:Factory checked in at 2021-05-21 21:50:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/armnn (Old)
and /work/SRC/openSUSE:Factory/.armnn.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "armnn"
Fri May 21 21:50:22 2021 rev:16 rq:894803 version:21.05
Changes:
--------
--- /work/SRC/openSUSE:Factory/armnn/armnn.changes 2021-04-08 21:32:59.171861174 +0200
+++ /work/SRC/openSUSE:Factory/.armnn.new.2988/armnn.changes 2021-05-21 21:50:36.426086586 +0200
@@ -1,0 +2,23 @@
+Fri May 21 06:55:48 UTC 2021 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update to 21.05:
+ * Changelog: https://github.com/ARM-software/armnn/releases/tag/v21.05
+ * Main changes:
+ - new capabilities to allow users attain higher performance by:
+ * Making the Arm NN Core thread safe opening the possibility of
+ running multiple inferences on the same model in parallel
+ software threads.
+ * Allowing graphs on the GPU backend import their input and
+ output buffers either from correctly aligned main memory or
+ from kernel memory exposed as a dma_buf, thus reducing memory
+ usage and saving the time involved in copying data into and
+ out of the GPU memory space.
+ - In addition to this, support was added to allow the MobileBERT
+ network to be parsed and run.
+ - Finally three deprecated components: the Tensorflow Parser,
+ the Caffe Parser and the Arm NN Quantizer tool, were removed
+- Add patch to fix include path:
+ * armnn-fix-include.patch
+- Disable armnn-extratests as it fails to build with current version
+
+-------------------------------------------------------------------
Old:
----
armnn-21.02.tar.gz
New:
----
armnn-21.05.tar.gz
armnn-fix-include.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ armnn.spec ++++++
--- /var/tmp/diff_new_pack.vjhpE0/_old 2021-05-21 21:50:37.026084101 +0200
+++ /var/tmp/diff_new_pack.vjhpE0/_new 2021-05-21 21:50:37.026084101 +0200
@@ -26,8 +26,6 @@
%if "%{target}" != ""
%define package_suffix -%{target}
%endif
-# Use Tensorflow version 2
-%define tf_version_2 1
# Compute library has neon enabled for aarch64 only
%ifarch aarch64
%bcond_without compute_neon
@@ -47,7 +45,8 @@
%endif
# Extra tests require opencv(3)-devel, but it is broken for Leap 15.1 - boo#1154091
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
-%bcond_without armnn_extra_tests
+# FIXME: disabled for now, as it fails with version 21.05
+%bcond_with armnn_extra_tests
%else
%bcond_with armnn_extra_tests
%endif
@@ -57,16 +56,6 @@
%else
%bcond_with armnn_flatbuffers
%endif
-# Enable TensorFlow on TW and Leap 15.2/SLE15SP2 for aarch64 and x86_64 (TF fails to build on armv7)
-%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
-%ifarch aarch64 x86_64
-%bcond_without armnn_tf
-%else
-%bcond_with armnn_tf
-%endif # ifarch
-%else # suse_version
-%bcond_with armnn_tf
-%endif # suse_version
# ONNX is available on Leap 15.2+/SLE15SP2+, but there is a compatibility issue
# with ONNX 1.7.0 in Tumbleweed - https://github.com/ARM-software/armnn/issues/419
%if 0%{?sle_version} >= 150200
@@ -75,12 +64,11 @@
%bcond_with armnn_onnx
%endif
%define version_major 21
-%define version_minor 02
-%define version_lib 24
-# Do not package ArmnnConverter and ArmnnQuantizer, by default
+%define version_minor 05
+%define version_lib 25
+%define version_lib_tfliteparser 24
+# Do not package ArmnnConverter, by default
%bcond_with armnn_tools
-# Enable CAFFE
-%bcond_without armnn_caffe
Name: armnn%{?package_suffix}
Version: %{version_major}.%{version_minor}
Release: 0
@@ -92,6 +80,8 @@
Source1: armnn-rpmlintrc
# PATCH-FIX-UPSTREAM - https://github.com/ARM-software/armnn/issues/499
Patch1: 96beb97.diff
+# PATCH-FIX-UPSTREAM - https://github.com/ARM-software/armnn/issues/545
+Patch2: armnn-fix-include.patch
# PATCHES to add downstream ArmnnExamples binary - https://layers.openembedded.org/layerindex/recipe/87610/
Patch200: 0003-add-more-test-command-line-arguments.patch
Patch201: 0005-add-armnn-mobilenet-test-example.patch
@@ -121,22 +111,16 @@
BuildRequires: libboost_thread-devel >= 1.59
%endif
%endif
-%if %{with armnn_caffe}
-BuildRequires: caffe-devel
-%endif
%if %{with armnn_flatbuffers}
BuildRequires: flatbuffers-devel
-%if %{tf_version_2}
BuildRequires: tensorflow2-lite-devel
-%else
-BuildRequires: tensorflow-lite-devel
-%endif
%endif
%if %{with compute_cl}
# Mesa-libOpenCl is required for tests
BuildRequires: Mesa-libOpenCL
BuildRequires: ocl-icd-devel
BuildRequires: opencl-cpp-headers
+BuildRequires: opencl-headers
%endif
%if %{with armnn_extra_tests}
%if 0%{?suse_version} > 1500
@@ -151,13 +135,6 @@
%if %{with armnn_tests}
BuildRequires: stb-devel
%endif
-%if %{with armnn_tf}
-%if %{tf_version_2}
-BuildRequires: tensorflow2-devel
-%else
-BuildRequires: tensorflow-devel
-%endif
-%endif
%if %{with PyArmnn}
BuildRequires: python3-devel
BuildRequires: python3-wheel
@@ -168,17 +145,11 @@
%endif
%if %{with armnn_flatbuffers}
Requires: libarmnnSerializer%{version_lib}%{?package_suffix} = %{version}
-Requires: libarmnnTfLiteParser%{version_lib}%{?package_suffix} = %{version}
-%endif
-%if %{with armnn_caffe}
-Requires: libarmnnCaffeParser%{version_lib}%{?package_suffix} = %{version}
+Requires: libarmnnTfLiteParser%{version_lib_tfliteparser}%{?package_suffix} = %{version}
%endif
%if %{with armnn_onnx}
Requires: libarmnnOnnxParser%{version_lib}%{?package_suffix} = %{version}
%endif
-%if %{with armnn_tf}
-Requires: libarmnnTfParser%{version_lib}%{?package_suffix} = %{version}
-%endif
# Make sure we do not install both openCL and non-openCL (CPU only) versions.
%if "%{target}" == "opencl"
Conflicts: armnn
@@ -191,7 +162,7 @@
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
%package devel
@@ -210,23 +181,17 @@
%endif
%if %{with armnn_flatbuffers}
Requires: libarmnnSerializer%{version_lib}%{?package_suffix} = %{version}
-Requires: libarmnnTfLiteParser%{version_lib}%{?package_suffix} = %{version}
-%endif
-%if %{with armnn_caffe}
-Requires: libarmnnCaffeParser%{version_lib}%{?package_suffix} = %{version}
+Requires: libarmnnTfLiteParser%{version_lib_tfliteparser}%{?package_suffix} = %{version}
%endif
%if %{with armnn_onnx}
Requires: libarmnnOnnxParser%{version_lib}%{?package_suffix} = %{version}
%endif
-%if %{with armnn_tf}
-Requires: libarmnnTfParser%{version_lib}%{?package_suffix} = %{version}
-%endif
%description devel
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains the development libraries and headers for armnn.
@@ -248,7 +213,7 @@
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains additionnal downstream tests for armnn.
@@ -267,7 +232,7 @@
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains the libarmnn library from armnn.
@@ -285,7 +250,7 @@
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains the libarmnnBasePipeServer library from armnn.
@@ -303,7 +268,7 @@
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains the libtimelineDecoder library from armnn.
@@ -321,7 +286,7 @@
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains the libtimelineDecoder library from armnn.
@@ -340,70 +305,30 @@
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains the libarmnnSerializer library from armnn.
-%package -n libarmnnTfLiteParser%{version_lib}%{?package_suffix}
+%package -n libarmnnTfLiteParser%{version_lib_tfliteparser}%{?package_suffix}
Summary: libarmnnTfLiteParser from armnn
Group: Development/Libraries/C and C++
%if "%{target}" == "opencl"
-Conflicts: libarmnnTfLiteParser%{version_lib}
+Conflicts: libarmnnTfLiteParser%{version_lib_tfliteparser}
%else
-Conflicts: libarmnnTfLiteParser%{version_lib}-opencl
+Conflicts: libarmnnTfLiteParser%{version_lib_tfliteparser}-opencl
%endif
-%description -n libarmnnTfLiteParser%{version_lib}%{?package_suffix}
+%description -n libarmnnTfLiteParser%{version_lib_tfliteparser}%{?package_suffix}
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains the libarmnnTfLiteParser library from armnn.
%endif
-%if %{with armnn_tf}
-%package -n libarmnnTfParser%{version_lib}%{?package_suffix}
-Summary: libarmnnTfParser from armnn
-Group: Development/Libraries/C and C++
-%if "%{target}" == "opencl"
-Conflicts: libarmnnTfParser%{version_lib}
-%else
-Conflicts: libarmnnTfParser%{version_lib}-opencl
-%endif
-
-%description -n libarmnnTfParser%{version_lib}%{?package_suffix}
-Arm NN is an inference engine for CPUs, GPUs and NPUs.
-It bridges the gap between existing NN frameworks and the underlying IP.
-It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
-modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
-
-This package contains the libarmnnTfParser library from armnn.
-%endif
-
-%if %{with armnn_caffe}
-%package -n libarmnnCaffeParser%{version_lib}%{?package_suffix}
-Summary: libarmnnCaffeParser from armnn
-Group: Development/Libraries/C and C++
-%if "%{target}" == "opencl"
-Conflicts: libarmnnCaffeParser%{version_lib}
-%else
-Conflicts: libarmnnCaffeParser%{version_lib}-opencl
-%endif
-
-%description -n libarmnnCaffeParser%{version_lib}%{?package_suffix}
-Arm NN is an inference engine for CPUs, GPUs and NPUs.
-It bridges the gap between existing NN frameworks and the underlying IP.
-It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
-modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
-
-This package contains the libarmnnCaffeParser library from armnn.
-%endif
-
%if %{with armnn_onnx}
%package -n libarmnnOnnxParser%{version_lib}%{?package_suffix}
Summary: libarmnnOnnxParser from armnn
@@ -418,7 +343,7 @@
Arm NN is an inference engine for CPUs, GPUs and NPUs.
It bridges the gap between existing NN frameworks and the underlying IP.
It enables efficient translation of existing neural network frameworks,
-such as TensorFlow and Caffe, allowing them to run efficiently ��� without
+such as TensorFlow Lite, allowing them to run efficiently ��� without
modification ��� across Arm Cortex CPUs and Arm Mali GPUs.
This package contains the libarmnnOnnxParser library from armnn.
@@ -426,7 +351,13 @@
%prep
%setup -q -n armnn-%{version}
+%if %{with armnn_flatbuffers}
+%if %{pkg_vcmp tensorflow2-lite-devel >= 2.4}
+# This patch breaks build on TF < 2.4
%patch1 -p1
+%endif
+%endif
+%patch2 -p1
%if %{with armnn_extra_tests}
%patch200 -p1
%patch201 -p1
@@ -447,27 +378,11 @@
%if 0%{?suse_version} > 1500
export CXX_ADDITIONAL_FLAGS="$CXX_ADDITIONAL_FLAGS -Wno-error=deprecated-copy -Wno-error=deprecated-declarations"
%endif
-%if 0%{?sle_version} == 150200
-%if %{with armnn_tf}
-%if %{tf_version_2}
-# TensorFlow2 in Leap 15.2 shows erros on major/minor due to '-Werror' option:
-# /usr/lib/python3.6/site-packages/tensorflow_core/include/tensorflow/core/protobuf/autotuning.pb.cc:930:13: error: In the GNU C Library, "major" is defined by <sys/sysmacros.h>.
-# For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly.
-sed -i 's/-Werror//' ./cmake/GlobalConfig.cmake
-%endif
-%endif
-%endif
%cmake \
-DCMAKE_SKIP_RPATH=True \
-DSHARED_BOOST=1 \
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -pthread $CXX_ADDITIONAL_FLAGS -Wno-error=implicit-fallthrough -Wno-error=unused-parameter" \
-DBOOST_LIBRARYDIR=%{_libdir} \
-%if %{with armnn_caffe}
- -DBUILD_CAFFE_PARSER=ON \
-%else
- -DBUILD_CAFFE_PARSER=OFF \
-%endif
- -DCAFFE_GENERATED_SOURCES=%{_includedir}/ \
%if %{with armnn_onnx}
-DBUILD_ONNX_PARSER=ON \
-DONNX_GENERATED_SOURCES=../onnx_deps/ \
@@ -478,24 +393,12 @@
-DBUILD_ARMNN_SERIALIZER=ON \
-DFLATC_DIR=%{_bindir} \
-DFLATBUFFERS_INCLUDE_PATH=%{_includedir} \
- -DBUILD_ARMNN_QUANTIZER=ON \
-DBUILD_TF_LITE_PARSER=ON \
-DTF_LITE_SCHEMA_INCLUDE_PATH=%{_includedir}/tensorflow/lite/schema/ \
%else
-DBUILD_ARMNN_SERIALIZER=OFF \
- -DBUILD_ARMNN_QUANTIZER=OFF \
-DBUILD_TF_LITE_PARSER=OFF \
%endif
-%if %{with armnn_tf}
- -DBUILD_TF_PARSER=ON \
-%if %{tf_version_2}
- -DTF_GENERATED_SOURCES=%{python3_sitelib}/tensorflow_core/include/ \
-%else
- -DTF_GENERATED_SOURCES=%{python3_sitelib}/tensorflow/include/ \
-%endif
-%else
- -DBUILD_TF_PARSER=OFF \
-%endif
%if %{with compute_neon} || %{with compute_cl}
-DARMCOMPUTE_INCLUDE=%{_includedir} \
-DHALF_INCLUDE=%{_includedir}/half \
@@ -568,8 +471,6 @@
%if %{with armnn_tools}
# Install ArmNNConverter
cp $CP_ARGS ./build/ArmnnConverter %{buildroot}%{_bindir}
-# Install ArmNNQuantizer
-cp $CP_ARGS ./build/ArmnnQuantizer %{buildroot}%{_bindir}
%endif
%endif
# Drop static libs - https://github.com/ARM-software/armnn/issues/514
@@ -579,10 +480,6 @@
%if %{without compute_cl} && %{with armnn_tests}
%check
# Run tests
-%if !%{tf_version_2}
-# Skip some TF Lite tests because TensorFlow < 1.14 is used and make some tests failing
-export UnitTestFlags="-t !TensorflowLiteParser/SliceSingleDim -t !TensorflowLiteParser/SliceD123 -t !TensorflowLiteParser/SliceD213 -t !TensorflowLiteParser/TransposeWithPermuteData -t !TensorflowLiteParser/TransposeWithoutPermuteDims"
-%endif
LD_LIBRARY_PATH="$(pwd)/build/" \
./build/UnitTests $UnitTestFlags
%endif
@@ -603,18 +500,8 @@
%post -n libarmnnSerializer%{version_lib}%{?package_suffix} -p /sbin/ldconfig
%postun -n libarmnnSerializer%{version_lib}%{?package_suffix} -p /sbin/ldconfig
-%post -n libarmnnTfLiteParser%{version_lib}%{?package_suffix} -p /sbin/ldconfig
-%postun -n libarmnnTfLiteParser%{version_lib}%{?package_suffix} -p /sbin/ldconfig
-%endif
-
-%if %{with armnn_tf}
-%post -n libarmnnTfParser%{version_lib}%{?package_suffix} -p /sbin/ldconfig
-%postun -n libarmnnTfParser%{version_lib}%{?package_suffix} -p /sbin/ldconfig
-%endif
-
-%if %{with armnn_caffe}
-%post -n libarmnnCaffeParser%{version_lib}%{?package_suffix} -p /sbin/ldconfig
-%postun -n libarmnnCaffeParser%{version_lib}%{?package_suffix} -p /sbin/ldconfig
+%post -n libarmnnTfLiteParser%{version_lib_tfliteparser}%{?package_suffix} -p /sbin/ldconfig
+%postun -n libarmnnTfLiteParser%{version_lib_tfliteparser}%{?package_suffix} -p /sbin/ldconfig
%endif
%if %{with armnn_onnx}
@@ -628,24 +515,15 @@
%license LICENSE
%if %{with armnn_tests}
%{_bindir}/ExecuteNetwork
-%if %{with armnn_caffe}
-%{_bindir}/Caffe*-Armnn
-%{_bindir}/MultipleNetworksCifar10
-%endif
%if %{with armnn_flatbuffers}
%if %{with armnn_tools}
%{_bindir}/ArmnnConverter
-%{_bindir}/ArmnnQuantizer
%endif
%{_bindir}/TfLite*-Armnn
-%{_bindir}/Image*Generator
%endif
%if %{with armnn_onnx}
%{_bindir}/Onnx*-Armnn
%endif
-%if %{with armnn_tf}
-%{_bindir}/Tf*-Armnn
-%endif
%if %{with armnn_flatbuffers}
%{_bindir}/SimpleSample
%endif
@@ -672,20 +550,10 @@
%files -n libarmnnSerializer%{version_lib}%{?package_suffix}
%{_libdir}/libarmnnSerializer.so.*
-%files -n libarmnnTfLiteParser%{version_lib}%{?package_suffix}
+%files -n libarmnnTfLiteParser%{version_lib_tfliteparser}%{?package_suffix}
%{_libdir}/libarmnnTfLiteParser.so.*
%endif
-%if %{with armnn_tf}
-%files -n libarmnnTfParser%{version_lib}%{?package_suffix}
-%{_libdir}/libarmnnTfParser.so.*
-%endif
-
-%if %{with armnn_caffe}
-%files -n libarmnnCaffeParser%{version_lib}%{?package_suffix}
-%{_libdir}/libarmnnCaffeParser.so.*
-%endif
-
%if %{with armnn_onnx}
%files -n libarmnnOnnxParser%{version_lib}%{?package_suffix}
%{_libdir}/libarmnnOnnxParser.so.*
@@ -706,18 +574,12 @@
%{_includedir}/armnn/utility/*.hpp
%dir %{_includedir}/armnnUtils
%{_includedir}/armnnUtils/*.hpp
-%dir %{_includedir}/armnnCaffeParser/
-%{_includedir}/armnnCaffeParser/*.hpp
%dir %{_includedir}/armnnOnnxParser/
%{_includedir}/armnnOnnxParser/*.hpp
%dir %{_includedir}/armnnTfLiteParser/
%{_includedir}/armnnTfLiteParser/*.hpp
-%dir %{_includedir}/armnnTfParser/
-%{_includedir}/armnnTfParser/*.hpp
%dir %{_includedir}/armnnDeserializer/
%{_includedir}/armnnDeserializer/IDeserializer.hpp
-%dir %{_includedir}/armnnQuantizer
-%{_includedir}/armnnQuantizer/INetworkQuantizer.hpp
%dir %{_includedir}/armnnSerializer/
%{_includedir}/armnnSerializer/ISerializer.hpp
%dir %{_libdir}/cmake/armnn
@@ -730,12 +592,6 @@
%{_libdir}/libarmnnSerializer.so
%{_libdir}/libarmnnTfLiteParser.so
%endif
-%if %{with armnn_tf}
-%{_libdir}/libarmnnTfParser.so
-%endif
-%if %{with armnn_caffe}
-%{_libdir}/libarmnnCaffeParser.so
-%endif
%if %{with armnn_onnx}
%{_libdir}/libarmnnOnnxParser.so
%endif
++++++ armnn-21.02.tar.gz -> armnn-21.05.tar.gz ++++++
++++ 87190 lines of diff (skipped)
++++++ armnn-fix-include.patch ++++++
--- armnn-21.05/src/backends/cl/ClImportTensorHandle.hpp.orig 2021-05-21 11:52:42.847054405 +0000
+++ armnn-21.05/src/backends/cl/ClImportTensorHandle.hpp 2021-05-21 11:52:52.676788673 +0000
@@ -19,7 +19,7 @@
#include <arm_compute/core/TensorShape.h>
#include <arm_compute/core/Coordinates.h>
-#include <include/CL/cl_ext.h>
+#include <CL/cl_ext.h>
#include <arm_compute/core/CL/CLKernelLibrary.h>
namespace armnn
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ComputeLibrary for openSUSE:Factory checked in at 2021-05-21 21:50:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ComputeLibrary (Old)
and /work/SRC/openSUSE:Factory/.ComputeLibrary.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ComputeLibrary"
Fri May 21 21:50:20 2021 rev:9 rq:894802 version:21.05
Changes:
--------
--- /work/SRC/openSUSE:Factory/ComputeLibrary/ComputeLibrary.changes 2021-04-08 21:32:58.207860115 +0200
+++ /work/SRC/openSUSE:Factory/.ComputeLibrary.new.2988/ComputeLibrary.changes 2021-05-21 21:50:35.498090430 +0200
@@ -1,0 +2,11 @@
+Fri May 21 06:45:21 UTC 2021 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update to 21.05:
+ * Public major release
+ * Documentation (API, changelogs, build guide,
+ contribution guide, errata, etc.) available here:
+ https://arm-software.github.io/ComputeLibrary/v21.05/
+- Drop patch which is not needed anymore:
+ * acl-fix-packaging-issue.patch
+
+-------------------------------------------------------------------
Old:
----
ComputeLibrary-21.02.tar.gz
acl-fix-packaging-issue.patch
New:
----
ComputeLibrary-21.05.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ComputeLibrary.spec ++++++
--- /var/tmp/diff_new_pack.VHIILB/_old 2021-05-21 21:50:36.122087845 +0200
+++ /var/tmp/diff_new_pack.VHIILB/_new 2021-05-21 21:50:36.122087845 +0200
@@ -16,18 +16,16 @@
#
-%define so_ver 22
+%define so_ver 23
# Disable validation tests by default due to opencl needing to be set up
%bcond_with computelibrary_tests
Name: ComputeLibrary
-Version: 21.02
+Version: 21.05
Release: 0
Summary: ARM Compute Library
License: MIT
URL: https://developer.arm.com/technologies/compute-library
Source: https://github.com/ARM-software/ComputeLibrary/archive/v%{version}.tar.gz#/…
-# PATCH-FIX-UPSTREAM - https://github.com/ARM-software/armnn/issues/531
-Patch1: acl-fix-packaging-issue.patch
BuildRequires: gcc-c++
BuildRequires: git-core
BuildRequires: ocl-icd-devel
@@ -124,7 +122,7 @@
cp -a build/*.so* %{buildroot}%{_libdir}/
# FIXME: scons should install headers thanks to: install_dir=%%{buildroot}%%{_prefix} but this is broken
mkdir -p %{buildroot}%{_includedir}/
-cp -a arm_compute/ support/ utils/ include/half/ include/libnpy/ include/linux %{buildroot}%{_includedir}/
+cp -a arm_compute/ support/ utils/ include/half/ include/libnpy/ %{buildroot}%{_includedir}/
# Remove *.cpp files from includedir
rm -f $(find %{buildroot}%{_includedir}/ -name *.cpp)
# Install sample data
@@ -137,6 +135,8 @@
for pyfile in `ls %{buildroot}%{_bindir}/*.py`; do
sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python|' $pyfile
done
+# Drop txt files
+rm %{buildroot}%{_bindir}/*.txt
%post -n libarm_compute%{so_ver} -p /sbin/ldconfig
%postun -n libarm_compute%{so_ver} -p /sbin/ldconfig
@@ -171,13 +171,11 @@
%dir %{_includedir}/arm_compute
%dir %{_includedir}/half
%dir %{_includedir}/libnpy
-%dir %{_includedir}/linux
%dir %{_includedir}/support
%dir %{_includedir}/utils
%{_includedir}/arm_compute/*
%{_includedir}/half/*
%{_includedir}/libnpy/*
-%{_includedir}/linux/*
%{_includedir}/support/*
%{_includedir}/utils/*
%{_libdir}/*.so
++++++ ComputeLibrary-21.02.tar.gz -> ComputeLibrary-21.05.tar.gz ++++++
/work/SRC/openSUSE:Factory/ComputeLibrary/ComputeLibrary-21.02.tar.gz /work/SRC/openSUSE:Factory/.ComputeLibrary.new.2988/ComputeLibrary-21.05.tar.gz differ: char 12, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-agate-stats for openSUSE:Factory checked in at 2021-05-21 21:50:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-agate-stats (Old)
and /work/SRC/openSUSE:Factory/.python-agate-stats.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-agate-stats"
Fri May 21 21:50:20 2021 rev:2 rq:894794 version:0.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-agate-stats/python-agate-stats.changes 2018-05-29 16:48:02.949147876 +0200
+++ /work/SRC/openSUSE:Factory/.python-agate-stats.new.2988/python-agate-stats.changes 2021-05-21 21:50:34.674093843 +0200
@@ -1,0 +2,10 @@
+Fri May 21 08:05:59 UTC 2021 - pgajdos(a)suse.com
+
+- use github release which contains tests, run them via %pytest macro
+- deleted sources
+ - COPYING (not needed)
+- added patches
+ fix https://github.com/wireservice/agate-stats/compare/0.4.0...master.diff
+ + python-agate-stats-remove-mysterious-line.patch
+
+-------------------------------------------------------------------
Old:
----
COPYING
New:
----
python-agate-stats-remove-mysterious-line.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-agate-stats.spec ++++++
--- /var/tmp/diff_new_pack.mY8fIa/_old 2021-05-21 21:50:35.134091937 +0200
+++ /var/tmp/diff_new_pack.mY8fIa/_new 2021-05-21 21:50:35.138091921 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-agate-stats
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with test
Name: python-agate-stats
Version: 0.4.0
Release: 0
License: MIT
Summary: Additional statistical methods for agate
-Url: http://agate-stats.readthedocs.org/
+URL: http://agate-stats.readthedocs.org/
Group: Development/Languages/Python
-Source: https://files.pythonhosted.org/packages/source/a/agate-stats/agate-stats-%{…
-Source10: https://raw.githubusercontent.com/wireservice/agate-stats/%{version}/COPYING
+Source: https://github.com/wireservice/agate-stats/archive/refs/tags/%{version}.tar…
+# https://github.com/wireservice/agate-stats/compare/0.4.0...master.diff
+Patch0: python-agate-stats-remove-mysterious-line.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-%if %{with test}
+# SECTION test requirements
BuildRequires: %{python_module agate >= 1.5.0}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six >= 1.6.1}
-%endif
+# /SECTION
Requires: python-agate >= 1.5.0
Requires: python-six >= 1.6.1
BuildArch: noarch
@@ -45,7 +47,7 @@
%prep
%setup -q -n agate-stats-%{version}
-cp %{SOURCE10} .
+%patch0 -p1
sed -i -e '/^#!\//, 1d' agatestats/*.py
%build
@@ -55,10 +57,8 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
-%python_exec setup.py test
-%endif
+%pytest
%files %{python_files}
%defattr(-,root,root,-)
++++++ agate-stats-0.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/.coveragerc new/agate-stats-0.4.0/.coveragerc
--- old/agate-stats-0.4.0/.coveragerc 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/.coveragerc 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,3 @@
+[run]
+include =
+ agatestats/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/.gitignore new/agate-stats-0.4.0/.gitignore
--- old/agate-stats-0.4.0/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/.gitignore 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,12 @@
+.DS_Store
+*.pyc
+*.swp
+*.swo
+.tox
+*.egg-info
+docs/_build
+dist
+.coverage
+build
+.proof
+.test.png
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/.travis.yml new/agate-stats-0.4.0/.travis.yml
--- old/agate-stats-0.4.0/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/.travis.yml 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,12 @@
+language: python
+python:
+ - "2.7"
+ - "3.3"
+ - "3.4"
+ - "3.5"
+# command to install dependencies
+install:
+ - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; else pip install -r requirements-py2.txt; fi
+# command to run tests
+script: nosetests tests
+sudo: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/AUTHORS.rst new/agate-stats-0.4.0/AUTHORS.rst
--- old/agate-stats-0.4.0/AUTHORS.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/AUTHORS.rst 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,3 @@
+The following individuals have contributed code to agate-stats:
+
+* `Christopher Groskopf <https://github.com/onyxfish/>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/CHANGELOG.rst new/agate-stats-0.4.0/CHANGELOG.rst
--- old/agate-stats-0.4.0/CHANGELOG.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/CHANGELOG.rst 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,29 @@
+0.4.0
+-----
+
+* Update :class:`.ZScores` to use new :class:`.Computation` interface.
+* Remove monkey patching.
+* Upgrade agate dependency to ``1.5.0``.
+
+0.3.1 - November 5, 2015
+------------------------
+
+* Fix packaging issue.
+
+0.3.0 - November 5, 2015
+------------------------
+
+* Added usage documentation.
+* Convert :class:`.PearsonCorrelation` to an aggregation.
+* Update required version of agate to 1.1.0.
+* Removed Python 2.6 support.
+
+0.2.0 - October 22, 2015
+------------------------
+
+* Update to support agate 1.0.0.
+
+0.1.0 - October 6, 2015
+-----------------------
+
+* Initial version.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/COPYING new/agate-stats-0.4.0/COPYING
--- old/agate-stats-0.4.0/COPYING 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/COPYING 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2015 Christopher Groskopf and contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/PKG-INFO new/agate-stats-0.4.0/PKG-INFO
--- old/agate-stats-0.4.0/PKG-INFO 2016-12-19 21:24:49.000000000 +0100
+++ new/agate-stats-0.4.0/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,54 +0,0 @@
-Metadata-Version: 1.1
-Name: agate-stats
-Version: 0.4.0
-Summary: agate-stats adds additional statistical methods to agate.
-Home-page: http://agate-stats.readthedocs.org/
-Author: Christopher Groskopf
-Author-email: chrisgroskopf(a)gmail.com
-License: MIT
-Description: .. image:: https://travis-ci.org/wireservice/agate-stats.png
- :target: https://travis-ci.org/wireservice/agate-stats
- :alt: Build status
-
- .. image:: https://img.shields.io/pypi/dw/agate-stats.svg
- :target: https://pypi.python.org/pypi/agate-stats
- :alt: PyPI downloads
-
- .. image:: https://img.shields.io/pypi/v/agate-stats.svg
- :target: https://pypi.python.org/pypi/agate-stats
- :alt: Version
-
- .. image:: https://img.shields.io/pypi/l/agate-stats.svg
- :target: https://pypi.python.org/pypi/agate-stats
- :alt: License
-
- .. image:: https://img.shields.io/pypi/pyversions/agate-stats.svg
- :target: https://pypi.python.org/pypi/agate-stats
- :alt: Support Python versions
-
- agate-stats adds statistical methods to `agate <https://github.com/wireservice/agate>`_.
-
- Important links:
-
- * agate http://agate.rtfd.org
- * Documentation: http://agate-stats.rtfd.org
- * Repository: https://github.com/wireservice/agate-stats
- * Issues: https://github.com/wireservice/agate-stats/issues
-
-Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: Science/Research
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Natural Language :: English
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: Implementation :: CPython
-Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: Topic :: Multimedia :: Graphics
-Classifier: Topic :: Scientific/Engineering :: Information Analysis
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/agate_stats.egg-info/PKG-INFO new/agate-stats-0.4.0/agate_stats.egg-info/PKG-INFO
--- old/agate-stats-0.4.0/agate_stats.egg-info/PKG-INFO 2016-12-19 21:24:49.000000000 +0100
+++ new/agate-stats-0.4.0/agate_stats.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,54 +0,0 @@
-Metadata-Version: 1.1
-Name: agate-stats
-Version: 0.4.0
-Summary: agate-stats adds additional statistical methods to agate.
-Home-page: http://agate-stats.readthedocs.org/
-Author: Christopher Groskopf
-Author-email: chrisgroskopf(a)gmail.com
-License: MIT
-Description: .. image:: https://travis-ci.org/wireservice/agate-stats.png
- :target: https://travis-ci.org/wireservice/agate-stats
- :alt: Build status
-
- .. image:: https://img.shields.io/pypi/dw/agate-stats.svg
- :target: https://pypi.python.org/pypi/agate-stats
- :alt: PyPI downloads
-
- .. image:: https://img.shields.io/pypi/v/agate-stats.svg
- :target: https://pypi.python.org/pypi/agate-stats
- :alt: Version
-
- .. image:: https://img.shields.io/pypi/l/agate-stats.svg
- :target: https://pypi.python.org/pypi/agate-stats
- :alt: License
-
- .. image:: https://img.shields.io/pypi/pyversions/agate-stats.svg
- :target: https://pypi.python.org/pypi/agate-stats
- :alt: Support Python versions
-
- agate-stats adds statistical methods to `agate <https://github.com/wireservice/agate>`_.
-
- Important links:
-
- * agate http://agate.rtfd.org
- * Documentation: http://agate-stats.rtfd.org
- * Repository: https://github.com/wireservice/agate-stats
- * Issues: https://github.com/wireservice/agate-stats/issues
-
-Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: Science/Research
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Natural Language :: English
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: Implementation :: CPython
-Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: Topic :: Multimedia :: Graphics
-Classifier: Topic :: Scientific/Engineering :: Information Analysis
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/agate_stats.egg-info/SOURCES.txt new/agate-stats-0.4.0/agate_stats.egg-info/SOURCES.txt
--- old/agate-stats-0.4.0/agate_stats.egg-info/SOURCES.txt 2016-12-19 21:24:49.000000000 +0100
+++ new/agate-stats-0.4.0/agate_stats.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-README.rst
-setup.cfg
-setup.py
-agate_stats.egg-info/PKG-INFO
-agate_stats.egg-info/SOURCES.txt
-agate_stats.egg-info/dependency_links.txt
-agate_stats.egg-info/requires.txt
-agate_stats.egg-info/top_level.txt
-agatestats/__init__.py
-agatestats/aggregations.py
-agatestats/computations.py
-agatestats/table.py
-agatestats/tableset.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/agate_stats.egg-info/dependency_links.txt new/agate-stats-0.4.0/agate_stats.egg-info/dependency_links.txt
--- old/agate-stats-0.4.0/agate_stats.egg-info/dependency_links.txt 2016-12-19 21:24:49.000000000 +0100
+++ new/agate-stats-0.4.0/agate_stats.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/agate_stats.egg-info/requires.txt new/agate-stats-0.4.0/agate_stats.egg-info/requires.txt
--- old/agate-stats-0.4.0/agate_stats.egg-info/requires.txt 2016-12-19 21:24:49.000000000 +0100
+++ new/agate-stats-0.4.0/agate_stats.egg-info/requires.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-six>=1.6.1
-agate>=1.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/agate_stats.egg-info/top_level.txt new/agate-stats-0.4.0/agate_stats.egg-info/top_level.txt
--- old/agate-stats-0.4.0/agate_stats.egg-info/top_level.txt 2016-12-19 21:24:49.000000000 +0100
+++ new/agate-stats-0.4.0/agate_stats.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-agatestats
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/docs/Makefile new/agate-stats-0.4.0/docs/Makefile
--- old/agate-stats-0.4.0/docs/Makefile 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/docs/Makefile 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,130 @@
+# Makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+PAPER =
+BUILDDIR = _build
+
+# Internal variables.
+PAPEROPT_a4 = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
+
+help:
+ @echo "Please use \`make <target>' where <target> is one of"
+ @echo " html to make standalone HTML files"
+ @echo " dirhtml to make HTML files named index.html in directories"
+ @echo " singlehtml to make a single large HTML file"
+ @echo " pickle to make pickle files"
+ @echo " json to make JSON files"
+ @echo " htmlhelp to make HTML files and a HTML help project"
+ @echo " qthelp to make HTML files and a qthelp project"
+ @echo " devhelp to make HTML files and a Devhelp project"
+ @echo " epub to make an epub"
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
+ @echo " text to make text files"
+ @echo " man to make manual pages"
+ @echo " changes to make an overview of all changed/added/deprecated items"
+ @echo " linkcheck to check all external links for integrity"
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
+
+clean:
+ -rm -rf $(BUILDDIR)/*
+
+html:
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ @echo
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+
+dirhtml:
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
+ @echo
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
+
+singlehtml:
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
+ @echo
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
+
+pickle:
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
+ @echo
+ @echo "Build finished; now you can process the pickle files."
+
+json:
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
+ @echo
+ @echo "Build finished; now you can process the JSON files."
+
+htmlhelp:
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
+ @echo
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
+
+qthelp:
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
+ @echo
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/agatestats.qhcp"
+ @echo "To view the help file:"
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/agatestats.qhc"
+
+devhelp:
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
+ @echo
+ @echo "Build finished."
+ @echo "To view the help file:"
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/agatestats"
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/agatestats"
+ @echo "# devhelp"
+
+epub:
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+ @echo
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+
+latex:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
+ "(use \`make latexpdf' here to do that automatically)."
+
+latexpdf:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo "Running LaTeX files through pdflatex..."
+ make -C $(BUILDDIR)/latex all-pdf
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+text:
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
+ @echo
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
+
+man:
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
+ @echo
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
+
+changes:
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
+ @echo
+ @echo "The overview file is in $(BUILDDIR)/changes."
+
+linkcheck:
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
+ @echo
+ @echo "Link check complete; look for any errors in the above output " \
+ "or in $(BUILDDIR)/linkcheck/output.txt."
+
+doctest:
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
+ @echo "Testing of doctests in the sources finished, look at the " \
+ "results in $(BUILDDIR)/doctest/output.txt."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/docs/conf.py new/agate-stats-0.4.0/docs/conf.py
--- old/agate-stats-0.4.0/docs/conf.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/docs/conf.py 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,225 @@
+# -*- coding: utf-8 -*-
+#
+# This file is execfile()d with the current directory set to its containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import os
+import sys
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+sys.path.insert(0, os.path.abspath('..'))
+
+# -- General configuration -----------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be extensions
+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
+autodoc_member_order = 'bysource'
+
+intersphinx_mapping = {
+ 'python': ('http://docs.python.org/3.5/', None),
+ 'agate': ('http://agate.readthedocs.org/en/latest/', None)
+}
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+#source_encoding = 'utf-8-sig'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'agate-stats'
+copyright = u'2015, Christopher Groskopf'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = '0.4.0'
+# The full version, including alpha/beta/rc tags.
+release = '0.4.0 (alpha)'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+#today = ''
+# Else, today_fmt is used as the format for a strftime call.
+#today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = ['_build']
+
+# The reST default role (used for this markup: `text`) to use for all documents.
+#default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+#add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+#add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+#show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+#modindex_common_prefix = []
+
+
+# -- Options for HTML output ---------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+html_theme = 'default'
+
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
+
+if not on_rtd: # only import and set the theme if we're building docs locally
+ import sphinx_rtd_theme
+ html_theme = 'sphinx_rtd_theme'
+ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+#html_theme_path = []
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# "<project> v<release> documentation".
+#html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+#html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+#html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+#html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+#html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+#html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+#html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+#html_additional_pages = {}
+
+# If false, no module index is generated.
+#html_domain_indices = True
+
+# If false, no index is generated.
+#html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+#html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+#html_show_sourcelink = True
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+#html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+#html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+#html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+#html_file_suffix = None
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'agatestatsdoc'
+
+
+# -- Options for LaTeX output --------------------------------------------------
+
+# The paper size ('letter' or 'a4').
+#latex_paper_size = 'letter'
+
+# The font size ('10pt', '11pt' or '12pt').
+#latex_font_size = '10pt'
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title, author, documentclass [howto/manual]).
+latex_documents = [
+ ('index', 'agate-stats.tex', u'agate-stats Documentation',
+ u'Christopher Groskopf', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+#latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+#latex_use_parts = False
+
+# If true, show page references after internal links.
+#latex_show_pagerefs = False
+
+# If true, show URL addresses after external links.
+#latex_show_urls = False
+
+# Additional stuff for the LaTeX preamble.
+#latex_preamble = ''
+
+# Documents to append as an appendix to all manuals.
+#latex_appendices = []
+
+# If false, no module index is generated.
+#latex_domain_indices = True
+
+
+# -- Options for manual page output --------------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/docs/index.rst new/agate-stats-0.4.0/docs/index.rst
--- old/agate-stats-0.4.0/docs/index.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/docs/index.rst 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,74 @@
+=====================
+agate-stats |release|
+=====================
+
+.. include:: ../README.rst
+
+Install
+=======
+
+To install:
+
+.. code-block:: bash
+
+ pip install agate-stats
+
+For details on development or supported platforms see the `agate documentation <http://agate.readthedocs.org>`_.
+
+Usage
+=====
+
+agate-stats uses a monkey patching pattern to add additional statistical methods to all :class:`agate.Table <agate.table.Table>` instances.
+
+.. code-block:: python
+
+ import agate
+ import agatestats
+
+Importing agate-stats adds methods to :class:`agate.Table <agate.table.Table>`. For example, to filter a table to only those rows whose ``cost`` value is an outliers by more than 3 standard deviations you would use :meth:`.TableStats.stdev_outliers`:
+
+.. code-block:: python
+
+ outliers = table.stdev_outliers('price')
+
+In addition to Table methods agatestats also includes a variety of additional aggregations and computations. See the API section of the docs for a complete list of all the added features.
+
+===
+API
+===
+
+.. autofunction:: agatestats.table.stdev_outliers
+
+.. autofunction:: agatestats.table.mad_outliers
+
+.. autofunction:: agatestats.tableset.stdev_outliers
+
+.. autofunction:: agatestats.tableset.mad_outliers
+
+.. autoclass:: agatestats.aggregations.PearsonCorrelation
+ :members:
+
+.. autoclass:: agatestats.computations.ZScores
+ :members:
+
+Authors
+=======
+
+.. include:: ../AUTHORS.rst
+
+Changelog
+=========
+
+.. include:: ../CHANGELOG.rst
+
+License
+=======
+
+.. include:: ../COPYING
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/requirements-py2.txt new/agate-stats-0.4.0/requirements-py2.txt
--- old/agate-stats-0.4.0/requirements-py2.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/requirements-py2.txt 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,12 @@
+unittest2==0.5.1
+nose>=1.1.2
+tox>=1.3
+Sphinx>=1.2.2
+sphinx_rtd_theme>=0.1.6
+wheel>=0.24.0
+agate>=1.5.0
+ipython>=4.0.0
+notebook>=4.0.4
+pylint>=1.4.4
+six>=1.6.1
+coverage>=3.7.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/requirements-py3.txt new/agate-stats-0.4.0/requirements-py3.txt
--- old/agate-stats-0.4.0/requirements-py3.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/requirements-py3.txt 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,11 @@
+nose>=1.1.2
+tox>=1.3
+Sphinx>=1.2.2
+sphinx_rtd_theme>=0.1.6
+wheel>=0.24.0
+agate>=1.5.0
+ipython>=4.0.0
+notebook>=4.0.4
+pylint>=1.4.4
+six>=1.6.1
+coverage>=3.7.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/setup.cfg new/agate-stats-0.4.0/setup.cfg
--- old/agate-stats-0.4.0/setup.cfg 2016-12-19 21:24:49.000000000 +0100
+++ new/agate-stats-0.4.0/setup.cfg 2016-12-19 21:23:33.000000000 +0100
@@ -1,8 +1,2 @@
[bdist_wheel]
universal = 1
-
-[egg_info]
-tag_build =
-tag_date = 0
-tag_svn_revision = 0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/tests/test_aggregations.py new/agate-stats-0.4.0/tests/test_aggregations.py
--- old/agate-stats-0.4.0/tests/test_aggregations.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/tests/test_aggregations.py 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,69 @@
+#!/usr/bin/env python
+# -*- coding: utf8 -*-
+
+from decimal import Decimal
+import warnings
+
+try:
+ import unittest2 as unittest
+except ImportError:
+ import unittest
+
+import agate
+
+from agatestats.aggregations import PearsonCorrelation
+
+class TestTable(unittest.TestCase):
+ def setUp(self):
+ self.rows = (
+ (1, 4, 'a'),
+ (2, 3, 'b'),
+ (None, 2, u'����')
+ )
+
+ self.column_names = ['one', 'two', 'three']
+ self.column_types = [agate.Number(), agate.Number(), agate.Text()]
+
+ def test_pearson_correlation(self):
+ rows = (
+ (-1, 0, 'a'),
+ (0, 0, 'b'),
+ (1, 3, 'c')
+ )
+
+ table = agate.Table(rows, self.column_names, self.column_types)
+
+ self.assertEqual(table.aggregate(PearsonCorrelation('one', 'one')), Decimal('1'))
+ self.assertAlmostEqual(table.aggregate(PearsonCorrelation('one', 'two')), Decimal('3').sqrt() * Decimal('0.5'))
+
+ def test_pearson_correlation_nulls(self):
+ rows = (
+ (-1, 0, 'a'),
+ (0, 0, 'b'),
+ (1, None, 'c')
+ )
+
+ table = agate.Table(rows, self.column_names, self.column_types)
+
+ warnings.simplefilter('error')
+
+ with self.assertRaises(agate.NullCalculationWarning):
+ table.aggregate(PearsonCorrelation('one', 'two'))
+
+ with self.assertRaises(agate.NullCalculationWarning):
+ table.aggregate(PearsonCorrelation('two', 'one'))
+
+ warnings.simplefilter('ignore')
+
+ self.assertEqual(table.aggregate(PearsonCorrelation('one', 'two')), 0)
+
+ def test_pearson_correlation_zero(self):
+ rows = (
+ (-1, 3, 'a'),
+ (0, 3, 'b'),
+ (1, 3, 'c')
+ )
+
+ table = agate.Table(rows, self.column_names, self.column_types)
+
+ self.assertEqual(table.aggregate(PearsonCorrelation('one', 'two')), Decimal('0'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/tests/test_computations.py new/agate-stats-0.4.0/tests/test_computations.py
--- old/agate-stats-0.4.0/tests/test_computations.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/tests/test_computations.py 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,48 @@
+#!/usr/bin/env Python
+
+from decimal import Decimal
+
+try:
+ import unittest2 as unittest
+except ImportError:
+ import unittest
+
+import agate
+
+from agatestats.computations import ZScores
+
+class TestTableComputation(unittest.TestCase):
+ def setUp(self):
+ self.rows = (
+ ('a', 2, 3, 4),
+ (None, 3, 5, None),
+ ('a', 2, 4, None),
+ ('b', 3, 4, None)
+ )
+
+ self.number_type = agate.Number()
+ self.text_type = agate.Text()
+
+ self.column_names = ['one', 'two', 'three', 'four']
+ self.column_types = [agate.Text(), agate.Number(), agate.Number(), agate.Number()]
+
+ self.table = agate.Table(self.rows, self.column_names, self.column_types)
+
+ def test_z_scores(self):
+ new_table = self.table.compute([
+ ('z-scores', ZScores('two'))
+ ])
+
+ self.assertEqual(len(new_table.rows), 4)
+ self.assertEqual(len(new_table.columns), 5)
+
+ self.assertEqual(new_table.columns['z-scores'][0].quantize(Decimal('0.01')), Decimal('-0.87'))
+ self.assertEqual(new_table.columns['z-scores'][1].quantize(Decimal('0.01')), Decimal('0.87'))
+ self.assertEqual(new_table.columns['z-scores'][2].quantize(Decimal('0.01')), Decimal('-0.87'))
+ self.assertEqual(new_table.columns['z-scores'][3].quantize(Decimal('0.01')), Decimal('0.87'))
+
+ def test_zscores_invalid_column(self):
+ with self.assertRaises(agate.DataTypeError):
+ new_table = self.table.compute([
+ ('test', ZScores('one'))
+ ])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/tests/test_table.py new/agate-stats-0.4.0/tests/test_table.py
--- old/agate-stats-0.4.0/tests/test_table.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/tests/test_table.py 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,77 @@
+#!/usr/bin/env python
+# -*- coding: utf8 -*-
+
+try:
+ import unittest2 as unittest
+except ImportError:
+ import unittest
+
+import agate
+import agatestats
+
+class TestTable(unittest.TestCase):
+ def setUp(self):
+ self.rows = (
+ (1, 4, 'a'),
+ (2, 3, 'b'),
+ (None, 2, u'����')
+ )
+
+ self.column_names = ['one', 'two', 'three']
+ self.column_types = [agate.Number(), agate.Number(), agate.Text()]
+
+ def test_stdev_outliers(self):
+ rows = [
+ (50, 4, 'a'),
+ ] * 10
+
+ rows.append((200, 1, 'b'))
+
+ table = agate.Table(rows, self.column_names, self.column_types)
+
+ new_table = table.stdev_outliers('one')
+
+ self.assertEqual(len(new_table.rows), 10)
+ self.assertNotIn(200, new_table.columns['one'])
+
+ def test_stdev_outliers_reject(self):
+ rows = [
+ (50, 4, 'a'),
+ ] * 10
+
+ rows.append((200, 1, 'b'))
+
+ table = agate.Table(rows, self.column_names, self.column_types)
+
+ new_table = table.stdev_outliers('one', reject=True)
+
+ self.assertEqual(len(new_table.rows), 1)
+ self.assertSequenceEqual(new_table.columns['one'], (200,))
+
+ def test_mad_outliers(self):
+ rows = [
+ (50, 4, 'a'),
+ ] * 10
+
+ rows.append((200, 1, 'b'))
+
+ table = agate.Table(rows, self.column_names, self.column_types)
+
+ new_table = table.mad_outliers('one')
+
+ self.assertEqual(len(new_table.rows), 10)
+ self.assertNotIn(200, new_table.columns['one'])
+
+ def test_mad_outliers_reject(self):
+ rows = [
+ (50, 4, 'a'),
+ ] * 10
+
+ rows.append((200, 1, 'b'))
+
+ table = agate.Table(rows, self.column_names, self.column_types)
+
+ new_table = table.mad_outliers('one', reject=True)
+
+ self.assertEqual(len(new_table.rows), 1)
+ self.assertSequenceEqual(new_table.columns['one'], (200,))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/tests/test_tableset.py new/agate-stats-0.4.0/tests/test_tableset.py
--- old/agate-stats-0.4.0/tests/test_tableset.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/tests/test_tableset.py 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,69 @@
+#!/usr/bin/env python
+# -*- coding: utf8 -*-
+
+try:
+ import unittest2 as unittest
+except ImportError:
+ import unittest
+
+import agate
+import agatestats
+
+class TestTableSet(unittest.TestCase):
+ def setUp(self):
+ self.column_names = ['one', 'two', 'three']
+ self.column_types = [agate.Number(), agate.Number(), agate.Text()]
+
+ def test_stdev_outliers(self):
+ rows = [
+ (50, 4, 'a'),
+ ] * 10
+
+ rows.append((200, 1, 'b'))
+
+ table1 = agate.Table(rows, self.column_names, self.column_types)
+
+ rows = [
+ (50, 4, 'a'),
+ ] * 10
+
+ rows.append((400, 1, 'b'))
+
+ table2 = agate.Table(rows, self.column_names, self.column_types)
+
+ tableset = agate.TableSet([table1, table2], keys=['one', 'two'])
+
+ new_tableset = tableset.stdev_outliers('one')
+
+ self.assertEqual(len(new_tableset['one'].rows), 10)
+ self.assertNotIn(200, new_tableset['one'].columns['one'])
+
+ self.assertEqual(len(new_tableset['two'].rows), 10)
+ self.assertNotIn(400, new_tableset['two'].columns['one'])
+
+ def test_mad_outliers(self):
+ rows = [
+ (50, 4, 'a'),
+ ] * 10
+
+ rows.append((200, 1, 'b'))
+
+ table1 = agate.Table(rows, self.column_names, self.column_types)
+
+ rows = [
+ (50, 4, 'a'),
+ ] * 10
+
+ rows.append((400, 1, 'b'))
+
+ table2 = agate.Table(rows, self.column_names, self.column_types)
+
+ tableset = agate.TableSet([table1, table2], keys=['one', 'two'])
+
+ new_tableset = tableset.mad_outliers('one')
+
+ self.assertEqual(len(new_tableset['one'].rows), 10)
+ self.assertNotIn(200, new_tableset['one'].columns['one'])
+
+ self.assertEqual(len(new_tableset['two'].rows), 10)
+ self.assertNotIn(400, new_tableset['two'].columns['one'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-stats-0.4.0/tox.ini new/agate-stats-0.4.0/tox.ini
--- old/agate-stats-0.4.0/tox.ini 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-stats-0.4.0/tox.ini 2016-12-19 21:23:33.000000000 +0100
@@ -0,0 +1,28 @@
+[tox]
+envlist = py27,py33,py34,py35,pypy
+
+[testenv]
+deps=
+ nose>=1.1.2
+ six>=1.6.1
+commands=nosetests
+
+[testenv:py27]
+deps=
+ {[testenv]deps}
+
+[testenv:py33]
+deps=
+ {[testenv]deps}
+
+[testenv:py34]
+deps=
+ {[testenv:py33]deps}
+
+[testenv:py35]
+deps=
+ {[testenv:py33]deps}
+
+[testenv:pypy]
+deps=
+ {[testenv:py33]deps}
++++++ python-agate-stats-remove-mysterious-line.patch ++++++
--- a/agatestats/computations.py
+++ b/agatestats/computations.py
@@ -21,7 +21,6 @@ def validate(self, table):
if not isinstance(column.data_type, agate.Number):
raise agate.DataTypeError('ZScores column must contain Number data.')
- def run(self, table):
self._mean = table.aggregate(agate.Mean(self._column_name))
self._sd = table.aggregate(agate.StDev(self._column_name))
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-agate-remote for openSUSE:Factory checked in at 2021-05-21 21:50:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-agate-remote (Old)
and /work/SRC/openSUSE:Factory/.python-agate-remote.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-agate-remote"
Fri May 21 21:50:19 2021 rev:2 rq:894793 version:0.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-agate-remote/python-agate-remote.changes 2018-05-29 16:47:57.953331724 +0200
+++ /work/SRC/openSUSE:Factory/.python-agate-remote.new.2988/python-agate-remote.changes 2021-05-21 21:50:33.990096676 +0200
@@ -1,0 +2,8 @@
+Fri May 21 08:17:21 UTC 2021 - pgajdos(a)suse.com
+
+- ephasize the tests are online
+- use github tarball
+- deleted sources
+ - COPYING (not needed)
+
+-------------------------------------------------------------------
Old:
----
COPYING
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-agate-remote.spec ++++++
--- /var/tmp/diff_new_pack.81Hc9M/_old 2021-05-21 21:50:34.502094555 +0200
+++ /var/tmp/diff_new_pack.81Hc9M/_new 2021-05-21 21:50:34.506094538 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-agate-remote
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with test
Name: python-agate-remote
Version: 0.2.0
Release: 0
License: MIT
Summary: Read support for remote files for agate
-Url: http://agate-remote.readthedocs.org/
+URL: http://agate-remote.readthedocs.org/
Group: Development/Languages/Python
-Source: https://files.pythonhosted.org/packages/source/a/agate-remote/agate-remote-…
-Source10: https://raw.githubusercontent.com/wireservice/agate-remote/%{version}/COPYI…
+Source: https://github.com/wireservice/agate-remote/archive/refs/tags/%{version}.ta…
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-%if %{with test}
+# SECTION test requirements
BuildRequires: %{python_module agate >= 1.5.0}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.9.1}
-%endif
Requires: python-agate >= 1.5.0
Requires: python-requests >= 2.9.1
BuildArch: noarch
@@ -45,7 +44,6 @@
%prep
%setup -q -n agate-remote-%{version}
-cp %{SOURCE10} .
sed -i -e '/^#!\//, 1d' agateremote/*.py
%build
@@ -55,10 +53,9 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
-%python_exec setup.py test
-%endif
+# online tests only
+#%%pytest
%files %{python_files}
%defattr(-,root,root,-)
++++++ agate-remote-0.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/.gitignore new/agate-remote-0.2.0/.gitignore
--- old/agate-remote-0.2.0/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/.gitignore 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,12 @@
+.DS_Store
+*.pyc
+*.swp
+*.swo
+.tox
+*.egg-info
+docs/_build
+dist
+.coverage
+build
+.proof
+.test.png
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/.travis.yml new/agate-remote-0.2.0/.travis.yml
--- old/agate-remote-0.2.0/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/.travis.yml 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,12 @@
+language: python
+python:
+ - "2.7"
+ - "3.3"
+ - "3.4"
+ - "3.5"
+# command to install dependencies
+install:
+ - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; else pip install -r requirements-py2.txt; fi
+# command to run tests
+script: nosetests tests
+sudo: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/AUTHORS.rst new/agate-remote-0.2.0/AUTHORS.rst
--- old/agate-remote-0.2.0/AUTHORS.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/AUTHORS.rst 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,3 @@
+The following individuals have contributed code to agate-remote:
+
+* `Christopher Groskopf <https://github.com/onyxfish>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/CHANGELOG.rst new/agate-remote-0.2.0/CHANGELOG.rst
--- old/agate-remote-0.2.0/CHANGELOG.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/CHANGELOG.rst 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,17 @@
+0.2.0
+-----
+
+* Remove deprecated monkeypatching pattern.
+* Upgrade agate requirement to version ``1.5.0``.
+* Fix docstring for binary argument. (#8)
+
+0.1.1
+-----
+
+* Fixes to documentation.
+* Update agate requirement to 1.3.0.
+
+0.1.0
+-----
+
+* Initial version.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/COPYING new/agate-remote-0.2.0/COPYING
--- old/agate-remote-0.2.0/COPYING 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/COPYING 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2016 Christopher Groskopf and contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/PKG-INFO new/agate-remote-0.2.0/PKG-INFO
--- old/agate-remote-0.2.0/PKG-INFO 2016-12-19 22:13:42.000000000 +0100
+++ new/agate-remote-0.2.0/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,55 +0,0 @@
-Metadata-Version: 1.1
-Name: agate-remote
-Version: 0.2.0
-Summary: agate-remote adds read support for remote files to agate.
-Home-page: http://agate-remote.readthedocs.org/
-Author: Christopher Groskopf
-Author-email: chrisgroskopf(a)gmail.com
-License: MIT
-Description: .. image:: https://travis-ci.org/wireservice/agate-remote.png
- :target: https://travis-ci.org/wireservice/agate-remote
- :alt: Build status
-
- .. image:: https://img.shields.io/pypi/dw/agate-remote.svg
- :target: https://pypi.python.org/pypi/agate-remote
- :alt: PyPI downloads
-
- .. image:: https://img.shields.io/pypi/v/agate-remote.svg
- :target: https://pypi.python.org/pypi/agate-remote
- :alt: Version
-
- .. image:: https://img.shields.io/pypi/l/agate-remote.svg
- :target: https://pypi.python.org/pypi/agate-remote
- :alt: License
-
- .. image:: https://img.shields.io/pypi/pyversions/agate-remote.svg
- :target: https://pypi.python.org/pypi/agate-remote
- :alt: Support Python versions
-
- agate-remote adds read support for remote files to `agate <https://github.com/wireservice/agate>`_.
-
- Important links:
-
- * agate http://agate.rtfd.org
- * Documentation: http://agate-remote.rtfd.org
- * Repository: https://github.com/wireservice/agate-remote
- * Issues: https://github.com/wireservice/agate-remote/issues
-
-Platform: UNKNOWN
-Classifier: Development Status :: 4 - Beta
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: Science/Research
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Natural Language :: English
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: Implementation :: CPython
-Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: Topic :: Multimedia :: Graphics
-Classifier: Topic :: Scientific/Engineering :: Information Analysis
-Classifier: Topic :: Scientific/Engineering :: Visualization
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/agate_remote.egg-info/PKG-INFO new/agate-remote-0.2.0/agate_remote.egg-info/PKG-INFO
--- old/agate-remote-0.2.0/agate_remote.egg-info/PKG-INFO 2016-12-19 22:13:42.000000000 +0100
+++ new/agate-remote-0.2.0/agate_remote.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,55 +0,0 @@
-Metadata-Version: 1.1
-Name: agate-remote
-Version: 0.2.0
-Summary: agate-remote adds read support for remote files to agate.
-Home-page: http://agate-remote.readthedocs.org/
-Author: Christopher Groskopf
-Author-email: chrisgroskopf(a)gmail.com
-License: MIT
-Description: .. image:: https://travis-ci.org/wireservice/agate-remote.png
- :target: https://travis-ci.org/wireservice/agate-remote
- :alt: Build status
-
- .. image:: https://img.shields.io/pypi/dw/agate-remote.svg
- :target: https://pypi.python.org/pypi/agate-remote
- :alt: PyPI downloads
-
- .. image:: https://img.shields.io/pypi/v/agate-remote.svg
- :target: https://pypi.python.org/pypi/agate-remote
- :alt: Version
-
- .. image:: https://img.shields.io/pypi/l/agate-remote.svg
- :target: https://pypi.python.org/pypi/agate-remote
- :alt: License
-
- .. image:: https://img.shields.io/pypi/pyversions/agate-remote.svg
- :target: https://pypi.python.org/pypi/agate-remote
- :alt: Support Python versions
-
- agate-remote adds read support for remote files to `agate <https://github.com/wireservice/agate>`_.
-
- Important links:
-
- * agate http://agate.rtfd.org
- * Documentation: http://agate-remote.rtfd.org
- * Repository: https://github.com/wireservice/agate-remote
- * Issues: https://github.com/wireservice/agate-remote/issues
-
-Platform: UNKNOWN
-Classifier: Development Status :: 4 - Beta
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: Science/Research
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Natural Language :: English
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: Implementation :: CPython
-Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: Topic :: Multimedia :: Graphics
-Classifier: Topic :: Scientific/Engineering :: Information Analysis
-Classifier: Topic :: Scientific/Engineering :: Visualization
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/agate_remote.egg-info/SOURCES.txt new/agate-remote-0.2.0/agate_remote.egg-info/SOURCES.txt
--- old/agate-remote-0.2.0/agate_remote.egg-info/SOURCES.txt 2016-12-19 22:13:42.000000000 +0100
+++ new/agate-remote-0.2.0/agate_remote.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-README.rst
-setup.cfg
-setup.py
-agate_remote.egg-info/PKG-INFO
-agate_remote.egg-info/SOURCES.txt
-agate_remote.egg-info/dependency_links.txt
-agate_remote.egg-info/requires.txt
-agate_remote.egg-info/top_level.txt
-agateremote/__init__.py
-agateremote/archive.py
-agateremote/table_remote.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/agate_remote.egg-info/dependency_links.txt new/agate-remote-0.2.0/agate_remote.egg-info/dependency_links.txt
--- old/agate-remote-0.2.0/agate_remote.egg-info/dependency_links.txt 2016-12-19 22:13:42.000000000 +0100
+++ new/agate-remote-0.2.0/agate_remote.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/agate_remote.egg-info/requires.txt new/agate-remote-0.2.0/agate_remote.egg-info/requires.txt
--- old/agate-remote-0.2.0/agate_remote.egg-info/requires.txt 2016-12-19 22:13:42.000000000 +0100
+++ new/agate-remote-0.2.0/agate_remote.egg-info/requires.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-agate>=1.5.0
-requests>=2.9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/agate_remote.egg-info/top_level.txt new/agate-remote-0.2.0/agate_remote.egg-info/top_level.txt
--- old/agate-remote-0.2.0/agate_remote.egg-info/top_level.txt 2016-12-19 22:13:42.000000000 +0100
+++ new/agate-remote-0.2.0/agate_remote.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-agateremote
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/docs/Makefile new/agate-remote-0.2.0/docs/Makefile
--- old/agate-remote-0.2.0/docs/Makefile 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/docs/Makefile 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,130 @@
+# Makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+PAPER =
+BUILDDIR = _build
+
+# Internal variables.
+PAPEROPT_a4 = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
+
+help:
+ @echo "Please use \`make <target>' where <target> is one of"
+ @echo " html to make standalone HTML files"
+ @echo " dirhtml to make HTML files named index.html in directories"
+ @echo " singlehtml to make a single large HTML file"
+ @echo " pickle to make pickle files"
+ @echo " json to make JSON files"
+ @echo " htmlhelp to make HTML files and a HTML help project"
+ @echo " qthelp to make HTML files and a qthelp project"
+ @echo " devhelp to make HTML files and a Devhelp project"
+ @echo " epub to make an epub"
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
+ @echo " text to make text files"
+ @echo " man to make manual pages"
+ @echo " changes to make an overview of all changed/added/deprecated items"
+ @echo " linkcheck to check all external links for integrity"
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
+
+clean:
+ -rm -rf $(BUILDDIR)/*
+
+html:
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ @echo
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+
+dirhtml:
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
+ @echo
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
+
+singlehtml:
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
+ @echo
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
+
+pickle:
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
+ @echo
+ @echo "Build finished; now you can process the pickle files."
+
+json:
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
+ @echo
+ @echo "Build finished; now you can process the JSON files."
+
+htmlhelp:
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
+ @echo
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
+
+qthelp:
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
+ @echo
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/agateremote.qhcp"
+ @echo "To view the help file:"
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/agateremote.qhc"
+
+devhelp:
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
+ @echo
+ @echo "Build finished."
+ @echo "To view the help file:"
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/agateremote"
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/agateremote"
+ @echo "# devhelp"
+
+epub:
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+ @echo
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+
+latex:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
+ "(use \`make latexpdf' here to do that automatically)."
+
+latexpdf:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo "Running LaTeX files through pdflatex..."
+ make -C $(BUILDDIR)/latex all-pdf
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+text:
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
+ @echo
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
+
+man:
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
+ @echo
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
+
+changes:
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
+ @echo
+ @echo "The overview file is in $(BUILDDIR)/changes."
+
+linkcheck:
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
+ @echo
+ @echo "Link check complete; look for any errors in the above output " \
+ "or in $(BUILDDIR)/linkcheck/output.txt."
+
+doctest:
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
+ @echo "Testing of doctests in the sources finished, look at the " \
+ "results in $(BUILDDIR)/doctest/output.txt."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/docs/conf.py new/agate-remote-0.2.0/docs/conf.py
--- old/agate-remote-0.2.0/docs/conf.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/docs/conf.py 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,225 @@
+# -*- coding: utf-8 -*-
+#
+# This file is execfile()d with the current directory set to its containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import os
+import sys
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+sys.path.insert(0, os.path.abspath('..'))
+
+# -- General configuration -----------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be extensions
+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
+autodoc_member_order = 'bysource'
+
+intersphinx_mapping = {
+ 'python': ('http://docs.python.org/3.5/', None),
+ 'agate': ('http://agate.readthedocs.org/en/latest/', None)
+}
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+#source_encoding = 'utf-8-sig'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'agate-remote'
+copyright = u'2016, Christopher Groskopf'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = '0.2.0'
+# The full version, including alpha/beta/rc tags.
+release = '0.2.0'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+#today = ''
+# Else, today_fmt is used as the format for a strftime call.
+#today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = ['_build']
+
+# The reST default role (used for this markup: `text`) to use for all documents.
+#default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+#add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+#add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+#show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+#modindex_common_prefix = []
+
+
+# -- Options for HTML output ---------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+html_theme = 'default'
+
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
+
+if not on_rtd: # only import and set the theme if we're building docs locally
+ import sphinx_rtd_theme
+ html_theme = 'sphinx_rtd_theme'
+ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+#html_theme_path = []
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# "<project> v<release> documentation".
+#html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+#html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+#html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+#html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+#html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+#html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+#html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+#html_additional_pages = {}
+
+# If false, no module index is generated.
+#html_domain_indices = True
+
+# If false, no index is generated.
+#html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+#html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+#html_show_sourcelink = True
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+#html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+#html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+#html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+#html_file_suffix = None
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'agateremotedoc'
+
+
+# -- Options for LaTeX output --------------------------------------------------
+
+# The paper size ('letter' or 'a4').
+#latex_paper_size = 'letter'
+
+# The font size ('10pt', '11pt' or '12pt').
+#latex_font_size = '10pt'
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title, author, documentclass [howto/manual]).
+latex_documents = [
+ ('index', 'agate-remote.tex', u'agate-remote Documentation',
+ u'Christopher Groskopf', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+#latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+#latex_use_parts = False
+
+# If true, show page references after internal links.
+#latex_show_pagerefs = False
+
+# If true, show URL addresses after external links.
+#latex_show_urls = False
+
+# Additional stuff for the LaTeX preamble.
+#latex_preamble = ''
+
+# Documents to append as an appendix to all manuals.
+#latex_appendices = []
+
+# If false, no module index is generated.
+#latex_domain_indices = True
+
+
+# -- Options for manual page output --------------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/docs/index.rst new/agate-remote-0.2.0/docs/index.rst
--- old/agate-remote-0.2.0/docs/index.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/docs/index.rst 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,74 @@
+=====================
+agate-remote |release|
+=====================
+
+.. include:: ../README.rst
+
+Install
+=======
+
+To install:
+
+.. code-block:: bash
+
+ pip install agate-remote
+
+For details on development or supported platforms see the `agate documentation <http://agate.readthedocs.org>`_.
+
+Usage
+=====
+
+agate-remote uses a monkey patching pattern to add read support for remote files to all :class:`agate.Table <agate.table.Table>` instances.
+
+.. code-block:: python
+
+ import agate
+ import agateremote
+
+Importing agate-remote adds methods to :class:`agate.Table <agate.table.Table>`.
+
+.. code-block:: python
+
+ table = agate.Table.from_url('https://raw.githubusercontent.com/onyxfish/agate/master/examples/test.csv')
+ print(table)
+
+agate-remote also let's you create an :class:`Archive`, which is a reference to a group of tables with a known path structure.
+
+.. code-block:: python
+
+ archive = agateremote.Archive('https://github.com/vincentarelbundock/Rdatasets/raw/master/csv/')
+
+ table = archive.get_table('sandwich/PublicSchools.csv')
+ print(table)
+
+===
+API
+===
+
+.. autofunction:: agateremote.table_remote.from_url
+ :members:
+
+.. autoclass:: agateremote.archive.Archive
+ :members:
+
+Authors
+=======
+
+.. include:: ../AUTHORS.rst
+
+Changelog
+=========
+
+.. include:: ../CHANGELOG.rst
+
+License
+=======
+
+.. include:: ../COPYING
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/example.py new/agate-remote-0.2.0/example.py
--- old/agate-remote-0.2.0/example.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/example.py 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+
+import agate
+import agateremote
+
+table = agate.Table.from_url('https://raw.githubusercontent.com/onyxfish/agate/master/examples/test.csv')
+
+print(table)
+
+table = agate.Table.from_url('https://raw.githubusercontent.com/onyxfish/agate/master/examples/test.json', callback=agate.Table.from_json)
+
+print(table)
+
+# import agateexcel
+#
+# agateexcel.patch()
+#
+# table = agate.Table.from_url('https://github.com/onyxfish/agate-excel/raw/master/examples/test.xls', callback=agate.Table.from_xls, binary=True)
+#
+# print(table)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/requirements-py2.txt new/agate-remote-0.2.0/requirements-py2.txt
--- old/agate-remote-0.2.0/requirements-py2.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/requirements-py2.txt 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,9 @@
+unittest2==0.5.1
+nose>=1.1.2
+tox>=1.3
+Sphinx>=1.2.2
+sphinx_rtd_theme>=0.1.6
+wheel>=0.24.0
+ordereddict>=1.1
+agate>=1.5.0
+requests>=2.9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/requirements-py3.txt new/agate-remote-0.2.0/requirements-py3.txt
--- old/agate-remote-0.2.0/requirements-py3.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/requirements-py3.txt 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,7 @@
+nose>=1.1.2
+tox>=1.3
+Sphinx>=1.2.2
+sphinx_rtd_theme>=0.1.6
+wheel>=0.24.0
+agate>=1.5.0
+requests>=2.9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/setup.cfg new/agate-remote-0.2.0/setup.cfg
--- old/agate-remote-0.2.0/setup.cfg 2016-12-19 22:13:42.000000000 +0100
+++ new/agate-remote-0.2.0/setup.cfg 2016-12-19 22:13:16.000000000 +0100
@@ -1,8 +1,2 @@
[bdist_wheel]
universal = 1
-
-[egg_info]
-tag_svn_revision = 0
-tag_build =
-tag_date = 0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/tests/test_archive.py new/agate-remote-0.2.0/tests/test_archive.py
--- old/agate-remote-0.2.0/tests/test_archive.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/tests/test_archive.py 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+# -*- coding: utf8 -*-
+
+try:
+ import unittest2 as unittest
+except ImportError:
+ import unittest
+
+import agate
+import agateremote
+
+class TestArchive(agate.AgateTestCase):
+ def setUp(self):
+ self.archive = agateremote.Archive('https://github.com/vincentarelbundock/Rdatasets/raw/master/csv/')
+
+ def test_get_table(self):
+ table = self.archive.get_table('sandwich/PublicSchools.csv')
+
+ self.assertColumnNames(table, ['', 'Expenditure', 'Income'])
+ self.assertColumnTypes(table, [agate.Text, agate.Number, agate.Number])
+ self.assertEqual(len(table.rows), 51)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/tests/test_table_remote.py new/agate-remote-0.2.0/tests/test_table_remote.py
--- old/agate-remote-0.2.0/tests/test_table_remote.py 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/tests/test_table_remote.py 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,57 @@
+#!/usr/bin/env python
+# -*- coding: utf8 -*-
+
+try:
+ import unittest2 as unittest
+except ImportError:
+ import unittest
+
+import agate
+import agateremote
+
+class TestRemote(agate.AgateTestCase):
+ def setUp(self):
+ self.rows = (
+ (1, 'a', True, '11/4/2015', '11/4/2015 12:22 PM', '4:15'),
+ (2, u'����', False, '11/5/2015', '11/4/2015 12:45 PM', '6:18'),
+ (None, 'b', None, None, None, None)
+ )
+
+ self.column_names = [
+ 'number', 'text', 'boolean', 'date', 'datetime', 'timedelta'
+ ]
+
+ self.column_types = [
+ agate.Number(),
+ agate.Text(),
+ agate.Boolean(),
+ agate.Date(),
+ agate.DateTime(),
+ agate.TimeDelta()
+ ]
+
+ self.table = agate.Table(self.rows, self.column_names, self.column_types)
+
+ def test_from_url_csv(self):
+ table = agate.Table.from_url('https://raw.githubusercontent.com/onyxfish/agate/master/examples/test.csv')
+
+ self.assertColumnNames(table, self.table.column_names)
+ self.assertColumnTypes(table, [agate.Number, agate.Text, agate.Boolean, agate.Date, agate.DateTime, agate.TimeDelta])
+
+ self.assertRows(table, self.table.rows)
+
+ def test_from_url_json(self):
+ table = agate.Table.from_url('https://raw.githubusercontent.com/onyxfish/agate/master/examples/test.json', callback=agate.Table.from_json)
+
+ self.assertColumnNames(table, self.table.column_names)
+ self.assertColumnTypes(table, [agate.Number, agate.Text, agate.Boolean, agate.Date, agate.DateTime, agate.TimeDelta])
+
+ self.assertRows(table, self.table.rows)
+
+ def test_from_url_json_keyed(self):
+ table = agate.Table.from_url('https://raw.githubusercontent.com/onyxfish/agate/master/examples/test_key.j…', callback=agate.Table.from_json, key='data')
+
+ self.assertColumnNames(table, self.table.column_names)
+ self.assertColumnTypes(table, [agate.Number, agate.Text, agate.Boolean, agate.Date, agate.DateTime, agate.TimeDelta])
+
+ self.assertRows(table, self.table.rows)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-remote-0.2.0/tox.ini new/agate-remote-0.2.0/tox.ini
--- old/agate-remote-0.2.0/tox.ini 1970-01-01 01:00:00.000000000 +0100
+++ new/agate-remote-0.2.0/tox.ini 2016-12-19 22:13:16.000000000 +0100
@@ -0,0 +1,28 @@
+[tox]
+envlist = py27,py33,py34,py35,pypy
+
+[testenv]
+deps=
+ nose>=1.1.2
+ six>=1.6.1
+commands=nosetests
+
+[testenv:py27]
+deps=
+ {[testenv]deps}
+
+[testenv:py33]
+deps=
+ {[testenv]deps}
+
+[testenv:py34]
+deps=
+ {[testenv:py33]deps}
+
+[testenv:py35]
+deps=
+ {[testenv:py33]deps}
+
+[testenv:pypy]
+deps=
+ {[testenv:py33]deps}
1
0