Hello community,
here is the log from the commit of package python-python-afl for
openSUSE:Factory checked in at 2019-06-19 21:01:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-afl (Old)
and /work/SRC/openSUSE:Factory/.python-python-afl.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-afl"
Wed Jun 19 21:01:48 2019 rev:4 rq:706045 version:0.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-afl/python-python-afl.changes
2018-07-14 20:27:41.572567037 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-afl.new.4811/python-python-afl.changes
2019-06-19 21:01:50.378160620 +0200
@@ -1,0 +2,8 @@
+Sat Mar 16 12:55:38 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- update to version 0.7.2:
+ * Document that multi-threaded code is not supported.
+ * Update URLs in the trophy-case.
+- update Use-setuptools-and-use-test-command-for-setup.patch
+
+-------------------------------------------------------------------
Old:
----
python-afl-0.7.1.tar.gz
New:
----
python-afl-0.7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-afl.spec ++++++
--- /var/tmp/diff_new_pack.PTYS8P/_old 2019-06-19 21:01:51.078161208 +0200
+++ /var/tmp/diff_new_pack.PTYS8P/_new 2019-06-19 21:01:51.082161211 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-afl
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,14 +12,14 @@
# 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_without test
Name: python-python-afl
-Version: 0.7.1
+Version: 0.7.2
Release: 0
Summary: American fuzzy lop fork server and instrumentation for
pure-Python code
License: MIT
@@ -27,7 +27,7 @@
Url: http://jwilk.net/software/python-afl
Source:
https://files.pythonhosted.org/packages/source/p/python-afl/python-afl-%{version}.tar.gz
# PATCH-FIX-OPENSUSE
-Patch0:
https://github.com/jwilk/python-afl/compare/0.7.1...sebix:0.7.1-fix-setup-tests.patch#/Use-setuptools-and-use-test-command-for-setup.patch
+Patch0:
https://github.com/jwilk/python-afl/compare/%{version}...sebix:%{version}-fix-setup-tests.patch#/Use-setuptools-and-use-test-command-for-setup.patch
BuildRequires: %{python_module Cython >= 0.19}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
++++++ Use-setuptools-and-use-test-command-for-setup.patch ++++++
--- /var/tmp/diff_new_pack.PTYS8P/_old 2019-06-19 21:01:51.106161232 +0200
+++ /var/tmp/diff_new_pack.PTYS8P/_new 2019-06-19 21:01:51.106161232 +0200
@@ -1,10 +1,10 @@
-From 2b32ddf54e778a71ddaaab1fdcf35d82814d46f2 Mon Sep 17 00:00:00 2001
+From 4e34831c88b6034bd4218fa3e9368662072b8aa4 Mon Sep 17 00:00:00 2001
From: Sebastian Wagner <[email protected]>
Date: Fri, 14 Oct 2016 09:54:20 +0200
Subject: [PATCH] Use setuptools and use test command for setup
---
- setup.py | 69 +++++++++++++---------------------------------------------------
+ setup.py | 69 ++++++++++++--------------------------------------------
1 file changed, 14 insertions(+), 55 deletions(-)
diff --git a/setup.py b/setup.py
++++++ python-afl-0.7.1.tar.gz -> python-afl-0.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/PKG-INFO
new/python-afl-0.7.2/PKG-INFO
--- old/python-afl-0.7.1/PKG-INFO 2018-06-21 23:22:27.000000000 +0200
+++ new/python-afl-0.7.2/PKG-INFO 2019-02-15 15:38:22.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-afl
-Version: 0.7.1
+Version: 0.7.2
Summary: American Fuzzy Lop fork server and instrumentation for pure-Python
code
Home-page: http://jwilk.net/software/python-afl
Author: Jakub Wilk
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/afl.pyx new/python-afl-0.7.2/afl.pyx
--- old/python-afl-0.7.1/afl.pyx 2018-06-20 18:23:34.000000000 +0200
+++ new/python-afl-0.7.2/afl.pyx 2018-11-27 23:26:46.000000000 +0100
@@ -27,7 +27,7 @@
American Fuzzy Lop fork server and instrumentation for pure-Python code
'''
-__version__ = '0.7.1'
+__version__ = '0.7.2'
cdef object os, signal, struct, sys, warnings
import os
@@ -191,8 +191,8 @@
Start the fork server and enable instrumentation.
- This function should be called as late as possible, but before the input is
- read, and before any threads are started.
+ This function should be called as late as possible,
+ but before the input is read.
'''
_init(persistent_mode=False)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/doc/LICENSE
new/python-afl-0.7.2/doc/LICENSE
--- old/python-afl-0.7.1/doc/LICENSE 2018-06-20 18:23:34.000000000 +0200
+++ new/python-afl-0.7.2/doc/LICENSE 2019-01-29 17:05:37.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright © 2013-2018 Jakub Wilk <[email protected]>
+Copyright © 2013-2019 Jakub Wilk <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/doc/README
new/python-afl-0.7.2/doc/README
--- old/python-afl-0.7.1/doc/README 2018-06-21 23:17:47.000000000 +0200
+++ new/python-afl-0.7.2/doc/README 2019-02-13 17:48:59.000000000 +0100
@@ -89,6 +89,11 @@
.. _TSTL: https://github.com/agroce/tstl
+Bugs
+----
+
+Multi-threaded code is not supported.
+
Further reading
---------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/doc/changelog
new/python-afl-0.7.2/doc/changelog
--- old/python-afl-0.7.1/doc/changelog 2018-06-21 23:17:57.000000000 +0200
+++ new/python-afl-0.7.2/doc/changelog 2019-02-15 15:31:24.000000000 +0100
@@ -1,3 +1,10 @@
+python-afl (0.7.2) unstable; urgency=low
+
+ * Document that multi-threaded code is not supported.
+ * Update URLs in the trophy-case.
+
+ -- Jakub Wilk <[email protected]> Fri, 15 Feb 2019 15:31:23 +0100
+
python-afl (0.7.1) unstable; urgency=low
* Reset the SIGCHLD signal handler in the forkserver.
@@ -52,7 +59,7 @@
Bare afl-showmap and afl-tmin were broken since 0.5.
* Put license into a separate file.
* Improve the test suite.
- * Update URLs in trophy-case.
+ * Update URLs in the trophy-case.
-- Jakub Wilk <[email protected]> Wed, 05 Apr 2017 13:28:37 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/doc/trophy-case
new/python-afl-0.7.2/doc/trophy-case
--- old/python-afl-0.7.1/doc/trophy-case 2018-06-20 18:23:34.000000000
+0200
+++ new/python-afl-0.7.2/doc/trophy-case 2019-02-15 15:28:08.000000000
+0100
@@ -43,19 +43,19 @@
.. __: https://github.com/Diaoul/enzyme
-PyASN.1__
----------
+PyASN1__
+--------
| https://github.com/pyca/cryptography/issues/1838
-.. __: http://pyasn1.sourceforge.net/
+.. __: http://snmplabs.com/pyasn1/
gunicorn__
----------
| https://github.com/benoitc/gunicorn/issues/1023
-.. __: http://gunicorn.org/
+.. __: https://gunicorn.org/
dateutil__
----------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/private/build-and-test
new/python-afl-0.7.2/private/build-and-test
--- old/python-afl-0.7.1/private/build-and-test 2018-06-20 18:23:34.000000000
+0200
+++ new/python-afl-0.7.2/private/build-and-test 2018-11-27 23:26:46.000000000
+0100
@@ -51,9 +51,8 @@
printf '%s\n' "$@" \
| xargs -P"$opt_jobs" -t -I'{python}' env '{python}' setup.py build
--build-lib 'build/{python}'
cd tests
-nosetests=$(command -v nosetests) || { echo nosetests not found >&2; exit 1; }
export PATH="$PWD/..:$PATH"
printf '%s\n' "$@" \
-| xargs -t -I'{python}' env PYTHONPATH="$PWD/../build/{python}" '{python}'
"$nosetests" --verbose
+| xargs -t -I'{python}' env PYTHONPATH="$PWD/../build/{python}" '{python}' -c
'import nose; nose.main()' --verbose
# vim:ts=4 sts=4 sw=4 et
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/private/run-pylint
new/python-afl-0.7.2/private/run-pylint
--- old/python-afl-0.7.1/private/run-pylint 2018-06-20 18:23:34.000000000
+0200
+++ new/python-afl-0.7.2/private/run-pylint 2018-12-13 22:24:14.000000000
+0100
@@ -35,9 +35,8 @@
fi
log=$(mktemp -t pylint.XXXXXX)
"$PYTHON" -m pylint "$@" > "$log" || [ $? != 1 ]
-! grep '^\w:' "$log" \
+! grep -P '^\S+:' "$log" \
| grep -v -P ": redefined-builtin \\[.*\\] Redefining built-in
'(file|dir|input)'$" \
-| grep -v -P ": redundant-unittest-assert \\[.*\\] Redundant use of assertTrue
with constant value False$" \
| grep -v -P ": superfluous-parens \\[.*\\] Unnecessary parens after u?'print'
keyword$" \
| LC_ALL=C sort -k2 \
| grep '.' || exit 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/tests/target.py
new/python-afl-0.7.2/tests/target.py
--- old/python-afl-0.7.1/tests/target.py 2018-06-20 18:23:34.000000000
+0200
+++ new/python-afl-0.7.2/tests/target.py 2018-11-27 23:26:46.000000000
+0100
@@ -27,7 +27,7 @@
def main():
s = sys.stdin.read()
- if len(s) < 1:
+ if not s:
print('Hum?')
sys.exit(1)
s.encode('ASCII')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/tests/target_persistent.py
new/python-afl-0.7.2/tests/target_persistent.py
--- old/python-afl-0.7.1/tests/target_persistent.py 2018-06-20
18:23:34.000000000 +0200
+++ new/python-afl-0.7.2/tests/target_persistent.py 2018-11-27
23:26:46.000000000 +0100
@@ -28,7 +28,7 @@
def main():
sys.stdin.seek(0) # work-around for C stdio caching EOF status
s = sys.stdin.read()
- if len(s) < 1:
+ if not s:
print('Hum?')
sys.exit(1)
s.encode('ASCII')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/tests/test_import.py
new/python-afl-0.7.2/tests/test_import.py
--- old/python-afl-0.7.1/tests/test_import.py 2018-06-20 18:23:34.000000000
+0200
+++ new/python-afl-0.7.2/tests/test_import.py 2018-12-13 22:05:22.000000000
+0100
@@ -1,6 +1,6 @@
# encoding=UTF-8
-# Copyright © 2015-2017 Jakub Wilk <[email protected]>
+# Copyright © 2015-2018 Jakub Wilk <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the “Software”), to deal
@@ -35,6 +35,8 @@
'start',
]
+# pylint: disable=exec-used
+
def wildcard_import(mod):
ns = {}
exec('from {mod} import *'.format(mod=mod), {}, ns)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-afl-0.7.1/tests/tools.py
new/python-afl-0.7.2/tests/tools.py
--- old/python-afl-0.7.1/tests/tools.py 2018-06-20 18:23:34.000000000 +0200
+++ new/python-afl-0.7.2/tests/tools.py 2019-01-29 16:37:17.000000000 +0100
@@ -1,6 +1,6 @@
# encoding=UTF-8
-# Copyright © 2013-2018 Jakub Wilk <[email protected]>
+# Copyright © 2013-2019 Jakub Wilk <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the “Software”), to deal
@@ -41,6 +41,9 @@
assert_true,
)
+def assert_fail(msg):
+ assert_true(False, msg=msg) # pylint: disable=redundant-unittest-assert
+
def noseimport(vmaj, vmin, name=None):
def wrapper(f):
if f.__module__ == 'unittest.case':
@@ -59,7 +62,7 @@
return self
def __exit__(self, exc_type, exc_value, tb):
if exc_type is None:
- assert_true(False, '{0} not
raised'.format(self._exc_type.__name__))
+ assert_fail('{0} not raised'.format(self._exc_type.__name__))
if not issubclass(exc_type, self._exc_type):
return False
if isinstance(exc_value, exc_type):
@@ -92,7 +95,7 @@
regex = re.compile(regex)
if not regex.search(text):
message = "Regex didn't match: {0!r} not found in
{1!r}".format(regex.pattern, text)
- assert_true(False, msg=message)
+ assert_fail(msg=message)
@noseimport(3, 2)
@contextlib.contextmanager
@@ -110,11 +113,11 @@
if re.search(regex, str(w)):
return
if firstw is None:
- assert_true(False, msg='{exc} not
triggered'.format(exc=exc_type.__name__))
+ assert_fail(msg='{exc} not triggered'.format(exc=exc_type.__name__))
else:
- assert_true(False, msg='{exc!r} does not match
{re!r}'.format(exc=str(firstw), re=regex))
+ assert_fail(msg='{exc!r} does not match
{re!r}'.format(exc=str(firstw), re=regex))
-class IsolatedError(Exception):
+class IsolatedException(Exception):
pass
def _n_relevant_tb_levels(tb):
@@ -215,7 +218,7 @@
msg = msg.rstrip('\n')
pid, status = os.waitpid(pid, 0)
if status == (EXIT_EXCEPTION << 8):
- raise IsolatedError('\n\n' + msg)
+ raise IsolatedException('\n\n' + msg)
elif status == (EXIT_SKIP_TEST << 8):
raise SkipTest(msg)
elif status == 0 and msg == '':