Hello community,
here is the log from the commit of package python-jaraco.collections for
openSUSE:Factory checked in at 2020-04-19 21:39:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jaraco.collections (Old)
and /work/SRC/openSUSE:Factory/.python-jaraco.collections.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jaraco.collections"
Sun Apr 19 21:39:30 2020 rev:4 rq:784207 version:3.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jaraco.collections/python-jaraco.collections.changes
2020-01-16 18:17:11.780837544 +0100
+++
/work/SRC/openSUSE:Factory/.python-jaraco.collections.new.2738/python-jaraco.collections.changes
2020-04-19 21:39:31.774884133 +0200
@@ -1,0 +2,6 @@
+Mon Mar 9 12:59:46 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 3.0.0
+ * Require Python 3.6 or later.
+
+-------------------------------------------------------------------
Old:
----
jaraco.collections-2.1.tar.gz
New:
----
jaraco.collections-3.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jaraco.collections.spec ++++++
--- /var/tmp/diff_new_pack.IRkWQP/_old 2020-04-19 21:39:32.366885321 +0200
+++ /var/tmp/diff_new_pack.IRkWQP/_new 2020-04-19 21:39:32.370885329 +0200
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-jaraco.collections
-Version: 2.1
+Version: 3.0.0
Release: 0
Summary: Tools to work with collections
License: MIT
@@ -32,14 +33,12 @@
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-jaraco.base >= 6.1
Requires: python-jaraco.classes
Requires: python-jaraco.functools
Requires: python-jaraco.text
-Requires: python-six
BuildArch: noarch
%python_subpackages
++++++ jaraco.collections-2.1.tar.gz -> jaraco.collections-3.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/.pre-commit-config.yaml
new/jaraco.collections-3.0.0/.pre-commit-config.yaml
--- old/jaraco.collections-2.1/.pre-commit-config.yaml 2019-10-13
18:17:26.000000000 +0200
+++ new/jaraco.collections-3.0.0/.pre-commit-config.yaml 2019-12-20
05:54:59.000000000 +0100
@@ -1,5 +1,5 @@
repos:
-- repo: https://github.com/ambv/black
- rev: 18.9b0
+- repo: https://github.com/psf/black
+ rev: 19.3b0
hooks:
- id: black
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/.travis.yml
new/jaraco.collections-3.0.0/.travis.yml
--- old/jaraco.collections-2.1/.travis.yml 2019-10-13 18:17:26.000000000
+0200
+++ new/jaraco.collections-3.0.0/.travis.yml 2019-12-20 05:54:59.000000000
+0100
@@ -2,9 +2,8 @@
language: python
python:
-- 2.7
- 3.6
-- &latest_py3 3.7
+- &latest_py3 3.8
jobs:
fast_finish: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/CHANGES.rst
new/jaraco.collections-3.0.0/CHANGES.rst
--- old/jaraco.collections-2.1/CHANGES.rst 2019-10-13 18:17:26.000000000
+0200
+++ new/jaraco.collections-3.0.0/CHANGES.rst 2019-12-20 05:54:59.000000000
+0100
@@ -1,3 +1,8 @@
+v3.0.0
+======
+
+Require Python 3.6 or later.
+
2.1
===
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/PKG-INFO
new/jaraco.collections-3.0.0/PKG-INFO
--- old/jaraco.collections-2.1/PKG-INFO 2019-10-13 18:17:52.000000000 +0200
+++ new/jaraco.collections-3.0.0/PKG-INFO 2019-12-20 05:55:20.170997900
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jaraco.collections
-Version: 2.1
+Version: 3.0.0
Summary: Collection objects similar to those in stdlib by jaraco
Home-page: https://github.com/jaraco/jaraco.collections
Author: Jason R. Coombs
@@ -15,7 +15,7 @@
:target: https://travis-ci.org/jaraco/jaraco.collections
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/ambv/black
+ :target: https://github.com/psf/black
:alt: Code style: Black
.. .. image::
https://img.shields.io/appveyor/ci/jaraco/skeleton/master.svg
@@ -35,8 +35,7 @@
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Requires-Python: >=2.7
+Requires-Python: >=3.6
Provides-Extra: testing
Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/README.rst
new/jaraco.collections-3.0.0/README.rst
--- old/jaraco.collections-2.1/README.rst 2019-10-13 18:17:26.000000000
+0200
+++ new/jaraco.collections-3.0.0/README.rst 2019-12-20 05:54:59.000000000
+0100
@@ -7,7 +7,7 @@
:target: https://travis-ci.org/jaraco/jaraco.collections
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/ambv/black
+ :target: https://github.com/psf/black
:alt: Code style: Black
.. .. image:: https://img.shields.io/appveyor/ci/jaraco/skeleton/master.svg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/appveyor.yml
new/jaraco.collections-3.0.0/appveyor.yml
--- old/jaraco.collections-2.1/appveyor.yml 2019-10-13 18:17:26.000000000
+0200
+++ new/jaraco.collections-3.0.0/appveyor.yml 2019-12-20 05:54:59.000000000
+0100
@@ -4,7 +4,7 @@
matrix:
- PYTHON: "C:\\Python36-x64"
- - PYTHON: "C:\\Python27-x64"
+ - PYTHON: "C:\\Python38-x64"
install:
# symlink python from a directory with a space
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/jaraco/collections.py
new/jaraco.collections-3.0.0/jaraco/collections.py
--- old/jaraco.collections-2.1/jaraco/collections.py 2019-10-13
18:17:26.000000000 +0200
+++ new/jaraco.collections-3.0.0/jaraco/collections.py 2019-12-20
05:54:59.000000000 +0100
@@ -1,21 +1,10 @@
-# -*- coding: utf-8 -*-
-
-from __future__ import absolute_import, unicode_literals, division
-
import re
import operator
-import collections
+import collections.abc
import itertools
import copy
import functools
-try:
- import collections.abc
-except ImportError: # pragma: nocover
- # Python 2.7
- collections.abc = collections
-
-import six
from jaraco.classes.properties import NonDataProperty
import jaraco.text
@@ -776,7 +765,7 @@
# Hashable
def __hash__(self):
- return hash(tuple(sorted(six.iteritems(self.__data))))
+ return hash(tuple(sorted(self.__data.items())))
# Mapping
def __iter__(self):
@@ -837,7 +826,7 @@
"""
def __init__(self, names, codes=None):
- if isinstance(names, six.string_types):
+ if isinstance(names, str):
names = names.split()
if codes is None:
codes = itertools.count()
@@ -845,7 +834,7 @@
@property
def names(self):
- return (key for key in self if isinstance(key, six.string_types))
+ return (key for key in self if isinstance(key, str))
@property
def codes(self):
@@ -871,7 +860,7 @@
return True
-class InstrumentedDict(six.moves.UserDict):
+class InstrumentedDict(collections.UserDict):
"""
Instrument an existing dictionary with additional
functionality, but always reference and mutate
@@ -889,7 +878,7 @@
"""
def __init__(self, data):
- six.moves.UserDict.__init__(self)
+ super().__init__()
self.data = data
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jaraco.collections-2.1/jaraco.collections.egg-info/PKG-INFO
new/jaraco.collections-3.0.0/jaraco.collections.egg-info/PKG-INFO
--- old/jaraco.collections-2.1/jaraco.collections.egg-info/PKG-INFO
2019-10-13 18:17:52.000000000 +0200
+++ new/jaraco.collections-3.0.0/jaraco.collections.egg-info/PKG-INFO
2019-12-20 05:55:19.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jaraco.collections
-Version: 2.1
+Version: 3.0.0
Summary: Collection objects similar to those in stdlib by jaraco
Home-page: https://github.com/jaraco/jaraco.collections
Author: Jason R. Coombs
@@ -15,7 +15,7 @@
:target: https://travis-ci.org/jaraco/jaraco.collections
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/ambv/black
+ :target: https://github.com/psf/black
:alt: Code style: Black
.. .. image::
https://img.shields.io/appveyor/ci/jaraco/skeleton/master.svg
@@ -35,8 +35,7 @@
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Requires-Python: >=2.7
+Requires-Python: >=3.6
Provides-Extra: testing
Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jaraco.collections-2.1/jaraco.collections.egg-info/requires.txt
new/jaraco.collections-3.0.0/jaraco.collections.egg-info/requires.txt
--- old/jaraco.collections-2.1/jaraco.collections.egg-info/requires.txt
2019-10-13 18:17:52.000000000 +0200
+++ new/jaraco.collections-3.0.0/jaraco.collections.egg-info/requires.txt
2019-12-20 05:55:19.000000000 +0100
@@ -9,7 +9,7 @@
[testing]
pytest!=3.7.3,>=3.5
-pytest-checkdocs
+pytest-checkdocs>=1.2.3
pytest-flake8
pytest-black-multipy
pytest-cov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/pytest.ini
new/jaraco.collections-3.0.0/pytest.ini
--- old/jaraco.collections-2.1/pytest.ini 2019-10-13 18:17:26.000000000
+0200
+++ new/jaraco.collections-3.0.0/pytest.ini 2019-12-20 05:54:59.000000000
+0100
@@ -3,9 +3,3 @@
addopts=--doctest-modules --flake8 --black --cov
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
- ignore:Possible nested set::pycodestyle:113
- ignore:Using or importing the ABCs::flake8:410
- # workaround for https://sourceforge.net/p/docutils/bugs/348/
- ignore:'U' mode is deprecated::docutils.io
- # workaround for https://gitlab.com/pycqa/flake8/issues/275
- ignore:You passed a bytestring as `filenames`.::flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/setup.cfg
new/jaraco.collections-3.0.0/setup.cfg
--- old/jaraco.collections-2.1/setup.cfg 2019-10-13 18:17:52.000000000
+0200
+++ new/jaraco.collections-3.0.0/setup.cfg 2019-12-20 05:55:20.170997900
+0100
@@ -13,13 +13,12 @@
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: MIT License
- Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
[options]
packages = find:
include_package_data = true
-python_requires = >=2.7
+python_requires = >=3.6
install_requires =
jaraco.text
jaraco.classes
@@ -29,7 +28,7 @@
[options.extras_require]
testing =
pytest >= 3.5, !=3.7.3
- pytest-checkdocs
+ pytest-checkdocs >= 1.2.3
pytest-flake8
pytest-black-multipy
pytest-cov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/skeleton.md
new/jaraco.collections-3.0.0/skeleton.md
--- old/jaraco.collections-2.1/skeleton.md 2019-10-13 18:17:26.000000000
+0200
+++ new/jaraco.collections-3.0.0/skeleton.md 2019-12-20 05:54:59.000000000
+0100
@@ -85,7 +85,7 @@
Other environments (invoked with `tox -e {name}`) supplied include:
- - a `build-docs` environment to build the documentation
+ - a `docs` environment to build the documentation
- a `release` environment to publish the package to PyPI
A pytest.ini is included to define common options around running tests. In
particular:
@@ -122,7 +122,7 @@
## Building Documentation
-Documentation is automatically built by [Read the
Docs](https://readthedocs.org) when the project is registered with it, by way
of the .readthedocs.yml file. To test the docs build manually, a tox env may be
invoked as `tox -e build-docs`. Both techniques rely on the dependencies
declared in `setup.cfg/options.extras_require.docs`.
+Documentation is automatically built by [Read the
Docs](https://readthedocs.org) when the project is registered with it, by way
of the .readthedocs.yml file. To test the docs build manually, a tox env may be
invoked as `tox -e docs`. Both techniques rely on the dependencies declared in
`setup.cfg/options.extras_require.docs`.
In addition to building the sphinx docs scaffolded in `docs/`, the docs build
a `history.html` file that first injects release dates and hyperlinks into the
CHANGES.rst before incorporating it as history in the docs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.collections-2.1/tox.ini
new/jaraco.collections-3.0.0/tox.ini
--- old/jaraco.collections-2.1/tox.ini 2019-10-13 18:17:26.000000000 +0200
+++ new/jaraco.collections-3.0.0/tox.ini 2019-12-20 05:54:59.000000000
+0100
@@ -3,9 +3,9 @@
minversion = 3.2
# https://github.com/jaraco/skeleton/issues/6
tox_pip_extensions_ext_venv_update = true
-# ensure that a late version of pip is used even on tox-venv
+# Ensure that a late version of pip is used even on tox-venv.
requires =
- tox-pip-version
+ tox-pip-version>=0.0.6
tox-venv
@@ -18,20 +18,20 @@
usedevelop = True
extras = testing
-[testenv:build-docs]
+[testenv:docs]
extras =
- docs
- testing
+ docs
+ testing
changedir = docs
commands =
- python -m sphinx . {toxinidir}/build/html
+ python -m sphinx . {toxinidir}/build/html
[testenv:release]
skip_install = True
deps =
pep517>=0.5
- twine>=1.13
- path.py
+ twine[keyring]>=1.13
+ path
passenv =
TWINE_PASSWORD
setenv =