Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit python-positional for openSUSE:Factory
Hello community,

here is the log from the commit of package python-positional for
openSUSE:Factory checked in at 2019-04-14 12:22:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-positional (Old)
and /work/SRC/openSUSE:Factory/.python-positional.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-positional"

Sun Apr 14 12:22:39 2019 rev:5 rq:693645 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-positional/python-positional.changes
2018-12-24 11:41:19.945455300 +0100
+++
/work/SRC/openSUSE:Factory/.python-positional.new.27019/python-positional.changes
2019-04-14 12:22:39.667778325 +0200
@@ -1,0 +2,11 @@
+Thu Apr 11 18:23:33 UTC 2019 - pgajdos@xxxxxxxx
+
+- module was set to 7 - Inactive, I guess we should consider
+ to drop it if possible
+- version update to 1.2.1
+ * Update README.rst
+ * Fix deprecation warning in Python 3 for inspect.getargspec()
+ * update classifiers
+- run testsuite
+
+-------------------------------------------------------------------

Old:
----
positional-1.1.1.tar.gz

New:
----
positional-1.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-positional.spec ++++++
--- /var/tmp/diff_new_pack.DpinQq/_old 2019-04-14 12:22:40.207778973 +0200
+++ /var/tmp/diff_new_pack.DpinQq/_new 2019-04-14 12:22:40.207778973 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-positional
#
-# 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
@@ -18,7 +18,7 @@

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-positional
-Version: 1.1.1
+Version: 1.2.1
Release: 0
Summary: Library to enforce positional or key-word arguments
License: Apache-2.0
@@ -28,6 +28,12 @@
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
+# SECTION test requirements
+BuildRequires: %{python_module testrepository >= 0.0.18}
+BuildRequires: %{python_module testresources >= 0.2.4}
+BuildRequires: %{python_module testtools >= 1.4.0}
+BuildRequires: %{python_module wrapt}
+# /SECTION
Requires: python-wrapt
BuildArch: noarch
%python_subpackages
@@ -46,6 +52,12 @@
%install
%python_install

+%check
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
+[ -d .testrepository/ ] && rm -r .testrepository/
+$python -B setup.py test
+}
+
%files %{python_files}
%license LICENSE
%doc README.rst

++++++ positional-1.1.1.tar.gz -> positional-1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/.travis.yml
new/positional-1.2.1/.travis.yml
--- old/positional-1.1.1/.travis.yml 2016-06-26 23:03:29.000000000 +0200
+++ new/positional-1.2.1/.travis.yml 2017-07-27 03:29:30.000000000 +0200
@@ -7,4 +7,8 @@
env:
- TOXENV=pep8
- TOXENV=py27
- - TOXENV=py34
\ No newline at end of file
+matrix:
+ include:
+ - python: 3.5
+ env:
+ - TOXENV=py35
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/AUTHORS new/positional-1.2.1/AUTHORS
--- old/positional-1.1.1/AUTHORS 2016-06-26 23:08:37.000000000 +0200
+++ new/positional-1.2.1/AUTHORS 2017-08-08 02:24:45.000000000 +0200
@@ -1,4 +1,5 @@
Brant Knudson <bknudson@xxxxxxxxxx>
Felix Yan <felixonmars@xxxxxxxxxxxxx>
Jamie Lennox <jamielennox@xxxxxxxxx>
+John L. Villalovos <john.l.villalovos@xxxxxxxxx>
Morgan Fainberg <morgan.fainberg@xxxxxxxxx>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/ChangeLog
new/positional-1.2.1/ChangeLog
--- old/positional-1.1.1/ChangeLog 2016-06-26 23:08:37.000000000 +0200
+++ new/positional-1.2.1/ChangeLog 2017-08-08 02:24:45.000000000 +0200
@@ -1,6 +1,31 @@
CHANGES
=======

+1.2.1
+-----
+
+* Set status to "inactive"
+* Update setup.cfg
+
+1.1.4
+-----
+
+* Update README.rst
+
+1.1.3
+-----
+
+* Update setup.cfg
+* Update .travis.yml
+* Fix deprecation warning in Python 3 for inspect.getargspec()
+* Update .travis.yml
+* Update .travis.yml
+* Update .travis.yml
+* Update setup.cfg
+* Update tox.ini
+* Update .travis.yml
+* update classifiers
+
1.1.1
-----

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/PKG-INFO
new/positional-1.2.1/PKG-INFO
--- old/positional-1.1.1/PKG-INFO 2016-06-26 23:08:37.000000000 +0200
+++ new/positional-1.2.1/PKG-INFO 2017-08-08 02:24:45.000000000 +0200
@@ -1,16 +1,16 @@
Metadata-Version: 1.1
Name: positional
-Version: 1.1.1
-Summary: Library to enforce positional or key-word arguments
-Home-page: https://github.com/morganfainberg/positional
+Version: 1.2.1
+Summary: Library to enforce positional or key-word arguments
(deprecated/unmaintained)
+Home-page: UNKNOWN
Author: Morgan Fainberg
-Author-email: morgan.fainberg@xxxxxxxxx
+Author-email: UNKNOWN
License: UNKNOWN
Description: ==========
positional
==========

- A decorator which enforces only some args may be passed positionally.
+ A decorator which enforces only some args may be passed positionally.
This library is minimally maintained and should only be used in cases of Python
2 to Python 3 conversions. Please write only Python 3 code going forward.

|PyPi|

@@ -166,9 +166,9 @@
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
-Classifier: Operating System :: POSIX :: Linux
+Classifier: Development Status :: 7 - Inactive
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/README.rst
new/positional-1.2.1/README.rst
--- old/positional-1.1.1/README.rst 2016-06-26 23:03:29.000000000 +0200
+++ new/positional-1.2.1/README.rst 2017-08-07 22:28:42.000000000 +0200
@@ -2,7 +2,7 @@
positional
==========

-A decorator which enforces only some args may be passed positionally.
+A decorator which enforces only some args may be passed positionally. This
library is minimally maintained and should only be used in cases of Python 2 to
Python 3 conversions. Please write only Python 3 code going forward.

|PyPi|

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/positional/__init__.py
new/positional-1.2.1/positional/__init__.py
--- old/positional-1.1.1/positional/__init__.py 2016-06-26 23:03:29.000000000
+0200
+++ new/positional-1.2.1/positional/__init__.py 2017-07-27 03:29:30.000000000
+0200
@@ -11,12 +11,14 @@
# under the License.

import inspect
+import sys
import warnings

import pbr.version
import wrapt

__version__ = pbr.version.VersionInfo('positional').version_string()
+PYTHON3 = sys.version_info >= (3, 0)


class positional(object):
@@ -71,7 +73,12 @@

def __call__(self, func):
if self._max_positional_args is None:
- spec = inspect.getargspec(func)
+ # NOTE: inspect.getargspec() is deprecated in Python 3.0 and newer.
+ # Should use inspect.getfullargspec() instead.
+ if PYTHON3:
+ spec = inspect.getfullargspec(func)
+ else:
+ spec = inspect.getargspec(func)
self._max_positional_args = len(spec.args) - len(spec.defaults)

plural = '' if self._max_positional_args == 1 else 's'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/positional.egg-info/PKG-INFO
new/positional-1.2.1/positional.egg-info/PKG-INFO
--- old/positional-1.1.1/positional.egg-info/PKG-INFO 2016-06-26
23:08:37.000000000 +0200
+++ new/positional-1.2.1/positional.egg-info/PKG-INFO 2017-08-08
02:24:45.000000000 +0200
@@ -1,16 +1,16 @@
Metadata-Version: 1.1
Name: positional
-Version: 1.1.1
-Summary: Library to enforce positional or key-word arguments
-Home-page: https://github.com/morganfainberg/positional
+Version: 1.2.1
+Summary: Library to enforce positional or key-word arguments
(deprecated/unmaintained)
+Home-page: UNKNOWN
Author: Morgan Fainberg
-Author-email: morgan.fainberg@xxxxxxxxx
+Author-email: UNKNOWN
License: UNKNOWN
Description: ==========
positional
==========

- A decorator which enforces only some args may be passed positionally.
+ A decorator which enforces only some args may be passed positionally.
This library is minimally maintained and should only be used in cases of Python
2 to Python 3 conversions. Please write only Python 3 code going forward.

|PyPi|

@@ -166,9 +166,9 @@
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
-Classifier: Operating System :: POSIX :: Linux
+Classifier: Development Status :: 7 - Inactive
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/positional.egg-info/pbr.json
new/positional-1.2.1/positional.egg-info/pbr.json
--- old/positional-1.1.1/positional.egg-info/pbr.json 2016-06-26
23:08:37.000000000 +0200
+++ new/positional-1.2.1/positional.egg-info/pbr.json 2017-08-08
02:24:45.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "1f5e9fc"}
\ No newline at end of file
+{"git_version": "d267349", "is_release": false}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/positional.egg-info/requires.txt
new/positional-1.2.1/positional.egg-info/requires.txt
--- old/positional-1.1.1/positional.egg-info/requires.txt 2016-06-26
23:08:37.000000000 +0200
+++ new/positional-1.2.1/positional.egg-info/requires.txt 2017-08-08
02:24:45.000000000 +0200
@@ -1,2 +1,2 @@
pbr>=1.8
-wrapt
\ No newline at end of file
+wrapt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/setup.cfg
new/positional-1.2.1/setup.cfg
--- old/positional-1.1.1/setup.cfg 2016-06-26 23:08:37.000000000 +0200
+++ new/positional-1.2.1/setup.cfg 2017-08-08 02:24:45.000000000 +0200
@@ -1,20 +1,18 @@
[metadata]
name = positional
-summary = Library to enforce positional or key-word arguments
+summary = Library to enforce positional or key-word arguments
(deprecated/unmaintained)
description-file =
README.rst
author = Morgan Fainberg
-author-email = morgan.fainberg@xxxxxxxxx
-home-page = https://github.com/morganfainberg/positional
classifier =
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
- Operating System :: POSIX :: Linux
+ Development Status :: 7 - Inactive
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.4
+ Programming Language :: Python :: 3.5

[files]
packages =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/positional-1.1.1/tox.ini new/positional-1.2.1/tox.ini
--- old/positional-1.1.1/tox.ini 2016-06-26 23:03:29.000000000 +0200
+++ new/positional-1.2.1/tox.ini 2017-07-27 02:14:58.000000000 +0200
@@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
-envlist = py34,py27,pep8,cover,doc
+envlist = py35,py34,py27,pep8,cover,doc

[testenv]
usedevelop = True


< Previous Next >
This Thread
  • No further messages