Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jaraco.classes for
openSUSE:Factory checked in at 2022-08-30 14:48:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jaraco.classes (Old)
and /work/SRC/openSUSE:Factory/.python-jaraco.classes.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jaraco.classes"
Tue Aug 30 14:48:38 2022 rev:6 rq:1000014 version:3.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jaraco.classes/python-jaraco.classes.changes
2022-03-29 18:14:18.651066983 +0200
+++
/work/SRC/openSUSE:Factory/.python-jaraco.classes.new.2083/python-jaraco.classes.changes
2022-08-30 14:48:45.684010406 +0200
@@ -1,0 +2,13 @@
+Mon Aug 29 11:46:38 UTC 2022 - Ben Greiner <[email protected]>
+
+- update to 3.2.2
+ * Refreshed package metadata.
+ * Enrolled with Tidelift.
+- Switch to PEP517 and remove obsolete jaraco.base requirement
+
+-------------------------------------------------------------------
+Mon Aug 29 08:55:57 UTC 2022 - Steve Kowalik <[email protected]>
+
+- Add missing more-itertools to {Build,}Requires.
+
+-------------------------------------------------------------------
Old:
----
jaraco.classes-3.2.1.tar.gz
New:
----
jaraco.classes-3.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jaraco.classes.spec ++++++
--- /var/tmp/diff_new_pack.zsZMGM/_old 2022-08-30 14:48:46.232011804 +0200
+++ /var/tmp/diff_new_pack.zsZMGM/_new 2022-08-30 14:48:46.236011814 +0200
@@ -16,22 +16,23 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
Name: python-jaraco.classes
-Version: 3.2.1
+Version: 3.2.2
Release: 0
Summary: Tools to work with classes
License: MIT
URL: https://github.com/jaraco/jaraco.classes
Source0:
https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-%{version}.tar.gz
-BuildRequires: %{python_module jaraco.base >= 6.1}
+BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module more-itertools}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module setuptools >= 56}
+BuildRequires: %{python_module setuptools_scm >= 3.4.1}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-jaraco.base >= 6.1
+Requires: python-more-itertools
BuildArch: noarch
%python_subpackages
@@ -40,14 +41,13 @@
%prep
%setup -q -n jaraco.classes-%{version}
-sed -i 's/--flake8//' pytest.ini
-sed -i 's/--black --cov//' pytest.ini
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
@@ -55,7 +55,8 @@
%files %{python_files}
%license LICENSE
%doc docs/*.rst README.rst CHANGES.rst
-%{python_sitelib}/jaraco.classes-%{version}-py*.egg-info
+%dir %{python_sitelib}/jaraco
%{python_sitelib}/jaraco/classes
+%{python_sitelib}/jaraco.classes-%{version}*-info
%changelog
++++++ jaraco.classes-3.2.1.tar.gz -> jaraco.classes-3.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/.coveragerc
new/jaraco.classes-3.2.2/.coveragerc
--- old/jaraco.classes-3.2.1/.coveragerc 2021-02-21 19:46:09.000000000
+0100
+++ new/jaraco.classes-3.2.2/.coveragerc 2022-07-13 04:22:18.000000000
+0200
@@ -1,5 +1,8 @@
[run]
-omit = .tox/*
+omit =
+ # leading `*/` for pytest-dev/pytest-cov#456
+ */.tox/*
+ */pep517-build-env-*
[report]
show_missing = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/.editorconfig
new/jaraco.classes-3.2.2/.editorconfig
--- old/jaraco.classes-3.2.1/.editorconfig 1970-01-01 01:00:00.000000000
+0100
+++ new/jaraco.classes-3.2.2/.editorconfig 2022-07-13 04:22:18.000000000
+0200
@@ -0,0 +1,19 @@
+root = true
+
+[*]
+charset = utf-8
+indent_style = tab
+indent_size = 4
+insert_final_newline = true
+end_of_line = lf
+
+[*.py]
+indent_style = space
+max_line_length = 88
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
+
+[*.rst]
+indent_style = space
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/.github/FUNDING.yml
new/jaraco.classes-3.2.2/.github/FUNDING.yml
--- old/jaraco.classes-3.2.1/.github/FUNDING.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/jaraco.classes-3.2.2/.github/FUNDING.yml 2022-07-13
04:22:18.000000000 +0200
@@ -0,0 +1 @@
+tidelift: pypi/jaraco.classes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/.github/dependabot.yml
new/jaraco.classes-3.2.2/.github/dependabot.yml
--- old/jaraco.classes-3.2.1/.github/dependabot.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/jaraco.classes-3.2.2/.github/dependabot.yml 2022-07-13
04:22:18.000000000 +0200
@@ -0,0 +1,8 @@
+version: 2
+updates:
+ - package-ecosystem: "pip"
+ directory: "/"
+ schedule:
+ interval: "daily"
+ allow:
+ - dependency-type: "all"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/.github/workflows/automerge.yml
new/jaraco.classes-3.2.2/.github/workflows/automerge.yml
--- old/jaraco.classes-3.2.1/.github/workflows/automerge.yml 2021-02-21
19:46:09.000000000 +0100
+++ new/jaraco.classes-3.2.2/.github/workflows/automerge.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-name: automerge
-on:
- pull_request:
- types:
- - labeled
- - unlabeled
- - synchronize
- - opened
- - edited
- - ready_for_review
- - reopened
- - unlocked
- pull_request_review:
- types:
- - submitted
- check_suite:
- types:
- - completed
- status: {}
-jobs:
- automerge:
- runs-on: ubuntu-latest
- steps:
- - name: automerge
- uses: "pascalgn/[email protected]"
- env:
- GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/.github/workflows/main.yml
new/jaraco.classes-3.2.2/.github/workflows/main.yml
--- old/jaraco.classes-3.2.1/.github/workflows/main.yml 2021-02-21
19:46:09.000000000 +0100
+++ new/jaraco.classes-3.2.2/.github/workflows/main.yml 2022-07-13
04:22:18.000000000 +0200
@@ -6,13 +6,21 @@
test:
strategy:
matrix:
- python: [3.6, 3.8, 3.9]
- platform: [ubuntu-latest, macos-latest, windows-latest]
+ python:
+ # Build on pre-releases until stable, then stable releases.
+ # actions/setup-python#213
+ - ~3.7.0-0
+ - ~3.10.0-0
+ - ~3.11.0-0
+ platform:
+ - ubuntu-latest
+ - macos-latest
+ - windows-latest
runs-on: ${{ matrix.platform }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Setup Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- name: Install tox
@@ -21,17 +29,32 @@
- name: Run tests
run: tox
+ check: # This job does nothing and is only used for the branch protection
+ if: always()
+
+ needs:
+ - test
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Decide whether the needed jobs succeeded or failed
+ uses: re-actors/alls-green@release/v1
+ with:
+ jobs: ${{ toJSON(needs) }}
+
release:
- needs: test
+ needs:
+ - check
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Setup Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v3
with:
- python-version: 3.9
+ python-version: "3.10"
- name: Install tox
run: |
python -m pip install tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/.pre-commit-config.yaml
new/jaraco.classes-3.2.2/.pre-commit-config.yaml
--- old/jaraco.classes-3.2.1/.pre-commit-config.yaml 2021-02-21
19:46:09.000000000 +0100
+++ new/jaraco.classes-3.2.2/.pre-commit-config.yaml 2022-07-13
04:22:18.000000000 +0200
@@ -1,10 +1,5 @@
repos:
- repo: https://github.com/psf/black
- rev: 20.8b1
+ rev: 22.6.0
hooks:
- id: black
-
-- repo: https://github.com/asottile/blacken-docs
- rev: v1.9.1
- hooks:
- - id: blacken-docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/CHANGES.rst
new/jaraco.classes-3.2.2/CHANGES.rst
--- old/jaraco.classes-3.2.1/CHANGES.rst 2021-02-21 19:46:09.000000000
+0100
+++ new/jaraco.classes-3.2.2/CHANGES.rst 2022-07-13 04:22:18.000000000
+0200
@@ -1,3 +1,10 @@
+v3.2.2
+======
+
+Refreshed package metadata.
+
+Enrolled with Tidelift.
+
v3.2.1
======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/PKG-INFO
new/jaraco.classes-3.2.2/PKG-INFO
--- old/jaraco.classes-3.2.1/PKG-INFO 2021-02-21 19:46:32.540176400 +0100
+++ new/jaraco.classes-3.2.2/PKG-INFO 2022-07-13 04:22:39.767603200 +0200
@@ -1,36 +1,57 @@
Metadata-Version: 2.1
Name: jaraco.classes
-Version: 3.2.1
+Version: 3.2.2
Summary: Utility functions for Python class constructs
Home-page: https://github.com/jaraco/jaraco.classes
Author: Jason R. Coombs
Author-email: [email protected]
-License: UNKNOWN
-Description: .. image:: https://img.shields.io/pypi/v/jaraco.classes.svg
- :target: `PyPI link`_
-
- .. image:: https://img.shields.io/pypi/pyversions/jaraco.classes.svg
- :target: `PyPI link`_
-
- .. _PyPI link: https://pypi.org/project/jaraco.ui
-
- .. image::
https://github.com/jaraco/jaraco.classes/workflows/tests/badge.svg
- :target:
https://github.com/jaraco/jaraco.classes/actions?query=workflow%3A%22tests%22
- :alt: tests
-
- .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/psf/black
- :alt: Code style: Black
-
- .. .. image::
https://readthedocs.org/projects/skeleton/badge/?version=latest
- .. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
-
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Requires-Python: >=3.6
+Requires-Python: >=3.7
Provides-Extra: testing
Provides-Extra: docs
+License-File: LICENSE
+
+.. image:: https://img.shields.io/pypi/v/jaraco.classes.svg
+ :target: `PyPI link`_
+
+.. image:: https://img.shields.io/pypi/pyversions/jaraco.classes.svg
+ :target: `PyPI link`_
+
+.. _PyPI link: https://pypi.org/project/jaraco.ui
+
+.. image:: https://github.com/jaraco/jaraco.classes/workflows/tests/badge.svg
+ :target:
https://github.com/jaraco/jaraco.classes/actions?query=workflow%3A%22tests%22
+ :alt: tests
+
+.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+ :target: https://github.com/psf/black
+ :alt: Code style: Black
+
+.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
+.. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
+
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
+ :target: https://blog.jaraco.com/skeleton
+
+.. image:: https://tidelift.com/badges/package/pypi/jaraco.classes
+ :target:
https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=readme
+
+For Enterprise
+==============
+
+Available as part of the Tidelift Subscription.
+
+This project and the maintainers of thousands of other packages are working
with Tidelift to deliver one enterprise subscription that covers all of the
open source you use.
+
+`Learn more
<https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=referral&utm_campaign=github>`_.
+
+Security Contact
+================
+
+To report a security vulnerability, please use the
+`Tidelift security contact <https://tidelift.com/security>`_.
+Tidelift will coordinate the fix and disclosure.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/README.rst
new/jaraco.classes-3.2.2/README.rst
--- old/jaraco.classes-3.2.1/README.rst 2021-02-21 19:46:09.000000000 +0100
+++ new/jaraco.classes-3.2.2/README.rst 2022-07-13 04:22:18.000000000 +0200
@@ -16,3 +16,25 @@
.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
.. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
+
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
+ :target: https://blog.jaraco.com/skeleton
+
+.. image:: https://tidelift.com/badges/package/pypi/jaraco.classes
+ :target:
https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=readme
+
+For Enterprise
+==============
+
+Available as part of the Tidelift Subscription.
+
+This project and the maintainers of thousands of other packages are working
with Tidelift to deliver one enterprise subscription that covers all of the
open source you use.
+
+`Learn more
<https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=referral&utm_campaign=github>`_.
+
+Security Contact
+================
+
+To report a security vulnerability, please use the
+`Tidelift security contact <https://tidelift.com/security>`_.
+Tidelift will coordinate the fix and disclosure.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/docs/conf.py
new/jaraco.classes-3.2.2/docs/conf.py
--- old/jaraco.classes-3.2.1/docs/conf.py 2021-02-21 19:46:09.000000000
+0100
+++ new/jaraco.classes-3.2.2/docs/conf.py 2022-07-13 04:22:18.000000000
+0200
@@ -19,8 +19,20 @@
),
dict(
pattern=r'PEP[- ](?P<pep_number>\d+)',
- url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
+ url='https://peps.python.org/pep-{pep_number:0>4}/',
),
],
)
}
+
+# Be strict about any broken references:
+nitpicky = True
+
+# Include Python intersphinx mapping to prevent failures
+# jaraco/skeleton#51
+extensions += ['sphinx.ext.intersphinx']
+intersphinx_mapping = {
+ 'python': ('https://docs.python.org/3', None),
+}
+
+extensions += ['jaraco.tidelift']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/docs/index.rst
new/jaraco.classes-3.2.2/docs/index.rst
--- old/jaraco.classes-3.2.1/docs/index.rst 2021-02-21 19:46:09.000000000
+0100
+++ new/jaraco.classes-3.2.2/docs/index.rst 2022-07-13 04:22:18.000000000
+0200
@@ -7,6 +7,8 @@
history
+.. tidelift-referral-banner::
+
.. automodule:: jaraco.classes.ancestry
:members:
:undoc-members:
@@ -29,4 +31,3 @@
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jaraco.classes-3.2.1/jaraco.classes.egg-info/PKG-INFO
new/jaraco.classes-3.2.2/jaraco.classes.egg-info/PKG-INFO
--- old/jaraco.classes-3.2.1/jaraco.classes.egg-info/PKG-INFO 2021-02-21
19:46:32.000000000 +0100
+++ new/jaraco.classes-3.2.2/jaraco.classes.egg-info/PKG-INFO 2022-07-13
04:22:39.000000000 +0200
@@ -1,36 +1,57 @@
Metadata-Version: 2.1
Name: jaraco.classes
-Version: 3.2.1
+Version: 3.2.2
Summary: Utility functions for Python class constructs
Home-page: https://github.com/jaraco/jaraco.classes
Author: Jason R. Coombs
Author-email: [email protected]
-License: UNKNOWN
-Description: .. image:: https://img.shields.io/pypi/v/jaraco.classes.svg
- :target: `PyPI link`_
-
- .. image:: https://img.shields.io/pypi/pyversions/jaraco.classes.svg
- :target: `PyPI link`_
-
- .. _PyPI link: https://pypi.org/project/jaraco.ui
-
- .. image::
https://github.com/jaraco/jaraco.classes/workflows/tests/badge.svg
- :target:
https://github.com/jaraco/jaraco.classes/actions?query=workflow%3A%22tests%22
- :alt: tests
-
- .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/psf/black
- :alt: Code style: Black
-
- .. .. image::
https://readthedocs.org/projects/skeleton/badge/?version=latest
- .. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
-
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Requires-Python: >=3.6
+Requires-Python: >=3.7
Provides-Extra: testing
Provides-Extra: docs
+License-File: LICENSE
+
+.. image:: https://img.shields.io/pypi/v/jaraco.classes.svg
+ :target: `PyPI link`_
+
+.. image:: https://img.shields.io/pypi/pyversions/jaraco.classes.svg
+ :target: `PyPI link`_
+
+.. _PyPI link: https://pypi.org/project/jaraco.ui
+
+.. image:: https://github.com/jaraco/jaraco.classes/workflows/tests/badge.svg
+ :target:
https://github.com/jaraco/jaraco.classes/actions?query=workflow%3A%22tests%22
+ :alt: tests
+
+.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+ :target: https://github.com/psf/black
+ :alt: Code style: Black
+
+.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
+.. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
+
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
+ :target: https://blog.jaraco.com/skeleton
+
+.. image:: https://tidelift.com/badges/package/pypi/jaraco.classes
+ :target:
https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=readme
+
+For Enterprise
+==============
+
+Available as part of the Tidelift Subscription.
+
+This project and the maintainers of thousands of other packages are working
with Tidelift to deliver one enterprise subscription that covers all of the
open source you use.
+
+`Learn more
<https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=referral&utm_campaign=github>`_.
+
+Security Contact
+================
+
+To report a security vulnerability, please use the
+`Tidelift security contact <https://tidelift.com/security>`_.
+Tidelift will coordinate the fix and disclosure.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jaraco.classes-3.2.1/jaraco.classes.egg-info/SOURCES.txt
new/jaraco.classes-3.2.2/jaraco.classes.egg-info/SOURCES.txt
--- old/jaraco.classes-3.2.1/jaraco.classes.egg-info/SOURCES.txt
2021-02-21 19:46:32.000000000 +0100
+++ new/jaraco.classes-3.2.2/jaraco.classes.egg-info/SOURCES.txt
2022-07-13 04:22:39.000000000 +0200
@@ -1,4 +1,5 @@
.coveragerc
+.editorconfig
.flake8
.pre-commit-config.yaml
.readthedocs.yml
@@ -9,10 +10,9 @@
pyproject.toml
pytest.ini
setup.cfg
-setup.py
-skeleton.md
tox.ini
-.github/workflows/automerge.yml
+.github/FUNDING.yml
+.github/dependabot.yml
.github/workflows/main.yml
docs/conf.py
docs/history.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jaraco.classes-3.2.1/jaraco.classes.egg-info/requires.txt
new/jaraco.classes-3.2.2/jaraco.classes.egg-info/requires.txt
--- old/jaraco.classes-3.2.1/jaraco.classes.egg-info/requires.txt
2021-02-21 19:46:32.000000000 +0100
+++ new/jaraco.classes-3.2.2/jaraco.classes.egg-info/requires.txt
2022-07-13 04:22:39.000000000 +0200
@@ -2,16 +2,17 @@
[docs]
sphinx
-jaraco.packaging>=8.2
+jaraco.packaging>=9
rst.linker>=1.9
+jaraco.tidelift>=1.4
[testing]
-pytest!=3.7.3,>=3.5
-pytest-checkdocs>=1.2.3
+pytest>=6
+pytest-checkdocs>=2.4
pytest-flake8
pytest-cov
-pytest-enabler
+pytest-enabler>=1.3
[testing:platform_python_implementation != "PyPy"]
pytest-black>=0.3.7
-pytest-mypy
+pytest-mypy>=0.9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/pyproject.toml
new/jaraco.classes-3.2.2/pyproject.toml
--- old/jaraco.classes-3.2.1/pyproject.toml 2021-02-21 19:46:09.000000000
+0100
+++ new/jaraco.classes-3.2.2/pyproject.toml 2022-07-13 04:22:18.000000000
+0200
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.1"]
+requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"
[tool.black]
@@ -7,14 +7,14 @@
[tool.setuptools_scm]
-[pytest.enabler.black]
+[tool.pytest-enabler.black]
addopts = "--black"
-[pytest.enabler.mypy]
+[tool.pytest-enabler.mypy]
addopts = "--mypy"
-[pytest.enabler.flake8]
+[tool.pytest-enabler.flake8]
addopts = "--flake8"
-[pytest.enabler.cov]
+[tool.pytest-enabler.cov]
addopts = "--cov"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/pytest.ini
new/jaraco.classes-3.2.2/pytest.ini
--- old/jaraco.classes-3.2.1/pytest.ini 2021-02-21 19:46:09.000000000 +0100
+++ new/jaraco.classes-3.2.2/pytest.ini 2022-07-13 04:22:18.000000000 +0200
@@ -2,8 +2,16 @@
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
-# workaround for warning pytest-dev/pytest#6178
-junit_family=xunit2
filterwarnings=
- # https://github.com/pytest-dev/pytest/issues/6928
- ignore:direct construction of .*Item has been deprecated:DeprecationWarning
+ # Suppress deprecation warning in flake8
+ ignore:SelectableGroups dict interface is deprecated::flake8
+
+ # shopkeep/pytest-black#55
+ ignore:<class 'pytest_black.BlackItem'> is not using a cooperative
constructor:pytest.PytestDeprecationWarning
+ ignore:The \(fspath. py.path.local\) argument to BlackItem is
deprecated.:pytest.PytestDeprecationWarning
+ ignore:BlackItem is an Item subclass and should not be a
collector:pytest.PytestWarning
+
+ # tholo/pytest-flake8#83
+ ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative
constructor:pytest.PytestDeprecationWarning
+ ignore:The \(fspath. py.path.local\) argument to Flake8Item is
deprecated.:pytest.PytestDeprecationWarning
+ ignore:Flake8Item is an Item subclass and should not be a
collector:pytest.PytestWarning
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/setup.cfg
new/jaraco.classes-3.2.2/setup.cfg
--- old/jaraco.classes-3.2.1/setup.cfg 2021-02-21 19:46:32.540176400 +0100
+++ new/jaraco.classes-3.2.2/setup.cfg 2022-07-13 04:22:39.767603200 +0200
@@ -1,6 +1,4 @@
[metadata]
-license_files =
- LICENSE
name = jaraco.classes
author = Jason R. Coombs
author_email = [email protected]
@@ -17,10 +15,9 @@
[options]
packages = find_namespace:
include_package_data = true
-python_requires = >=3.6
+python_requires = >=3.7
install_requires =
more_itertools
-setup_requires = setuptools_scm[toml] >= 3.4.1
[options.packages.find]
exclude =
@@ -31,17 +28,20 @@
[options.extras_require]
testing =
- pytest >= 3.5, !=3.7.3
- pytest-checkdocs >= 1.2.3
+ pytest >= 6
+ pytest-checkdocs >= 2.4
pytest-flake8
- pytest-black >= 0.3.7; python_implementation != "PyPy"
+ pytest-black >= 0.3.7; \
+ python_implementation != "PyPy"
pytest-cov
- pytest-mypy; python_implementation != "PyPy"
- pytest-enabler
+ pytest-mypy >= 0.9.1; \
+ python_implementation != "PyPy"
+ pytest-enabler >= 1.3
docs =
sphinx
- jaraco.packaging >= 8.2
+ jaraco.packaging >= 9
rst.linker >= 1.9
+ jaraco.tidelift >= 1.4
[options.entry_points]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/setup.py
new/jaraco.classes-3.2.2/setup.py
--- old/jaraco.classes-3.2.1/setup.py 2021-02-21 19:46:09.000000000 +0100
+++ new/jaraco.classes-3.2.2/setup.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!/usr/bin/env python
-
-import setuptools
-
-if __name__ == "__main__":
- setuptools.setup()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/skeleton.md
new/jaraco.classes-3.2.2/skeleton.md
--- old/jaraco.classes-3.2.1/skeleton.md 2021-02-21 19:46:09.000000000
+0100
+++ new/jaraco.classes-3.2.2/skeleton.md 1970-01-01 01:00:00.000000000
+0100
@@ -1,166 +0,0 @@
-# Overview
-
-This project is merged with [skeleton](https://github.com/jaraco/skeleton).
What is skeleton? It's the scaffolding of a Python project jaraco [introduced
in his blog](https://blog.jaraco.com/a-project-skeleton-for-python-projects/).
It seeks to provide a means to re-use techniques and inherit advances when
managing projects for distribution.
-
-## An SCM-Managed Approach
-
-While maintaining dozens of projects in PyPI, jaraco derives best practices
for project distribution and publishes them in the [skeleton
repo](https://github.com/jaraco/skeleton), a Git repo capturing the evolution
and culmination of these best practices.
-
-It's intended to be used by a new or existing project to adopt these practices
and honed and proven techniques. Adopters are encouraged to use the project
directly and maintain a small deviation from the technique, make their own fork
for more substantial changes unique to their environment or preferences, or
simply adopt the skeleton once and abandon it thereafter.
-
-The primary advantage to using an SCM for maintaining these techniques is that
those tools help facilitate the merge between the template and its adopting
projects.
-
-Another advantage to using an SCM-managed approach is that tools like GitHub
recognize that a change in the skeleton is the _same change_ across all
projects that merge with that skeleton. Without the ancestry, with a
traditional copy/paste approach, a [commit like
this](https://github.com/jaraco/skeleton/commit/12eed1326e1bc26ce256e7b3f8cd8d3a5beab2d5)
would produce notifications in the upstream project issue for each and every
application, but because it's centralized, GitHub provides just the one
notification when the change is added to the skeleton.
-
-# Usage
-
-## new projects
-
-To use skeleton for a new project, simply pull the skeleton into a new project:
-
-```
-$ git init my-new-project
-$ cd my-new-project
-$ git pull gh://jaraco/skeleton
-```
-
-Now customize the project to suit your individual project needs.
-
-## existing projects
-
-If you have an existing project, you can still incorporate the skeleton by
merging it into the codebase.
-
-```
-$ git merge skeleton --allow-unrelated-histories
-```
-
-The `--allow-unrelated-histories` is necessary because the history from the
skeleton was previously unrelated to the existing codebase. Resolve any merge
conflicts and commit to the master, and now the project is based on the shared
skeleton.
-
-## Updating
-
-Whenever a change is needed or desired for the general technique for
packaging, it can be made in the skeleton project and then merged into each of
the derived projects as needed, recommended before each release. As a result,
features and best practices for packaging are centrally maintained and readily
trickle into a whole suite of packages. This technique lowers the amount of
tedious work necessary to create or maintain a project, and coupled with other
techniques like continuous integration and deployment, lowers the cost of
creating and maintaining refined Python projects to just a few, familiar Git
operations.
-
-For example, here's a session of the [path
project](https://pypi.org/project/path) pulling non-conflicting changes from
the skeleton:
-
-<img
src="https://raw.githubusercontent.com/jaraco/skeleton/gh-pages/docs/refresh.svg">
-
-Thereafter, the target project can make whatever customizations it deems
relevant to the scaffolding. The project may even at some point decide that the
divergence is too great to merit renewed merging with the original skeleton.
This approach applies maximal guidance while creating minimal constraints.
-
-## Periodic Collapse
-
-In late 2020, this project
[introduced](https://github.com/jaraco/skeleton/issues/27) the idea of a
periodic but infrequent (O(years)) collapse of commits to limit the number of
commits a new consumer will need to accept to adopt the skeleton.
-
-The full history of commits is collapsed into a single commit and that commit
becomes the new mainline head.
-
-When one of these collapse operations happens, any project that previously
pulled from the skeleton will no longer have a related history with that new
main branch. For those projects, the skeleton provides a "handoff" branch that
reconciles the two branches. Any project that has previously merged with the
skeleton but now gets an error "fatal: refusing to merge unrelated histories"
should instead use the handoff branch once to incorporate the new main branch.
-
-```
-$ git pull https://github.com/jaraco/skeleton 2020-handoff
-```
-
-This handoff needs to be pulled just once and thereafter the project can pull
from the main head.
-
-The archive and handoff branches from prior collapses are indicate here:
-
-| refresh | archive | handoff |
-|---------|-----------------|--------------|
-| 2020-12 | archive/2020-12 | 2020-handoff |
-
-# Features
-
-The features/techniques employed by the skeleton include:
-
-- PEP 517/518-based build relying on Setuptools as the build tool
-- Setuptools declarative configuration using setup.cfg
-- tox for running tests
-- A README.rst as reStructuredText with some popular badges, but with Read the
Docs and AppVeyor badges commented out
-- A CHANGES.rst file intended for publishing release notes about the project
-- Use of [Black](https://black.readthedocs.io/en/stable/) for code formatting
(disabled on unsupported Python 3.5 and earlier)
-- Integrated type checking through [mypy](https://github.com/python/mypy/).
-
-## Packaging Conventions
-
-A pyproject.toml is included to enable PEP 517 and PEP 518 compatibility and
declares the requirements necessary to build the project on Setuptools (a
minimum version compatible with setup.cfg declarative config).
-
-The setup.cfg file implements the following features:
-
-- Assumes universal wheel for release
-- Advertises the project's LICENSE file (MIT by default)
-- Reads the README.rst file into the long description
-- Some common Trove classifiers
-- Includes all packages discovered in the repo
-- Data files in the package are also included (not just Python files)
-- Declares the required Python versions
-- Declares install requirements (empty by default)
-- Declares setup requirements for legacy environments
-- Supplies two 'extras':
- - testing: requirements for running tests
- - docs: requirements for building docs
- - these extras split the declaration into "upstream" (requirements as
declared by the skeleton) and "local" (those specific to the local project);
these markers help avoid merge conflicts
-- Placeholder for defining entry points
-
-Additionally, the setup.py file declares `use_scm_version` which relies on
[setuptools_scm](https://pypi.org/project/setuptools_scm) to do two things:
-
-- derive the project version from SCM tags
-- ensure that all files committed to the repo are automatically included in
releases
-
-## Running Tests
-
-The skeleton assumes the developer has [tox](https://pypi.org/project/tox)
installed. The developer is expected to run `tox` to run tests on the current
Python version using [pytest](https://pypi.org/project/pytest).
-
-Other environments (invoked with `tox -e {name}`) supplied include:
-
- - 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:
-
-- rely on default test discovery in the current directory
-- avoid recursing into common directories not containing tests
-- run doctests on modules and invoke Flake8 tests
-- in doctests, allow Unicode literals and regular literals to match, allowing
for doctests to run on Python 2 and 3. Also enable ELLIPSES, a default that
would be undone by supplying the prior option.
-- filters out known warnings caused by libraries/functionality included by the
skeleton
-
-Relies on a .flake8 file to correct some default behaviors:
-
-- disable mutually incompatible rules W503 and W504
-- support for Black format
-
-## Continuous Integration
-
-The project is pre-configured to run Continuous Integration tests.
-
-### Github Actions
-
-[Github Actions](https://docs.github.com/en/free-pro-team@latest/actions) are
the preferred provider as they provide free, fast, multi-platform services with
straightforward configuration. Configured in `.github/workflows`.
-
-Features include:
-- test against multiple Python versions
-- run on late (and updated) platform versions
-- automated releases of tagged commits
-- [automatic merging of
PRs](https://github.com/marketplace/actions/merge-pull-requests) (requires
[protecting branches with required status
checks](https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/enabling-required-status-checks),
[not possible through
API](https://github.community/t/set-all-status-checks-to-be-required-as-branch-protection-using-the-github-api/119493))
-
-
-### Continuous Deployments
-
-In addition to running tests, an additional publish stage is configured to
automatically release tagged commits to PyPI using [API
tokens](https://pypi.org/help/#apitoken). The release process expects an
authorized token to be configured with each Github project (or org)
`PYPI_TOKEN`
[secret](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets).
Example:
-
-```
-pip-run -q jaraco.develop -- -m jaraco.develop.add-github-secrets
-```
-
-## 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 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.
-
-## Cutting releases
-
-By default, tagged commits are released through the continuous integration
deploy stage.
-
-Releases may also be cut manually by invoking the tox environment `release`
with the PyPI token set as the TWINE_PASSWORD:
-
-```
-TWINE_PASSWORD={token} tox -e release
-```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jaraco.classes-3.2.1/tox.ini
new/jaraco.classes-3.2.2/tox.ini
--- old/jaraco.classes-3.2.1/tox.ini 2021-02-21 19:46:09.000000000 +0100
+++ new/jaraco.classes-3.2.2/tox.ini 2022-07-13 04:22:18.000000000 +0200
@@ -19,14 +19,13 @@
testing
changedir = docs
commands =
- python -m sphinx . {toxinidir}/build/html
+ python -m sphinx -W --keep-going . {toxinidir}/build/html
[testenv:release]
skip_install = True
deps =
build
- twine[keyring]>=1.13
- path
+ twine>=3
jaraco.develop>=7.1
passenv =
TWINE_PASSWORD
@@ -34,7 +33,7 @@
setenv =
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
commands =
- python -c "import path; path.Path('dist').rmtree_p()"
+ python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
python -m build
python -m twine upload dist/*
python -m jaraco.develop.create-github-release