Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-importlib-resources for
openSUSE:Factory checked in at 2023-08-09 17:24:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-importlib-resources (Old)
and /work/SRC/openSUSE:Factory/.python-importlib-resources.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-importlib-resources"
Wed Aug 9 17:24:04 2023 rev:10 rq:1102872 version:6.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-importlib-resources/python-importlib-resources.changes
2023-05-09 13:07:22.409033711 +0200
+++
/work/SRC/openSUSE:Factory/.python-importlib-resources.new.11712/python-importlib-resources.changes
2023-08-09 17:24:09.280969890 +0200
@@ -1,0 +2,11 @@
+Tue Aug 8 11:05:56 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 6.0.1:
+ * Bugfixes
+ * Restored Apache license. (#285)
+ * Deprecations and Removals
+ * Removed legacy functions deprecated in 5.3. (#80)
+ * Features
+ * Require Python 3.8 or later
+
+-------------------------------------------------------------------
Old:
----
importlib_resources-5.12.0.tar.gz
New:
----
importlib_resources-6.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-importlib-resources.spec ++++++
--- /var/tmp/diff_new_pack.kpBAsJ/_old 2023-08-09 17:24:09.996974347 +0200
+++ /var/tmp/diff_new_pack.kpBAsJ/_new 2023-08-09 17:24:09.996974347 +0200
@@ -18,13 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-importlib-resources
-Version: 5.12.0
+Version: 6.0.1
Release: 0
Summary: Read resources from Python packages
License: Apache-2.0
URL: https://importlib-resources.readthedocs.io/
Source:
https://files.pythonhosted.org/packages/source/i/importlib_resources/importlib_resources-%{version}.tar.gz
-BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 6}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
++++++ importlib_resources-5.12.0.tar.gz -> importlib_resources-6.0.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/.flake8
new/importlib_resources-6.0.1/.flake8
--- old/importlib_resources-5.12.0/.flake8 2023-02-17 23:31:47.000000000
+0100
+++ new/importlib_resources-6.0.1/.flake8 1970-01-01 01:00:00.000000000
+0100
@@ -1,13 +0,0 @@
-[flake8]
-max-line-length = 88
-
-# jaraco/skeleton#34
-max-complexity = 10
-
-extend-ignore =
- # Black creates whitespace before colon
- E203
-exclude =
- # Exclude the entire top-level __init__.py file since its only purpose
is
- # to expose the version string and to handle Python 2/3 compatibility.
- importlib_resources/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.12.0/.github/workflows/main.yml
new/importlib_resources-6.0.1/.github/workflows/main.yml
--- old/importlib_resources-5.12.0/.github/workflows/main.yml 2023-02-17
23:31:47.000000000 +0100
+++ new/importlib_resources-6.0.1/.github/workflows/main.yml 2023-08-07
07:08:57.000000000 +0200
@@ -2,6 +2,9 @@
on: [push, pull_request]
+permissions:
+ contents: read
+
env:
# Environment variables to support color support (jaraco/skeleton#66):
# Request colored output from CLI tools supporting it. Different tools
@@ -39,19 +42,14 @@
strategy:
matrix:
python:
- - "3.7"
+ - "3.8"
- "3.11"
- "3.12"
- # Workaround for actions/setup-python#508
- dev:
- - -dev
platform:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- - python: "3.8"
- platform: ubuntu-latest
- python: "3.9"
platform: ubuntu-latest
- python: "3.10"
@@ -65,11 +63,12 @@
- 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
+ - name: Run
run: tox
docs:
@@ -80,12 +79,10 @@
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
- with:
- python-version: ${{ matrix.python }}${{ matrix.dev }}
- name: Install tox
run: |
python -m pip install tox
- - name: Run tests
+ - name: Run
run: tox
check: # This job does nothing and is only used for the branch protection
@@ -122,6 +119,8 @@
TOXENV: diffcov
release:
+ permissions:
+ contents: write
needs:
- check
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
@@ -132,11 +131,11 @@
- 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
+ - name: Run
run: tox -e release
env:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/.readthedocs.yaml
new/importlib_resources-6.0.1/.readthedocs.yaml
--- old/importlib_resources-5.12.0/.readthedocs.yaml 2023-02-17
23:31:47.000000000 +0100
+++ new/importlib_resources-6.0.1/.readthedocs.yaml 2023-08-07
07:08:57.000000000 +0200
@@ -5,9 +5,8 @@
extra_requirements:
- docs
-# workaround for readthedocs/readthedocs.org#9623
+# required boilerplate readthedocs/readthedocs.org#10401
build:
- # workaround for readthedocs/readthedocs.org#9635
os: ubuntu-22.04
tools:
python: "3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/CHANGES.rst
new/importlib_resources-6.0.1/CHANGES.rst
--- old/importlib_resources-5.12.0/CHANGES.rst 2023-02-17 23:31:47.000000000
+0100
+++ new/importlib_resources-6.0.1/CHANGES.rst 1970-01-01 01:00:00.000000000
+0100
@@ -1,445 +0,0 @@
-v5.12.0
-=======
-
-* #257: ``importlib_resources`` (backport) now gives
- precedence to built-in readers (file system, zip,
- namespace packages), providing forward-compatibility
- of behaviors like ``MultiplexedPath``.
-
-v5.11.1
-=======
-
-v5.10.4
-=======
-
-* #280: Fixed one more ``EncodingWarning`` in test suite.
-
-v5.11.0
-=======
-
-* #265: ``MultiplexedPath`` now honors multiple subdirectories
- in ``iterdir`` and ``joinpath``.
-
-v5.10.3
-=======
-
-* Packaging refresh, including fixing EncodingWarnings
- and some tests cleanup.
-
-v5.10.2
-=======
-
-* #274: Prefer ``write_bytes`` to context manager as
- proposed in gh-100586.
-
-v5.10.1
-=======
-
-* #274: Fixed ``ResourceWarning`` in ``_common``.
-
-v5.10.0
-=======
-
-* #203: Lifted restriction on modules passed to ``files``.
- Now modules need not be a package and if a non-package
- module is passed, resources will be resolved adjacent to
- those modules, even for modules not found in any package.
- For example, ``files(import_module('mod.py'))`` will
- resolve resources found at the root. The parameter to
- files was renamed from 'package' to 'anchor', with a
- compatibility shim for those passing by keyword.
-
-* #259: ``files`` no longer requires the anchor to be
- specified and can infer the anchor from the caller's scope
- (defaults to the caller's module).
-
-v5.9.0
-======
-
-* #228: ``as_file`` now also supports a ``Traversable``
- representing a directory and (when needed) renders the
- full tree to a temporary directory.
-
-v5.8.1
-======
-
-* #253: In ``MultiplexedPath``, restore expectation that
- a compound path with a non-existent directory does not
- raise an exception.
-
-v5.8.0
-======
-
-* #250: Now ``Traversable.joinpath`` provides a concrete
- implementation, replacing the implementation in ``.simple``
- and converging with the behavior in ``MultiplexedPath``.
-
-v5.7.1
-======
-
-* #249: In ``simple.ResourceContainer.joinpath``, honor
- names split by ``posixpath.sep``.
-
-v5.7.0
-======
-
-* #248: ``abc.Traversable.joinpath`` now allows for multiple
- arguments and specifies that ``posixpath.sep`` is allowed
- in any argument to accept multiple arguments, matching the
- behavior found in ``zipfile.Path`` and ``pathlib.Path``.
-
- ``simple.ResourceContainer`` now honors this behavior.
-
-v5.6.0
-======
-
-* #244: Add type declarations in ABCs.
-
-v5.5.0
-======
-
-* Require Python 3.7 or later.
-* #243: Fix error when no ``__pycache__`` directories exist
- when testing ``update-zips``.
-
-v5.4.0
-======
-
-* #80: Test suite now relies entirely on the traversable
- API.
-
-v5.3.0
-======
-
-* #80: Now raise a ``DeprecationWarning`` for all legacy
- functions. Instead, users should rely on the ``files()``
- API introduced in importlib_resources 1.3. See
- `Migrating from Legacy
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
- for guidance on avoiding the deprecated functions.
-
-v5.2.3
-======
-
-* Updated readme to reflect current behavior and show
- which versions correspond to which behavior in CPython.
-
-v5.0.7
-======
-
-* bpo-45419: Correct ``DegenerateFiles.Path`` ``.name``
- and ``.open()`` interfaces to match ``Traversable``.
-
-v5.2.2
-======
-
-* #234: Fix refleak in ``as_file`` caught by CPython tests.
-
-v5.2.1
-======
-
-* bpo-38291: Avoid DeprecationWarning on ``typing.io``.
-
-v5.2.0
-======
-
-* #80 via #221: Legacy API (``path``, ``contents``, ...)
- is now supported entirely by the ``.files()`` API with
- a compatibility shim supplied for resource loaders without
- that functionality.
-
-v5.0.6
-======
-
-* bpo-38693: Prefer f-strings to ``.format`` calls.
-
-v5.1.4
-======
-
-* #225: Require
- `zipp 3.1.0 <https://zipp.readthedocs.io/en/latest/history.html#v3-1-0>`_
- or later on Python prior to 3.10 to incorporate those fixes.
-
-v5.0.5
-======
-
-* #216: Make MultiplexedPath.name a property per the
- spec.
-
-v5.1.3
-======
-
-* Refresh packaging and improve tests.
-* #216: Make MultiplexedPath.name a property per the
- spec.
-
-v5.1.2
-======
-
-* Re-release with changes from 5.0.4.
-
-v5.0.4
-======
-
-* Fixed non-hermetic test in test_reader, revealed by
- GH-24670.
-
-v5.1.1
-======
-
-* Re-release with changes from 5.0.3.
-
-v5.0.3
-======
-
-* Simplified DegenerateFiles.Path.
-
-v5.0.2
-======
-
-* #214: Added ``_adapters`` module to ensure that degenerate
- ``files`` behavior can be made available for legacy loaders
- whose resource readers don't implement it. Fixes issue where
- backport compatibility module was masking this fallback
- behavior only to discover the defect when applying changes to
- CPython.
-
-v5.1.0
-======
-
-* Added ``simple`` module implementing adapters from
- a low-level resource reader interface to a
- ``TraversableResources`` interface. Closes #90.
-
-v5.0.1
-======
-
-* Remove pyinstaller hook for hidden 'trees' module.
-
-v5.0.0
-======
-
-* Removed ``importlib_resources.trees``, deprecated since 1.3.0.
-
-v4.1.1
-======
-
-* Fixed badges in README.
-
-v4.1.0
-======
-
-* #209: Adopt
- `jaraco/skeleton <https://github.com/jaraco/skeleton>`_.
-
-* Cleaned up some straggling Python 2 compatibility code.
-
-* Refreshed test zip files without .pyc and .pyo files.
-
-v4.0.0
-======
-
-* #108: Drop support for Python 2.7. Now requires Python 3.6+.
-
-v3.3.1
-======
-
-* Minor cleanup.
-
-v3.3.0
-======
-
-* #107: Drop support for Python 3.5. Now requires Python 2.7 or 3.6+.
-
-v3.2.1
-======
-
-* #200: Minor fixes and improved tests for namespace package support.
-
-v3.2.0
-======
-
-* #68: Resources in PEP 420 Namespace packages are now supported.
-
-v3.1.1
-======
-
-* bpo-41490: ``contents`` is now also more aggressive about
- consuming any iterator from the ``Reader``.
-
-v3.1.0
-======
-
-* #110 and bpo-41490: ``path`` method is more aggressive about
- releasing handles to zipfile objects early, enabling use-cases
- like ``certifi`` to leave the context open but delete the underlying
- zip file.
-
-v3.0.0
-======
-
-* Package no longer exposes ``importlib_resources.__version__``.
- Users that wish to inspect the version of ``importlib_resources``
- should instead invoke ``.version('importlib_resources')`` from
- ``importlib-metadata`` (
- `stdlib <https://docs.python.org/3/library/importlib.metadata.html>`_
- or `backport <https://pypi.org/project/importlib-metadata>`_)
- directly. This change eliminates the dependency on
- ``importlib_metadata``. Closes #100.
-* Package now always includes its data. Closes #93.
-* Declare hidden imports for PyInstaller. Closes #101.
-
-v2.0.1
-======
-
-* Select pathlib and contextlib imports based on Python version
- and avoid pulling in deprecated
- [pathlib](https://pypi.org/project/pathlib). Closes #97.
-
-v2.0.0
-======
-
-* Loaders are no longer expected to implement the
- ``abc.TraversableResources`` interface, but are instead
- expected to return ``TraversableResources`` from their
- ``get_resource_reader`` method.
-
-v1.5.0
-======
-
-* Traversable is now a Protocol instead of an Abstract Base
- Class (Python 2.7 and Python 3.8+).
-
-* Traversable objects now require a ``.name`` property.
-
-v1.4.0
-======
-
-* #79: Temporary files created will now reflect the filename of
- their origin.
-
-v1.3.1
-======
-
-* For improved compatibility, ``importlib_resources.trees`` is
- now imported implicitly. Closes #88.
-
-v1.3.0
-======
-
-* Add extensibility support for non-standard loaders to supply
- ``Traversable`` resources. Introduces a new abstract base
- class ``abc.TraversableResources`` that supersedes (but
- implements for compatibility) ``abc.ResourceReader``. Any
- loader that implements (implicitly or explicitly) the
- ``TraversableResources.files`` method will be capable of
- supplying resources with subdirectory support. Closes #77.
-* Preferred way to access ``as_file`` is now from top-level module.
- ``importlib_resources.trees.as_file`` is deprecated and discouraged.
- Closes #86.
-* Moved ``Traversable`` abc to ``abc`` module. Closes #87.
-
-v1.2.0
-======
-
-* Traversable now requires an ``open`` method. Closes #81.
-* Fixed error on ``Python 3.5.{0,3}``. Closes #83.
-* Updated packaging to resolve version from package metadata.
- Closes #82.
-
-v1.1.0
-======
-
-* Add support for retrieving resources from subdirectories of packages
- through the new ``files()`` function, which returns a ``Traversable``
- object with ``joinpath`` and ``read_*`` interfaces matching those
- of ``pathlib.Path`` objects. This new function supersedes all of the
- previous functionality as it provides a more general-purpose access
- to a package's resources.
-
- With this function, subdirectories are supported (Closes #58).
-
- The
- documentation has been updated to reflect that this function is now
- the preferred interface for loading package resources. It does not,
- however, support resources from arbitrary loaders. It currently only
- supports resources from file system path and zipfile packages (a
- consequence of the ResourceReader interface only operating on
- Python packages).
-
-1.0.2
-=====
-
-* Fix ``setup_requires`` and ``install_requires`` metadata in ``setup.cfg``.
- Given by Anthony Sottile.
-
-1.0.1
-=====
-
-* Update Trove classifiers. Closes #63
-
-1.0
-===
-
-* Backport fix for test isolation from Python 3.8/3.7. Closes #61
-
-0.8
-===
-
-* Strip ``importlib_resources.__version__``. Closes #56
-* Fix a metadata problem with older setuptools. Closes #57
-* Add an ``__all__`` to ``importlib_resources``. Closes #59
-
-0.7
-===
-
-* Fix ``setup.cfg`` metadata bug. Closes #55
-
-0.6
-===
-
-* Move everything from ``pyproject.toml`` to ``setup.cfg``, with the added
- benefit of fixing the PyPI metadata. Closes #54
-* Turn off mypy's ``strict_optional`` setting for now.
-
-0.5
-===
-
-* Resynchronize with Python 3.7; changes the return type of ``contents()`` to
- be an ``Iterable``. Closes #52
-
-0.4
-===
-
-* Correctly find resources in subpackages inside a zip file. Closes #51
-
-0.3
-===
-
-* The API, implementation, and documentation is synchronized with the Python
- 3.7 standard library. Closes #47
-* When run under Python 3.7 this API shadows the stdlib versions. Closes #50
-
-0.2
-===
-
-* **Backward incompatible change**. Split the ``open()`` and ``read()`` calls
- into separate binary and text versions, i.e. ``open_binary()``,
- ``open_text()``, ``read_binary()``, and ``read_text()``. Closes #41
-* Fix a bug where unrelated resources could be returned from ``contents()``.
- Closes #44
-* Correctly prevent namespace packages from containing resources. Closes #20
-
-0.1
-===
-
-* Initial release.
-
-
-..
- Local Variables:
- mode: change-log-mode
- indent-tabs-mode: nil
- sentence-end-double-space: t
- fill-column: 78
- coding: utf-8
- End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/NEWS.rst
new/importlib_resources-6.0.1/NEWS.rst
--- old/importlib_resources-5.12.0/NEWS.rst 1970-01-01 01:00:00.000000000
+0100
+++ new/importlib_resources-6.0.1/NEWS.rst 2023-08-07 07:08:57.000000000
+0200
@@ -0,0 +1,472 @@
+v6.0.1
+======
+
+Bugfixes
+--------
+
+- Restored Apache license. (#285)
+
+
+v6.0.0
+======
+
+Deprecations and Removals
+-------------------------
+
+- Removed legacy functions deprecated in 5.3. (#80)
+
+
+v5.13.0
+=======
+
+Features
+--------
+
+- Require Python 3.8 or later.
+
+
+v5.12.0
+=======
+
+* #257: ``importlib_resources`` (backport) now gives
+ precedence to built-in readers (file system, zip,
+ namespace packages), providing forward-compatibility
+ of behaviors like ``MultiplexedPath``.
+
+v5.11.1
+=======
+
+v5.10.4
+=======
+
+* #280: Fixed one more ``EncodingWarning`` in test suite.
+
+v5.11.0
+=======
+
+* #265: ``MultiplexedPath`` now honors multiple subdirectories
+ in ``iterdir`` and ``joinpath``.
+
+v5.10.3
+=======
+
+* Packaging refresh, including fixing EncodingWarnings
+ and some tests cleanup.
+
+v5.10.2
+=======
+
+* #274: Prefer ``write_bytes`` to context manager as
+ proposed in gh-100586.
+
+v5.10.1
+=======
+
+* #274: Fixed ``ResourceWarning`` in ``_common``.
+
+v5.10.0
+=======
+
+* #203: Lifted restriction on modules passed to ``files``.
+ Now modules need not be a package and if a non-package
+ module is passed, resources will be resolved adjacent to
+ those modules, even for modules not found in any package.
+ For example, ``files(import_module('mod.py'))`` will
+ resolve resources found at the root. The parameter to
+ files was renamed from 'package' to 'anchor', with a
+ compatibility shim for those passing by keyword.
+
+* #259: ``files`` no longer requires the anchor to be
+ specified and can infer the anchor from the caller's scope
+ (defaults to the caller's module).
+
+v5.9.0
+======
+
+* #228: ``as_file`` now also supports a ``Traversable``
+ representing a directory and (when needed) renders the
+ full tree to a temporary directory.
+
+v5.8.1
+======
+
+* #253: In ``MultiplexedPath``, restore expectation that
+ a compound path with a non-existent directory does not
+ raise an exception.
+
+v5.8.0
+======
+
+* #250: Now ``Traversable.joinpath`` provides a concrete
+ implementation, replacing the implementation in ``.simple``
+ and converging with the behavior in ``MultiplexedPath``.
+
+v5.7.1
+======
+
+* #249: In ``simple.ResourceContainer.joinpath``, honor
+ names split by ``posixpath.sep``.
+
+v5.7.0
+======
+
+* #248: ``abc.Traversable.joinpath`` now allows for multiple
+ arguments and specifies that ``posixpath.sep`` is allowed
+ in any argument to accept multiple arguments, matching the
+ behavior found in ``zipfile.Path`` and ``pathlib.Path``.
+
+ ``simple.ResourceContainer`` now honors this behavior.
+
+v5.6.0
+======
+
+* #244: Add type declarations in ABCs.
+
+v5.5.0
+======
+
+* Require Python 3.7 or later.
+* #243: Fix error when no ``__pycache__`` directories exist
+ when testing ``update-zips``.
+
+v5.4.0
+======
+
+* #80: Test suite now relies entirely on the traversable
+ API.
+
+v5.3.0
+======
+
+* #80: Now raise a ``DeprecationWarning`` for all legacy
+ functions. Instead, users should rely on the ``files()``
+ API introduced in importlib_resources 1.3. See
+ `Migrating from Legacy
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
+ for guidance on avoiding the deprecated functions.
+
+v5.2.3
+======
+
+* Updated readme to reflect current behavior and show
+ which versions correspond to which behavior in CPython.
+
+v5.0.7
+======
+
+* bpo-45419: Correct ``DegenerateFiles.Path`` ``.name``
+ and ``.open()`` interfaces to match ``Traversable``.
+
+v5.2.2
+======
+
+* #234: Fix refleak in ``as_file`` caught by CPython tests.
+
+v5.2.1
+======
+
+* bpo-38291: Avoid DeprecationWarning on ``typing.io``.
+
+v5.2.0
+======
+
+* #80 via #221: Legacy API (``path``, ``contents``, ...)
+ is now supported entirely by the ``.files()`` API with
+ a compatibility shim supplied for resource loaders without
+ that functionality.
+
+v5.0.6
+======
+
+* bpo-38693: Prefer f-strings to ``.format`` calls.
+
+v5.1.4
+======
+
+* #225: Require
+ `zipp 3.1.0 <https://zipp.readthedocs.io/en/latest/history.html#v3-1-0>`_
+ or later on Python prior to 3.10 to incorporate those fixes.
+
+v5.0.5
+======
+
+* #216: Make MultiplexedPath.name a property per the
+ spec.
+
+v5.1.3
+======
+
+* Refresh packaging and improve tests.
+* #216: Make MultiplexedPath.name a property per the
+ spec.
+
+v5.1.2
+======
+
+* Re-release with changes from 5.0.4.
+
+v5.0.4
+======
+
+* Fixed non-hermetic test in test_reader, revealed by
+ GH-24670.
+
+v5.1.1
+======
+
+* Re-release with changes from 5.0.3.
+
+v5.0.3
+======
+
+* Simplified DegenerateFiles.Path.
+
+v5.0.2
+======
+
+* #214: Added ``_adapters`` module to ensure that degenerate
+ ``files`` behavior can be made available for legacy loaders
+ whose resource readers don't implement it. Fixes issue where
+ backport compatibility module was masking this fallback
+ behavior only to discover the defect when applying changes to
+ CPython.
+
+v5.1.0
+======
+
+* Added ``simple`` module implementing adapters from
+ a low-level resource reader interface to a
+ ``TraversableResources`` interface. Closes #90.
+
+v5.0.1
+======
+
+* Remove pyinstaller hook for hidden 'trees' module.
+
+v5.0.0
+======
+
+* Removed ``importlib_resources.trees``, deprecated since 1.3.0.
+
+v4.1.1
+======
+
+* Fixed badges in README.
+
+v4.1.0
+======
+
+* #209: Adopt
+ `jaraco/skeleton <https://github.com/jaraco/skeleton>`_.
+
+* Cleaned up some straggling Python 2 compatibility code.
+
+* Refreshed test zip files without .pyc and .pyo files.
+
+v4.0.0
+======
+
+* #108: Drop support for Python 2.7. Now requires Python 3.6+.
+
+v3.3.1
+======
+
+* Minor cleanup.
+
+v3.3.0
+======
+
+* #107: Drop support for Python 3.5. Now requires Python 2.7 or 3.6+.
+
+v3.2.1
+======
+
+* #200: Minor fixes and improved tests for namespace package support.
+
+v3.2.0
+======
+
+* #68: Resources in PEP 420 Namespace packages are now supported.
+
+v3.1.1
+======
+
+* bpo-41490: ``contents`` is now also more aggressive about
+ consuming any iterator from the ``Reader``.
+
+v3.1.0
+======
+
+* #110 and bpo-41490: ``path`` method is more aggressive about
+ releasing handles to zipfile objects early, enabling use-cases
+ like ``certifi`` to leave the context open but delete the underlying
+ zip file.
+
+v3.0.0
+======
+
+* Package no longer exposes ``importlib_resources.__version__``.
+ Users that wish to inspect the version of ``importlib_resources``
+ should instead invoke ``.version('importlib_resources')`` from
+ ``importlib-metadata`` (
+ `stdlib <https://docs.python.org/3/library/importlib.metadata.html>`_
+ or `backport <https://pypi.org/project/importlib-metadata>`_)
+ directly. This change eliminates the dependency on
+ ``importlib_metadata``. Closes #100.
+* Package now always includes its data. Closes #93.
+* Declare hidden imports for PyInstaller. Closes #101.
+
+v2.0.1
+======
+
+* Select pathlib and contextlib imports based on Python version
+ and avoid pulling in deprecated
+ [pathlib](https://pypi.org/project/pathlib). Closes #97.
+
+v2.0.0
+======
+
+* Loaders are no longer expected to implement the
+ ``abc.TraversableResources`` interface, but are instead
+ expected to return ``TraversableResources`` from their
+ ``get_resource_reader`` method.
+
+v1.5.0
+======
+
+* Traversable is now a Protocol instead of an Abstract Base
+ Class (Python 2.7 and Python 3.8+).
+
+* Traversable objects now require a ``.name`` property.
+
+v1.4.0
+======
+
+* #79: Temporary files created will now reflect the filename of
+ their origin.
+
+v1.3.1
+======
+
+* For improved compatibility, ``importlib_resources.trees`` is
+ now imported implicitly. Closes #88.
+
+v1.3.0
+======
+
+* Add extensibility support for non-standard loaders to supply
+ ``Traversable`` resources. Introduces a new abstract base
+ class ``abc.TraversableResources`` that supersedes (but
+ implements for compatibility) ``abc.ResourceReader``. Any
+ loader that implements (implicitly or explicitly) the
+ ``TraversableResources.files`` method will be capable of
+ supplying resources with subdirectory support. Closes #77.
+* Preferred way to access ``as_file`` is now from top-level module.
+ ``importlib_resources.trees.as_file`` is deprecated and discouraged.
+ Closes #86.
+* Moved ``Traversable`` abc to ``abc`` module. Closes #87.
+
+v1.2.0
+======
+
+* Traversable now requires an ``open`` method. Closes #81.
+* Fixed error on ``Python 3.5.{0,3}``. Closes #83.
+* Updated packaging to resolve version from package metadata.
+ Closes #82.
+
+v1.1.0
+======
+
+* Add support for retrieving resources from subdirectories of packages
+ through the new ``files()`` function, which returns a ``Traversable``
+ object with ``joinpath`` and ``read_*`` interfaces matching those
+ of ``pathlib.Path`` objects. This new function supersedes all of the
+ previous functionality as it provides a more general-purpose access
+ to a package's resources.
+
+ With this function, subdirectories are supported (Closes #58).
+
+ The
+ documentation has been updated to reflect that this function is now
+ the preferred interface for loading package resources. It does not,
+ however, support resources from arbitrary loaders. It currently only
+ supports resources from file system path and zipfile packages (a
+ consequence of the ResourceReader interface only operating on
+ Python packages).
+
+1.0.2
+=====
+
+* Fix ``setup_requires`` and ``install_requires`` metadata in ``setup.cfg``.
+ Given by Anthony Sottile.
+
+1.0.1
+=====
+
+* Update Trove classifiers. Closes #63
+
+1.0
+===
+
+* Backport fix for test isolation from Python 3.8/3.7. Closes #61
+
+0.8
+===
+
+* Strip ``importlib_resources.__version__``. Closes #56
+* Fix a metadata problem with older setuptools. Closes #57
+* Add an ``__all__`` to ``importlib_resources``. Closes #59
+
+0.7
+===
+
+* Fix ``setup.cfg`` metadata bug. Closes #55
+
+0.6
+===
+
+* Move everything from ``pyproject.toml`` to ``setup.cfg``, with the added
+ benefit of fixing the PyPI metadata. Closes #54
+* Turn off mypy's ``strict_optional`` setting for now.
+
+0.5
+===
+
+* Resynchronize with Python 3.7; changes the return type of ``contents()`` to
+ be an ``Iterable``. Closes #52
+
+0.4
+===
+
+* Correctly find resources in subpackages inside a zip file. Closes #51
+
+0.3
+===
+
+* The API, implementation, and documentation is synchronized with the Python
+ 3.7 standard library. Closes #47
+* When run under Python 3.7 this API shadows the stdlib versions. Closes #50
+
+0.2
+===
+
+* **Backward incompatible change**. Split the ``open()`` and ``read()`` calls
+ into separate binary and text versions, i.e. ``open_binary()``,
+ ``open_text()``, ``read_binary()``, and ``read_text()``. Closes #41
+* Fix a bug where unrelated resources could be returned from ``contents()``.
+ Closes #44
+* Correctly prevent namespace packages from containing resources. Closes #20
+
+0.1
+===
+
+* Initial release.
+
+
+..
+ Local Variables:
+ mode: change-log-mode
+ indent-tabs-mode: nil
+ sentence-end-double-space: t
+ fill-column: 78
+ coding: utf-8
+ End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/PKG-INFO
new/importlib_resources-6.0.1/PKG-INFO
--- old/importlib_resources-5.12.0/PKG-INFO 2023-02-17 23:32:10.346115000
+0100
+++ new/importlib_resources-6.0.1/PKG-INFO 2023-08-07 07:09:22.651300200
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: importlib_resources
-Version: 5.12.0
+Version: 6.0.1
Summary: Read resources from Python packages
Home-page: https://github.com/python/importlib_resources
Author: Barry Warsaw
@@ -11,7 +11,7 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Requires-Python: >=3.7
+Requires-Python: >=3.8
Provides-Extra: testing
Provides-Extra: docs
License-File: LICENSE
@@ -25,6 +25,10 @@
:target:
https://github.com/python/importlib_resources/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
@@ -61,7 +65,9 @@
* - importlib_resources
- stdlib
- * - 5.9
+ * - 6.0
+ - 3.13
+ * - 5.12
- 3.12
* - 5.7
- 3.11
@@ -80,10 +86,3 @@
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-importlib-resources?utm_source=pypi-importlib-resources&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/importlib_resources-5.12.0/README.rst
new/importlib_resources-6.0.1/README.rst
--- old/importlib_resources-5.12.0/README.rst 2023-02-17 23:31:47.000000000
+0100
+++ new/importlib_resources-6.0.1/README.rst 2023-08-07 07:08:57.000000000
+0200
@@ -7,6 +7,10 @@
:target:
https://github.com/python/importlib_resources/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
@@ -43,7 +47,9 @@
* - importlib_resources
- stdlib
- * - 5.9
+ * - 6.0
+ - 3.13
+ * - 5.12
- 3.12
* - 5.7
- 3.11
@@ -62,10 +68,3 @@
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-importlib-resources?utm_source=pypi-importlib-resources&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/importlib_resources-5.12.0/SECURITY.md
new/importlib_resources-6.0.1/SECURITY.md
--- old/importlib_resources-5.12.0/SECURITY.md 1970-01-01 01:00:00.000000000
+0100
+++ new/importlib_resources-6.0.1/SECURITY.md 2023-08-07 07:08:57.000000000
+0200
@@ -0,0 +1,3 @@
+# 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/importlib_resources-5.12.0/docs/conf.py
new/importlib_resources-6.0.1/docs/conf.py
--- old/importlib_resources-5.12.0/docs/conf.py 2023-02-17 23:31:47.000000000
+0100
+++ new/importlib_resources-6.0.1/docs/conf.py 2023-08-07 07:08:57.000000000
+0200
@@ -9,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(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/docs/history.rst
new/importlib_resources-6.0.1/docs/history.rst
--- old/importlib_resources-5.12.0/docs/history.rst 2023-02-17
23:31:47.000000000 +0100
+++ new/importlib_resources-6.0.1/docs/history.rst 2023-08-07
07:08:57.000000000 +0200
@@ -5,4 +5,4 @@
History
*******
-.. include:: ../CHANGES (links).rst
+.. include:: ../NEWS (links).rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/docs/index.rst
new/importlib_resources-6.0.1/docs/index.rst
--- old/importlib_resources-5.12.0/docs/index.rst 2023-02-17
23:31:47.000000000 +0100
+++ new/importlib_resources-6.0.1/docs/index.rst 2023-08-07
07:08:57.000000000 +0200
@@ -1,6 +1,10 @@
Welcome to |project| documentation!
===================================
+.. sidebar-links::
+ :home:
+ :pypi:
+
``importlib_resources`` is a library which provides for access to *resources*
in Python packages. It provides functionality similar to ``pkg_resources``
`Basic Resource Access`_ API, but without all of the overhead and performance
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.12.0/importlib_resources/__init__.py
new/importlib_resources-6.0.1/importlib_resources/__init__.py
--- old/importlib_resources-5.12.0/importlib_resources/__init__.py
2023-02-17 23:31:47.000000000 +0100
+++ new/importlib_resources-6.0.1/importlib_resources/__init__.py
2023-08-07 07:08:57.000000000 +0200
@@ -6,31 +6,12 @@
Package,
)
-from ._legacy import (
- contents,
- open_binary,
- read_binary,
- open_text,
- read_text,
- is_resource,
- path,
- Resource,
-)
-
from .abc import ResourceReader
__all__ = [
'Package',
- 'Resource',
'ResourceReader',
'as_file',
- 'contents',
'files',
- 'is_resource',
- 'open_binary',
- 'open_text',
- 'path',
- 'read_binary',
- 'read_text',
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.12.0/importlib_resources/_legacy.py
new/importlib_resources-6.0.1/importlib_resources/_legacy.py
--- old/importlib_resources-5.12.0/importlib_resources/_legacy.py
2023-02-17 23:31:47.000000000 +0100
+++ new/importlib_resources-6.0.1/importlib_resources/_legacy.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,120 +0,0 @@
-import functools
-import os
-import pathlib
-import types
-import warnings
-
-from typing import Union, Iterable, ContextManager, BinaryIO, TextIO, Any
-
-from . import _common
-
-Package = Union[types.ModuleType, str]
-Resource = str
-
-
-def deprecated(func):
- @functools.wraps(func)
- def wrapper(*args, **kwargs):
- warnings.warn(
- f"{func.__name__} is deprecated. Use files() instead. "
- "Refer to https://importlib-resources.readthedocs.io"
- "/en/latest/using.html#migrating-from-legacy for migration
advice.",
- DeprecationWarning,
- stacklevel=2,
- )
- return func(*args, **kwargs)
-
- return wrapper
-
-
-def normalize_path(path: Any) -> str:
- """Normalize a path by ensuring it is a string.
-
- If the resulting string contains path separators, an exception is raised.
- """
- str_path = str(path)
- parent, file_name = os.path.split(str_path)
- if parent:
- raise ValueError(f'{path!r} must be only a file name')
- return file_name
-
-
-@deprecated
-def open_binary(package: Package, resource: Resource) -> BinaryIO:
- """Return a file-like object opened for binary reading of the resource."""
- return (_common.files(package) / normalize_path(resource)).open('rb')
-
-
-@deprecated
-def read_binary(package: Package, resource: Resource) -> bytes:
- """Return the binary contents of the resource."""
- return (_common.files(package) / normalize_path(resource)).read_bytes()
-
-
-@deprecated
-def open_text(
- package: Package,
- resource: Resource,
- encoding: str = 'utf-8',
- errors: str = 'strict',
-) -> TextIO:
- """Return a file-like object opened for text reading of the resource."""
- return (_common.files(package) / normalize_path(resource)).open(
- 'r', encoding=encoding, errors=errors
- )
-
-
-@deprecated
-def read_text(
- package: Package,
- resource: Resource,
- encoding: str = 'utf-8',
- errors: str = 'strict',
-) -> str:
- """Return the decoded string of the resource.
-
- The decoding-related arguments have the same semantics as those of
- bytes.decode().
- """
- with open_text(package, resource, encoding, errors) as fp:
- return fp.read()
-
-
-@deprecated
-def contents(package: Package) -> Iterable[str]:
- """Return an iterable of entries in `package`.
-
- Note that not all entries are resources. Specifically, directories are
- not considered resources. Use `is_resource()` on each entry returned here
- to check if it is a resource or not.
- """
- return [path.name for path in _common.files(package).iterdir()]
-
-
-@deprecated
-def is_resource(package: Package, name: str) -> bool:
- """True if `name` is a resource inside `package`.
-
- Directories are *not* resources.
- """
- resource = normalize_path(name)
- return any(
- traversable.name == resource and traversable.is_file()
- for traversable in _common.files(package).iterdir()
- )
-
-
-@deprecated
-def path(
- package: Package,
- resource: Resource,
-) -> ContextManager[pathlib.Path]:
- """A context manager providing a file path object to the resource.
-
- If the resource does not already exist on its own on the file system,
- a temporary file will be created. If the file was created, the file
- will be deleted upon exiting the context manager (no exception is
- raised if the file was deleted prior to the context manager
- exiting).
- """
- return _common.as_file(_common.files(package) / normalize_path(resource))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.12.0/importlib_resources.egg-info/PKG-INFO
new/importlib_resources-6.0.1/importlib_resources.egg-info/PKG-INFO
--- old/importlib_resources-5.12.0/importlib_resources.egg-info/PKG-INFO
2023-02-17 23:32:10.000000000 +0100
+++ new/importlib_resources-6.0.1/importlib_resources.egg-info/PKG-INFO
2023-08-07 07:09:22.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: importlib-resources
-Version: 5.12.0
+Version: 6.0.1
Summary: Read resources from Python packages
Home-page: https://github.com/python/importlib_resources
Author: Barry Warsaw
@@ -11,7 +11,7 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Requires-Python: >=3.7
+Requires-Python: >=3.8
Provides-Extra: testing
Provides-Extra: docs
License-File: LICENSE
@@ -25,6 +25,10 @@
:target:
https://github.com/python/importlib_resources/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
@@ -61,7 +65,9 @@
* - importlib_resources
- stdlib
- * - 5.9
+ * - 6.0
+ - 3.13
+ * - 5.12
- 3.12
* - 5.7
- 3.11
@@ -80,10 +86,3 @@
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-importlib-resources?utm_source=pypi-importlib-resources&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/importlib_resources-5.12.0/importlib_resources.egg-info/SOURCES.txt
new/importlib_resources-6.0.1/importlib_resources.egg-info/SOURCES.txt
--- old/importlib_resources-5.12.0/importlib_resources.egg-info/SOURCES.txt
2023-02-17 23:32:10.000000000 +0100
+++ new/importlib_resources-6.0.1/importlib_resources.egg-info/SOURCES.txt
2023-08-07 07:09:22.000000000 +0200
@@ -1,18 +1,19 @@
.coveragerc
.editorconfig
-.flake8
.gitattributes
.gitignore
.pre-commit-config.yaml
.readthedocs.yaml
-CHANGES.rst
LICENSE
+NEWS.rst
README.rst
+SECURITY.md
codecov.yml
mypy.ini
pyproject.toml
pytest.ini
setup.cfg
+towncrier.toml
tox.ini
.github/FUNDING.yml
.github/dependabot.yml
@@ -27,7 +28,6 @@
importlib_resources/_common.py
importlib_resources/_compat.py
importlib_resources/_itertools.py
-importlib_resources/_legacy.py
importlib_resources/abc.py
importlib_resources/py.typed
importlib_resources/readers.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.12.0/importlib_resources.egg-info/requires.txt
new/importlib_resources-6.0.1/importlib_resources.egg-info/requires.txt
--- old/importlib_resources-5.12.0/importlib_resources.egg-info/requires.txt
2023-02-17 23:32:10.000000000 +0100
+++ new/importlib_resources-6.0.1/importlib_resources.egg-info/requires.txt
2023-08-07 07:09:22.000000000 +0200
@@ -4,7 +4,7 @@
[docs]
sphinx>=3.5
-jaraco.packaging>=9
+jaraco.packaging>=9.3
rst.linker>=1.9
furo
sphinx-lint
@@ -13,13 +13,10 @@
[testing]
pytest>=6
pytest-checkdocs>=2.4
-flake8<5
pytest-cov
-pytest-enabler>=1.3
+pytest-enabler>=2.2
+pytest-ruff
[testing:platform_python_implementation != "PyPy"]
pytest-black>=0.3.7
pytest-mypy>=0.9.1
-
-[testing:python_version < "3.12"]
-pytest-flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/pyproject.toml
new/importlib_resources-6.0.1/pyproject.toml
--- old/importlib_resources-5.12.0/pyproject.toml 2023-02-17
23:31:47.000000000 +0100
+++ new/importlib_resources-6.0.1/pyproject.toml 2023-08-07
07:08:57.000000000 +0200
@@ -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/importlib_resources-5.12.0/pytest.ini
new/importlib_resources-6.0.1/pytest.ini
--- old/importlib_resources-5.12.0/pytest.ini 2023-02-17 23:31:47.000000000
+0100
+++ new/importlib_resources-6.0.1/pytest.ini 2023-08-07 07:08:57.000000000
+0200
@@ -7,19 +7,11 @@
# Ensure ResourceWarnings are emitted
default::ResourceWarning
- # 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
-
# shopkeep/pytest-black#67
ignore:'encoding' argument not specified::pytest_black
@@ -29,4 +21,7 @@
# 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/importlib_resources-5.12.0/setup.cfg
new/importlib_resources-6.0.1/setup.cfg
--- old/importlib_resources-5.12.0/setup.cfg 2023-02-17 23:32:10.346115000
+0100
+++ new/importlib_resources-6.0.1/setup.cfg 2023-08-07 07:09:22.651300200
+0200
@@ -17,7 +17,7 @@
[options]
packages = find_namespace:
include_package_data = true
-python_requires = >=3.7
+python_requires = >=3.8
install_requires =
zipp >= 3.1.0; python_version < '3.10'
@@ -32,18 +32,16 @@
testing =
pytest >= 6
pytest-checkdocs >= 2.4
- pytest-flake8; \
- python_version < "3.12"
- 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
+ jaraco.packaging >= 9.3
rst.linker >= 1.9
furo
sphinx-lint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/towncrier.toml
new/importlib_resources-6.0.1/towncrier.toml
--- old/importlib_resources-5.12.0/towncrier.toml 1970-01-01
01:00:00.000000000 +0100
+++ new/importlib_resources-6.0.1/towncrier.toml 2023-08-07
07:08:57.000000000 +0200
@@ -0,0 +1,2 @@
+[tool.towncrier]
+title_format = "{version}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.12.0/tox.ini
new/importlib_resources-6.0.1/tox.ini
--- old/importlib_resources-5.12.0/tox.ini 2023-02-17 23:31:47.000000000
+0100
+++ new/importlib_resources-6.0.1/tox.ini 2023-08-07 07:08:57.000000000
+0200
@@ -1,11 +1,3 @@
-[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]
deps =
setenv =
@@ -33,6 +25,16 @@
diff-cover coverage.xml --compare-branch=origin/main --html-report
diffcov.html
diff-cover coverage.xml --compare-branch=origin/main --fail-under=100
+[testenv:finalize]
+skip_install = True
+deps =
+ towncrier
+ jaraco.develop >= 7.23
+passenv = *
+commands =
+ python -m jaraco.develop.finalize
+
+
[testenv:release]
skip_install = True
deps =