Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package
python-backports.entry_points_selectable for openSUSE:Factory checked in at
2023-12-02 17:13:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-backports.entry_points_selectable
(Old)
and
/work/SRC/openSUSE:Factory/.python-backports.entry_points_selectable.new.25432
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-backports.entry_points_selectable"
Sat Dec 2 17:13:19 2023 rev:7 rq:1130396 version:1.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-backports.entry_points_selectable/python-backports.entry_points_selectable.changes
2023-06-22 23:27:57.158420385 +0200
+++
/work/SRC/openSUSE:Factory/.python-backports.entry_points_selectable.new.25432/python-backports.entry_points_selectable.changes
2023-12-02 17:13:51.110840572 +0100
@@ -1,0 +2,6 @@
+Sat Dec 2 08:51:54 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.3.0:
+ * Require Python 3.8 or later.
+
+-------------------------------------------------------------------
Old:
----
backports.entry_points_selectable-1.2.0.tar.gz
New:
----
backports.entry_points_selectable-1.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-backports.entry_points_selectable.spec ++++++
--- /var/tmp/diff_new_pack.XQMIgJ/_old 2023-12-02 17:13:51.554856844 +0100
+++ /var/tmp/diff_new_pack.XQMIgJ/_new 2023-12-02 17:13:51.558856990 +0100
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-backports.entry_points_selectable
-Version: 1.2.0
+Version: 1.3.0
Release: 0
Summary: Compatibility shim providing selectable entry points for older
implementations
License: MIT
@@ -27,7 +27,6 @@
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 4.6}
BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
@@ -61,7 +60,7 @@
%pytest --pyargs backports
%files %{python_files}
-%doc CHANGES.rst README.rst
+%doc README.rst
%license LICENSE
%dir %{python_sitelib}/backports
%{python_sitelib}/backports/entry_points_selectable.py*
++++++ backports.entry_points_selectable-1.2.0.tar.gz ->
backports.entry_points_selectable-1.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/.coveragerc
new/backports.entry_points_selectable-1.3.0/.coveragerc
--- old/backports.entry_points_selectable-1.2.0/.coveragerc 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/.coveragerc 2023-11-27
20:02:37.000000000 +0100
@@ -2,7 +2,8 @@
omit =
# leading `*/` for pytest-dev/pytest-cov#456
*/.tox/*
- */pep517-build-env-*
+disable_warnings =
+ couldnt-parse
[report]
show_missing = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/.flake8
new/backports.entry_points_selectable-1.3.0/.flake8
--- old/backports.entry_points_selectable-1.2.0/.flake8 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/.flake8 1970-01-01
01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-[flake8]
-max-line-length = 88
-
-# jaraco/skeleton#34
-max-complexity = 10
-
-extend-ignore =
- # Black creates whitespace before colon
- E203
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/.github/workflows/main.yml
new/backports.entry_points_selectable-1.3.0/.github/workflows/main.yml
--- old/backports.entry_points_selectable-1.2.0/.github/workflows/main.yml
2022-10-02 02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/.github/workflows/main.yml
2023-11-27 20:02:37.000000000 +0100
@@ -2,42 +2,81 @@
on: [push, pull_request]
+permissions:
+ contents: read
+
+env:
+ # Environment variable to support color support (jaraco/skeleton#66)
+ FORCE_COLOR: 1
+
+ # Suppress noisy pip warnings
+ PIP_DISABLE_PIP_VERSION_CHECK: 'true'
+ PIP_NO_PYTHON_VERSION_WARNING: 'true'
+ PIP_NO_WARN_SCRIPT_LOCATION: 'true'
+
+ # Ensure tests can sense settings about the environment
+ TOX_OVERRIDE: >-
+ testenv.pass_env+=GITHUB_*,FORCE_COLOR
+
+
jobs:
test:
strategy:
matrix:
python:
- - "3.7"
- - "3.10"
+ - "3.8"
- "3.11"
- # Workaround for actions/setup-python#508
- dev:
- - -dev
+ - "3.12"
platform:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- - python: pypy3.9
+ - python: "3.9"
+ platform: ubuntu-latest
+ - python: "3.10"
+ platform: ubuntu-latest
+ - python: pypy3.10
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
+ continue-on-error: ${{ matrix.python == '3.13' }}
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
- python-version: ${{ matrix.python }}${{ matrix.dev }}
+ python-version: ${{ matrix.python }}
+ allow-prereleases: true
- name: Install tox
- run: |
- python -m pip install tox
- - name: Run tests
+ run: python -m pip install tox
+ - name: Run
run: tox
+ collateral:
+ strategy:
+ fail-fast: false
+ matrix:
+ job: [diffcov, docs]
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: Setup Python
+ uses: actions/setup-python@v4
+ with:
+ python-version: 3.x
+ - name: Install tox
+ run: python -m pip install tox
+ - name: Eval ${{ matrix.job }}
+ run: tox -e ${{ matrix.job }}
+
check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- test
+ - collateral
runs-on: ubuntu-latest
@@ -48,21 +87,22 @@
jobs: ${{ toJSON(needs) }}
release:
+ permissions:
+ contents: write
needs:
- check
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
- python-version: 3.11-dev
+ python-version: 3.x
- name: Install tox
- run: |
- python -m pip install tox
- - name: Release
+ run: python -m pip install tox
+ - name: Run
run: tox -e release
env:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/.readthedocs.yaml
new/backports.entry_points_selectable-1.3.0/.readthedocs.yaml
--- old/backports.entry_points_selectable-1.2.0/.readthedocs.yaml
1970-01-01 01:00:00.000000000 +0100
+++ new/backports.entry_points_selectable-1.3.0/.readthedocs.yaml
2023-11-27 20:02:37.000000000 +0100
@@ -0,0 +1,12 @@
+version: 2
+python:
+ install:
+ - path: .
+ extra_requirements:
+ - docs
+
+# required boilerplate readthedocs/readthedocs.org#10401
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/.readthedocs.yml
new/backports.entry_points_selectable-1.3.0/.readthedocs.yml
--- old/backports.entry_points_selectable-1.2.0/.readthedocs.yml
2022-10-02 02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/.readthedocs.yml
1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-version: 2
-python:
- install:
- - path: .
- extra_requirements:
- - docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/CHANGES.rst
new/backports.entry_points_selectable-1.3.0/CHANGES.rst
--- old/backports.entry_points_selectable-1.2.0/CHANGES.rst 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/CHANGES.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,45 +0,0 @@
-v1.2.0
-======
-
-Refreshed packaging.
-
-Require Python 3.7 or later.
-
-v1.1.1
-======
-
-Refreshed packaging.
-
-v1.1.0
-======
-
-Add compatibility support for access by index and EntryPoints
-mutability as introduced in importlib_metadata 4.4.
-
-v1.0.4
-======
-
-#2: For test dependencies, when indicating Python 3, use ``>=3``
-instead of ``>3`` to satisfy
-`python-poetry/poetry#3862
<https://github.com/python-poetry/poetry/issues/3862>`_.
-
-v1.0.3
-======
-
-Clarify docs in readme.
-
-v1.0.2
-======
-
-#1: Fix AttributeError when ``EntryPoint`` does not yet implement
-``matches``.
-
-v1.0.1
-======
-
-Make universal wheel.
-
-v1.0.0
-======
-
-Initial release presenting ``entry_points`` compatibility shim.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/LICENSE
new/backports.entry_points_selectable-1.3.0/LICENSE
--- old/backports.entry_points_selectable-1.2.0/LICENSE 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/LICENSE 2023-11-27
20:02:37.000000000 +0100
@@ -1,5 +1,3 @@
-Copyright Jason R. Coombs
-
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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/NEWS.rst
new/backports.entry_points_selectable-1.3.0/NEWS.rst
--- old/backports.entry_points_selectable-1.2.0/NEWS.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/backports.entry_points_selectable-1.3.0/NEWS.rst 2023-11-27
20:02:37.000000000 +0100
@@ -0,0 +1,54 @@
+v1.3.0
+======
+
+Features
+--------
+
+- Require Python 3.8 or later.
+
+
+v1.2.0
+======
+
+Refreshed packaging.
+
+Require Python 3.7 or later.
+
+v1.1.1
+======
+
+Refreshed packaging.
+
+v1.1.0
+======
+
+Add compatibility support for access by index and EntryPoints
+mutability as introduced in importlib_metadata 4.4.
+
+v1.0.4
+======
+
+#2: For test dependencies, when indicating Python 3, use ``>=3``
+instead of ``>3`` to satisfy
+`python-poetry/poetry#3862
<https://github.com/python-poetry/poetry/issues/3862>`_.
+
+v1.0.3
+======
+
+Clarify docs in readme.
+
+v1.0.2
+======
+
+#1: Fix AttributeError when ``EntryPoint`` does not yet implement
+``matches``.
+
+v1.0.1
+======
+
+Make universal wheel.
+
+v1.0.0
+======
+
+Initial release presenting ``entry_points`` compatibility shim.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/PKG-INFO
new/backports.entry_points_selectable-1.3.0/PKG-INFO
--- old/backports.entry_points_selectable-1.2.0/PKG-INFO 2022-10-02
02:31:47.277235700 +0200
+++ new/backports.entry_points_selectable-1.3.0/PKG-INFO 2023-11-27
20:02:57.251204700 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: backports.entry_points_selectable
-Version: 1.2.0
+Version: 1.3.0
Summary: Compatibility shim providing selectable entry points for older
implementations
Home-page: https://github.com/jaraco/backports.entry_points_selectable
Author: Jason R. Coombs
@@ -9,38 +9,53 @@
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
-Requires-Python: >=3.7
+Requires-Python: >=3.8
+License-File: LICENSE
+Requires-Dist: importlib_metadata; python_version < "3.8"
Provides-Extra: testing
+Requires-Dist: pytest; extra == "testing"
+Requires-Dist: pytest-checkdocs>=2.4; extra == "testing"
+Requires-Dist: pytest-black>=0.3.7; platform_python_implementation != "PyPy"
and extra == "testing"
+Requires-Dist: pytest-cov; extra == "testing"
+Requires-Dist: pytest-mypy>=0.9.1; platform_python_implementation != "PyPy"
and extra == "testing"
+Requires-Dist: pytest-enabler>=2.2; extra == "testing"
+Requires-Dist: pytest-ruff; extra == "testing"
Provides-Extra: docs
-License-File: LICENSE
+Requires-Dist: sphinx>=3.5; extra == "docs"
+Requires-Dist: sphinx<7.2.5; extra == "docs"
+Requires-Dist: jaraco.packaging>=9.3; extra == "docs"
+Requires-Dist: rst.linker>=1.9; extra == "docs"
+Requires-Dist: furo; extra == "docs"
+Requires-Dist: sphinx-lint; extra == "docs"
.. image:: https://img.shields.io/pypi/v/backports.entry_points_selectable.svg
- :target: `PyPI link`_
+ :target: https://pypi.org/project/backports.entry_points_selectable
.. image::
https://img.shields.io/pypi/pyversions/backports.entry_points_selectable.svg
- :target: `PyPI link`_
-
-.. _PyPI link: https://pypi.org/project/backports.entry_points_selectable
.. image::
https://github.com/jaraco/backports.entry_points_selectable/workflows/tests/badge.svg
:target:
https://github.com/jaraco/backports.entry_points_selectable/actions?query=workflow%3A%22tests%22
:alt: tests
+.. image::
https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
+ :target: https://github.com/astral-sh/ruff
+ :alt: Ruff
+
.. 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://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
+.. :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest
-.. image:: https://img.shields.io/badge/skeleton-2022-informational
+.. image:: https://img.shields.io/badge/skeleton-2023-informational
:target: https://blog.jaraco.com/skeleton
Compatibility shim to ease adoption of `importlib_metadata 3.6
<https://importlib-metadata.readthedocs.io/en/latest/history.html#v3-6-0>`_.
Supplies forward-compatibility of "selectable" entry points even on older
versions of ``importlib_metadata`` and ``importlib.metadata``, and avoids usage
that triggers `deprecation warnings
<https://github.com/python/importlib_metadata/issues/298>`_.
Use this shim for libraries or applications invoking ``entry_points()`` that
run on Python older than 3.10 or where importlib_metadata is older than 3.6. In
most cases, this shim is unnecessary and the easiest thing to do is simply
require ``importlib_metadata >= 3.6`` on all Pythons (or only those prior to
3.10a7). In some environments, a library may be constrained on which versions
of ``importlib_metadata`` can be required, so this library bridges that gap.
-To use this shim, add ``backports.entry_points_selectable`` to your project
requirements. It will require ``importlib_metadata`` automatically where needed
(prior to Python 3.8) but be satisfied by older versions. Projects should still
require ``importlib_metadata`` as appropriate for API uses other than for
``entry_points``.
+To use this shim, add ``backports.entry_points_selectable`` to the affected
project's requirements. It will require ``importlib_metadata`` automatically
where needed (prior to Python 3.8) but be satisfied by older versions. Projects
should still require ``importlib_metadata`` as appropriate for API uses other
than for ``entry_points``.
Then in code, instead of ``from importlib.metadata import entry_points``, use::
@@ -48,4 +63,4 @@
And then use the "selectable" features (pass keyword arguments to
``entry_points`` or invoke ``.select()`` on the result).
-This backport has a very lenient dependency on `importlib_metadata` for older
Pythons and is a single module implementation. If adding a dependency is a
concern, this module may be vendored into the downstream project.
+This backport has a very lenient dependency on `importlib_metadata` for older
Pythons and is a single module implementation. If adding a dependency is a
concern, this module may be vendored into the affected project.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/README.rst
new/backports.entry_points_selectable-1.3.0/README.rst
--- old/backports.entry_points_selectable-1.2.0/README.rst 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/README.rst 2023-11-27
20:02:37.000000000 +0100
@@ -1,30 +1,31 @@
.. image:: https://img.shields.io/pypi/v/backports.entry_points_selectable.svg
- :target: `PyPI link`_
+ :target: https://pypi.org/project/backports.entry_points_selectable
.. image::
https://img.shields.io/pypi/pyversions/backports.entry_points_selectable.svg
- :target: `PyPI link`_
-
-.. _PyPI link: https://pypi.org/project/backports.entry_points_selectable
.. image::
https://github.com/jaraco/backports.entry_points_selectable/workflows/tests/badge.svg
:target:
https://github.com/jaraco/backports.entry_points_selectable/actions?query=workflow%3A%22tests%22
:alt: tests
+.. image::
https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
+ :target: https://github.com/astral-sh/ruff
+ :alt: Ruff
+
.. 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://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
+.. :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest
-.. image:: https://img.shields.io/badge/skeleton-2022-informational
+.. image:: https://img.shields.io/badge/skeleton-2023-informational
:target: https://blog.jaraco.com/skeleton
Compatibility shim to ease adoption of `importlib_metadata 3.6
<https://importlib-metadata.readthedocs.io/en/latest/history.html#v3-6-0>`_.
Supplies forward-compatibility of "selectable" entry points even on older
versions of ``importlib_metadata`` and ``importlib.metadata``, and avoids usage
that triggers `deprecation warnings
<https://github.com/python/importlib_metadata/issues/298>`_.
Use this shim for libraries or applications invoking ``entry_points()`` that
run on Python older than 3.10 or where importlib_metadata is older than 3.6. In
most cases, this shim is unnecessary and the easiest thing to do is simply
require ``importlib_metadata >= 3.6`` on all Pythons (or only those prior to
3.10a7). In some environments, a library may be constrained on which versions
of ``importlib_metadata`` can be required, so this library bridges that gap.
-To use this shim, add ``backports.entry_points_selectable`` to your project
requirements. It will require ``importlib_metadata`` automatically where needed
(prior to Python 3.8) but be satisfied by older versions. Projects should still
require ``importlib_metadata`` as appropriate for API uses other than for
``entry_points``.
+To use this shim, add ``backports.entry_points_selectable`` to the affected
project's requirements. It will require ``importlib_metadata`` automatically
where needed (prior to Python 3.8) but be satisfied by older versions. Projects
should still require ``importlib_metadata`` as appropriate for API uses other
than for ``entry_points``.
Then in code, instead of ``from importlib.metadata import entry_points``, use::
@@ -32,4 +33,4 @@
And then use the "selectable" features (pass keyword arguments to
``entry_points`` or invoke ``.select()`` on the result).
-This backport has a very lenient dependency on `importlib_metadata` for older
Pythons and is a single module implementation. If adding a dependency is a
concern, this module may be vendored into the downstream project.
+This backport has a very lenient dependency on `importlib_metadata` for older
Pythons and is a single module implementation. If adding a dependency is a
concern, this module may be vendored into the affected project.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/backports.entry_points_selectable.egg-info/PKG-INFO
new/backports.entry_points_selectable-1.3.0/backports.entry_points_selectable.egg-info/PKG-INFO
---
old/backports.entry_points_selectable-1.2.0/backports.entry_points_selectable.egg-info/PKG-INFO
2022-10-02 02:31:47.000000000 +0200
+++
new/backports.entry_points_selectable-1.3.0/backports.entry_points_selectable.egg-info/PKG-INFO
2023-11-27 20:02:57.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: backports.entry-points-selectable
-Version: 1.2.0
+Version: 1.3.0
Summary: Compatibility shim providing selectable entry points for older
implementations
Home-page: https://github.com/jaraco/backports.entry_points_selectable
Author: Jason R. Coombs
@@ -9,38 +9,53 @@
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
-Requires-Python: >=3.7
+Requires-Python: >=3.8
+License-File: LICENSE
+Requires-Dist: importlib_metadata; python_version < "3.8"
Provides-Extra: testing
+Requires-Dist: pytest; extra == "testing"
+Requires-Dist: pytest-checkdocs>=2.4; extra == "testing"
+Requires-Dist: pytest-black>=0.3.7; platform_python_implementation != "PyPy"
and extra == "testing"
+Requires-Dist: pytest-cov; extra == "testing"
+Requires-Dist: pytest-mypy>=0.9.1; platform_python_implementation != "PyPy"
and extra == "testing"
+Requires-Dist: pytest-enabler>=2.2; extra == "testing"
+Requires-Dist: pytest-ruff; extra == "testing"
Provides-Extra: docs
-License-File: LICENSE
+Requires-Dist: sphinx>=3.5; extra == "docs"
+Requires-Dist: sphinx<7.2.5; extra == "docs"
+Requires-Dist: jaraco.packaging>=9.3; extra == "docs"
+Requires-Dist: rst.linker>=1.9; extra == "docs"
+Requires-Dist: furo; extra == "docs"
+Requires-Dist: sphinx-lint; extra == "docs"
.. image:: https://img.shields.io/pypi/v/backports.entry_points_selectable.svg
- :target: `PyPI link`_
+ :target: https://pypi.org/project/backports.entry_points_selectable
.. image::
https://img.shields.io/pypi/pyversions/backports.entry_points_selectable.svg
- :target: `PyPI link`_
-
-.. _PyPI link: https://pypi.org/project/backports.entry_points_selectable
.. image::
https://github.com/jaraco/backports.entry_points_selectable/workflows/tests/badge.svg
:target:
https://github.com/jaraco/backports.entry_points_selectable/actions?query=workflow%3A%22tests%22
:alt: tests
+.. image::
https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
+ :target: https://github.com/astral-sh/ruff
+ :alt: Ruff
+
.. 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://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
+.. :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest
-.. image:: https://img.shields.io/badge/skeleton-2022-informational
+.. image:: https://img.shields.io/badge/skeleton-2023-informational
:target: https://blog.jaraco.com/skeleton
Compatibility shim to ease adoption of `importlib_metadata 3.6
<https://importlib-metadata.readthedocs.io/en/latest/history.html#v3-6-0>`_.
Supplies forward-compatibility of "selectable" entry points even on older
versions of ``importlib_metadata`` and ``importlib.metadata``, and avoids usage
that triggers `deprecation warnings
<https://github.com/python/importlib_metadata/issues/298>`_.
Use this shim for libraries or applications invoking ``entry_points()`` that
run on Python older than 3.10 or where importlib_metadata is older than 3.6. In
most cases, this shim is unnecessary and the easiest thing to do is simply
require ``importlib_metadata >= 3.6`` on all Pythons (or only those prior to
3.10a7). In some environments, a library may be constrained on which versions
of ``importlib_metadata`` can be required, so this library bridges that gap.
-To use this shim, add ``backports.entry_points_selectable`` to your project
requirements. It will require ``importlib_metadata`` automatically where needed
(prior to Python 3.8) but be satisfied by older versions. Projects should still
require ``importlib_metadata`` as appropriate for API uses other than for
``entry_points``.
+To use this shim, add ``backports.entry_points_selectable`` to the affected
project's requirements. It will require ``importlib_metadata`` automatically
where needed (prior to Python 3.8) but be satisfied by older versions. Projects
should still require ``importlib_metadata`` as appropriate for API uses other
than for ``entry_points``.
Then in code, instead of ``from importlib.metadata import entry_points``, use::
@@ -48,4 +63,4 @@
And then use the "selectable" features (pass keyword arguments to
``entry_points`` or invoke ``.select()`` on the result).
-This backport has a very lenient dependency on `importlib_metadata` for older
Pythons and is a single module implementation. If adding a dependency is a
concern, this module may be vendored into the downstream project.
+This backport has a very lenient dependency on `importlib_metadata` for older
Pythons and is a single module implementation. If adding a dependency is a
concern, this module may be vendored into the affected project.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/backports.entry_points_selectable.egg-info/SOURCES.txt
new/backports.entry_points_selectable-1.3.0/backports.entry_points_selectable.egg-info/SOURCES.txt
---
old/backports.entry_points_selectable-1.2.0/backports.entry_points_selectable.egg-info/SOURCES.txt
2022-10-02 02:31:47.000000000 +0200
+++
new/backports.entry_points_selectable-1.3.0/backports.entry_points_selectable.egg-info/SOURCES.txt
2023-11-27 20:02:57.000000000 +0100
@@ -1,15 +1,15 @@
.coveragerc
.editorconfig
-.flake8
.pre-commit-config.yaml
-.readthedocs.yml
-CHANGES.rst
+.readthedocs.yaml
LICENSE
+NEWS.rst
README.rst
mypy.ini
pyproject.toml
pytest.ini
setup.cfg
+towncrier.toml
tox.ini
.github/dependabot.yml
.github/workflows/main.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/backports.entry_points_selectable.egg-info/requires.txt
new/backports.entry_points_selectable-1.3.0/backports.entry_points_selectable.egg-info/requires.txt
---
old/backports.entry_points_selectable-1.2.0/backports.entry_points_selectable.egg-info/requires.txt
2022-10-02 02:31:47.000000000 +0200
+++
new/backports.entry_points_selectable-1.3.0/backports.entry_points_selectable.egg-info/requires.txt
2023-11-27 20:02:57.000000000 +0100
@@ -4,17 +4,18 @@
[docs]
sphinx>=3.5
-jaraco.packaging>=9
+sphinx<7.2.5
+jaraco.packaging>=9.3
rst.linker>=1.9
furo
+sphinx-lint
[testing]
pytest
pytest-checkdocs>=2.4
-pytest-flake8
-flake8<5
pytest-cov
-pytest-enabler>=1.3
+pytest-enabler>=2.2
+pytest-ruff
[testing:platform_python_implementation != "PyPy"]
pytest-black>=0.3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/docs/conf.py
new/backports.entry_points_selectable-1.3.0/docs/conf.py
--- old/backports.entry_points_selectable-1.2.0/docs/conf.py 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/docs/conf.py 2023-11-27
20:02:37.000000000 +0100
@@ -1,6 +1,3 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-
extensions = [
'sphinx.ext.autodoc',
'jaraco.packaging.sphinx',
@@ -12,7 +9,7 @@
# Link dates and other references in the changelog
extensions += ['rst.linker']
link_files = {
- '../CHANGES.rst': dict(
+ '../NEWS.rst': dict(
using=dict(GH='https://github.com'),
replace=[
dict(
@@ -35,8 +32,8 @@
nitpicky = True
nitpick_ignore = [
- ('py:class', 'importlib_metadata.EntryPoints'),
- ('py:class', 'importlib_metadata.SelectableGroups'),
+ ('py:class', 'importlib.metadata.EntryPoints'),
+ ('py:class', 'importlib.metadata.SelectableGroups'),
]
# Include Python intersphinx mapping to prevent failures
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/docs/history.rst
new/backports.entry_points_selectable-1.3.0/docs/history.rst
--- old/backports.entry_points_selectable-1.2.0/docs/history.rst
2022-10-02 02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/docs/history.rst
2023-11-27 20:02:37.000000000 +0100
@@ -5,4 +5,4 @@
History
*******
-.. include:: ../CHANGES (links).rst
+.. include:: ../NEWS (links).rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/docs/index.rst
new/backports.entry_points_selectable-1.3.0/docs/index.rst
--- old/backports.entry_points_selectable-1.2.0/docs/index.rst 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/docs/index.rst 2023-11-27
20:02:37.000000000 +0100
@@ -1,6 +1,10 @@
Welcome to |project| documentation!
===================================
+.. sidebar-links::
+ :home:
+ :pypi:
+
.. toctree::
:maxdepth: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/mypy.ini
new/backports.entry_points_selectable-1.3.0/mypy.ini
--- old/backports.entry_points_selectable-1.2.0/mypy.ini 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/mypy.ini 2023-11-27
20:02:37.000000000 +0100
@@ -1,2 +1,5 @@
[mypy]
ignore_missing_imports = True
+# required to support namespace packages
+# https://github.com/python/mypy/issues/14057
+explicit_package_bases = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/pyproject.toml
new/backports.entry_points_selectable-1.3.0/pyproject.toml
--- old/backports.entry_points_selectable-1.2.0/pyproject.toml 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/pyproject.toml 2023-11-27
20:02:37.000000000 +0100
@@ -6,15 +6,3 @@
skip-string-normalization = true
[tool.setuptools_scm]
-
-[tool.pytest-enabler.black]
-addopts = "--black"
-
-[tool.pytest-enabler.mypy]
-addopts = "--mypy"
-
-[tool.pytest-enabler.flake8]
-addopts = "--flake8"
-
-[tool.pytest-enabler.cov]
-addopts = "--cov"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/pytest.ini
new/backports.entry_points_selectable-1.3.0/pytest.ini
--- old/backports.entry_points_selectable-1.2.0/pytest.ini 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/pytest.ini 2023-11-27
20:02:37.000000000 +0100
@@ -1,17 +1,27 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
-doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
- # Suppress deprecation warning in flake8
- ignore:SelectableGroups dict interface is deprecated::flake8
+ ## upstream
+
+ # Ensure ResourceWarnings are emitted
+ default::ResourceWarning
# 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
+ # shopkeep/pytest-black#67
+ ignore:'encoding' argument not specified::pytest_black
+
+ # realpython/pytest-mypy#152
+ ignore:'encoding' argument not specified::pytest_mypy
+
+ # python/cpython#100750
+ ignore:'encoding' argument not specified::platform
+
+ # pypa/build#615
+ ignore:'encoding' argument not specified::build.env
+
+ ## end upstream
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/setup.cfg
new/backports.entry_points_selectable-1.3.0/setup.cfg
--- old/backports.entry_points_selectable-1.2.0/setup.cfg 2022-10-02
02:31:47.277235700 +0200
+++ new/backports.entry_points_selectable-1.3.0/setup.cfg 2023-11-27
20:02:57.251204700 +0100
@@ -14,7 +14,7 @@
[options]
packages = find:
include_package_data = true
-python_requires = >=3.7
+python_requires = >=3.8
install_requires =
importlib_metadata; python_version < "3.8"
@@ -29,19 +29,20 @@
testing =
pytest
pytest-checkdocs >= 2.4
- pytest-flake8
- flake8 < 5
pytest-black >= 0.3.7; \
python_implementation != "PyPy"
pytest-cov
pytest-mypy >= 0.9.1; \
python_implementation != "PyPy"
- pytest-enabler >= 1.3
+ pytest-enabler >= 2.2
+ pytest-ruff
docs =
sphinx >= 3.5
- jaraco.packaging >= 9
+ sphinx < 7.2.5
+ jaraco.packaging >= 9.3
rst.linker >= 1.9
furo
+ sphinx-lint
[options.entry_points]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.entry_points_selectable-1.2.0/towncrier.toml
new/backports.entry_points_selectable-1.3.0/towncrier.toml
--- old/backports.entry_points_selectable-1.2.0/towncrier.toml 1970-01-01
01:00:00.000000000 +0100
+++ new/backports.entry_points_selectable-1.3.0/towncrier.toml 2023-11-27
20:02:37.000000000 +0100
@@ -0,0 +1,2 @@
+[tool.towncrier]
+title_format = "{version}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.entry_points_selectable-1.2.0/tox.ini
new/backports.entry_points_selectable-1.3.0/tox.ini
--- old/backports.entry_points_selectable-1.2.0/tox.ini 2022-10-02
02:31:09.000000000 +0200
+++ new/backports.entry_points_selectable-1.3.0/tox.ini 2023-11-27
20:02:37.000000000 +0100
@@ -1,33 +1,54 @@
-[tox]
-envlist = python
-minversion = 3.2
-# https://github.com/jaraco/skeleton/issues/6
-tox_pip_extensions_ext_venv_update = true
-toxworkdir={env:TOX_WORK_DIR:.tox}
-
-
[testenv]
+description = perform primary checks (tests, style, types, coverage)
deps =
+setenv =
+ PYTHONWARNDEFAULTENCODING = 1
commands =
pytest {posargs}
usedevelop = True
-extras = testing
+extras =
+ testing
+
+[testenv:diffcov]
+description = run tests and check that diff from main is covered
+deps =
+ diff-cover
+commands =
+ pytest {posargs} --cov-report xml
+ diff-cover coverage.xml --compare-branch=origin/main --html-report
diffcov.html
+ diff-cover coverage.xml --compare-branch=origin/main --fail-under=100
[testenv:docs]
+description = build the documentation
extras =
docs
testing
changedir = docs
commands =
python -m sphinx -W --keep-going . {toxinidir}/build/html
+ python -m sphinxlint \
+ # workaround for sphinx-contrib/sphinx-lint#83
+ --jobs 1
+
+[testenv:finalize]
+description = assemble changelog and tag a release
+skip_install = True
+deps =
+ towncrier
+ jaraco.develop >= 7.23
+pass_env = *
+commands =
+ python -m jaraco.develop.finalize
+
[testenv:release]
+description = publish the package to PyPI and GitHub
skip_install = True
deps =
build
twine>=3
jaraco.develop>=7.1
-passenv =
+pass_env =
TWINE_PASSWORD
GITHUB_TOKEN
setenv =