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 2022-12-15 19:24:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-importlib-resources (Old)
and /work/SRC/openSUSE:Factory/.python-importlib-resources.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-importlib-resources"
Thu Dec 15 19:24:12 2022 rev:6 rq:1042891 version:5.10.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-importlib-resources/python-importlib-resources.changes
2022-11-01 13:40:29.895235374 +0100
+++
/work/SRC/openSUSE:Factory/.python-importlib-resources.new.1835/python-importlib-resources.changes
2022-12-15 19:24:15.607733684 +0100
@@ -1,0 +2,7 @@
+Tue Dec 13 15:37:42 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to v5.10.1
+ * v5.10.1
+ #274: Fixed ResourceWarning in _common.
+
+-------------------------------------------------------------------
Old:
----
importlib_resources-5.10.0.tar.gz
New:
----
importlib_resources-5.10.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-importlib-resources.spec ++++++
--- /var/tmp/diff_new_pack.uw7jg8/_old 2022-12-15 19:24:16.127736642 +0100
+++ /var/tmp/diff_new_pack.uw7jg8/_new 2022-12-15 19:24:16.131736665 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python3-%{**}}
%define skip_python2 1
Name: python-importlib-resources
-Version: 5.10.0
+Version: 5.10.1
Release: 0
Summary: Read resources from Python packages
License: Apache-2.0
++++++ importlib_resources-5.10.0.tar.gz -> importlib_resources-5.10.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.0/.github/workflows/main.yml
new/importlib_resources-5.10.1/.github/workflows/main.yml
--- old/importlib_resources-5.10.0/.github/workflows/main.yml 2022-10-08
03:09:43.000000000 +0200
+++ new/importlib_resources-5.10.1/.github/workflows/main.yml 2022-12-06
15:16:39.000000000 +0100
@@ -2,14 +2,44 @@
on: [push, pull_request]
+env:
+ # Environment variables to support color support (jaraco/skeleton#66):
+ # Request colored output from CLI tools supporting it. Different tools
+ # interpret the value differently. For some, just being set is sufficient.
+ # For others, it must be a non-zero integer. For yet others, being set
+ # to a non-empty value is sufficient.
+ FORCE_COLOR: -106
+ # MyPy's color enforcement (must be a non-zero number)
+ MYPY_FORCE_COLOR: -42
+ # Recognized by the `py` package, dependency of `pytest` (must be "1")
+ PY_COLORS: 1
+ # Make tox-wrapped tools see color requests
+ TOX_TESTENV_PASSENV: >-
+ FORCE_COLOR
+ MYPY_FORCE_COLOR
+ NO_COLOR
+ PY_COLORS
+ PYTEST_THEME
+ PYTEST_THEME_MODE
+
+ # Suppress noisy pip warnings
+ PIP_DISABLE_PIP_VERSION_CHECK: 'true'
+ PIP_NO_PYTHON_VERSION_WARNING: 'true'
+ PIP_NO_WARN_SCRIPT_LOCATION: 'true'
+
+ # Disable the spinner, noise in GHA; TODO(webknjaz): Fix this upstream
+ # Must be "1".
+ TOX_PARALLEL_NO_SPINNER: 1
+
+
jobs:
test:
strategy:
matrix:
python:
- "3.7"
- - "3.10"
- "3.11"
+ - "3.12"
# Workaround for actions/setup-python#508
dev:
- -dev
@@ -18,6 +48,12 @@
- macos-latest
- windows-latest
include:
+ - python: "3.8"
+ platform: ubuntu-latest
+ - python: "3.9"
+ platform: ubuntu-latest
+ - python: "3.10"
+ platform: ubuntu-latest
- python: pypy3.9
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.0/.readthedocs.yaml
new/importlib_resources-5.10.1/.readthedocs.yaml
--- old/importlib_resources-5.10.0/.readthedocs.yaml 1970-01-01
01:00:00.000000000 +0100
+++ new/importlib_resources-5.10.1/.readthedocs.yaml 2022-12-06
15:16:39.000000000 +0100
@@ -0,0 +1,13 @@
+version: 2
+python:
+ install:
+ - path: .
+ extra_requirements:
+ - docs
+
+# workaround for readthedocs/readthedocs.org#9623
+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.10.0/.readthedocs.yml
new/importlib_resources-5.10.1/.readthedocs.yml
--- old/importlib_resources-5.10.0/.readthedocs.yml 2022-10-08
03:09:43.000000000 +0200
+++ new/importlib_resources-5.10.1/.readthedocs.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-version: 2
-python:
- install:
- - path: .
- extra_requirements:
- - docs
-
-# workaround for readthedocs/readthedocs.org#9623
-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.10.0/CHANGES.rst
new/importlib_resources-5.10.1/CHANGES.rst
--- old/importlib_resources-5.10.0/CHANGES.rst 2022-10-08 03:09:43.000000000
+0200
+++ new/importlib_resources-5.10.1/CHANGES.rst 2022-12-06 15:16:39.000000000
+0100
@@ -1,3 +1,8 @@
+v5.10.1
+=======
+
+* #274: Fixed ``ResourceWarning`` in ``_common``.
+
v5.10.0
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.0/PKG-INFO
new/importlib_resources-5.10.1/PKG-INFO
--- old/importlib_resources-5.10.0/PKG-INFO 2022-10-08 03:10:24.264437700
+0200
+++ new/importlib_resources-5.10.1/PKG-INFO 2022-12-06 15:17:04.359716400
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: importlib_resources
-Version: 5.10.0
+Version: 5.10.1
Summary: Read resources from Python packages
Home-page: https://github.com/python/importlib_resources
Author: Barry Warsaw
@@ -17,12 +17,9 @@
License-File: LICENSE
.. image:: https://img.shields.io/pypi/v/importlib_resources.svg
- :target: `PyPI link`_
+ :target: https://pypi.org/project/importlib_resources
.. image:: https://img.shields.io/pypi/pyversions/importlib_resources.svg
- :target: `PyPI link`_
-
-.. _PyPI link: https://pypi.org/project/importlib_resources
.. image::
https://github.com/python/importlib_resources/workflows/tests/badge.svg
:target:
https://github.com/python/importlib_resources/actions?query=workflow%3A%22tests%22
@@ -64,7 +61,7 @@
* - importlib_resources
- stdlib
- * - 5.8
+ * - 5.9
- 3.12
* - 5.7
- 3.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.0/README.rst
new/importlib_resources-5.10.1/README.rst
--- old/importlib_resources-5.10.0/README.rst 2022-10-08 03:09:43.000000000
+0200
+++ new/importlib_resources-5.10.1/README.rst 2022-12-06 15:16:39.000000000
+0100
@@ -1,10 +1,7 @@
.. image:: https://img.shields.io/pypi/v/importlib_resources.svg
- :target: `PyPI link`_
+ :target: https://pypi.org/project/importlib_resources
.. image:: https://img.shields.io/pypi/pyversions/importlib_resources.svg
- :target: `PyPI link`_
-
-.. _PyPI link: https://pypi.org/project/importlib_resources
.. image::
https://github.com/python/importlib_resources/workflows/tests/badge.svg
:target:
https://github.com/python/importlib_resources/actions?query=workflow%3A%22tests%22
@@ -46,7 +43,7 @@
* - importlib_resources
- stdlib
- * - 5.8
+ * - 5.9
- 3.12
* - 5.7
- 3.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.0/importlib_resources/_common.py
new/importlib_resources-5.10.1/importlib_resources/_common.py
--- old/importlib_resources-5.10.0/importlib_resources/_common.py
2022-10-08 03:09:43.000000000 +0200
+++ new/importlib_resources-5.10.1/importlib_resources/_common.py
2022-12-06 15:16:39.000000000 +0100
@@ -203,5 +203,6 @@
for item in source.iterdir():
_write_contents(child, item)
else:
- child.open('wb').write(source.read_bytes())
+ with child.open('wb') as fp:
+ fp.write(source.read_bytes())
return child
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.0/importlib_resources.egg-info/PKG-INFO
new/importlib_resources-5.10.1/importlib_resources.egg-info/PKG-INFO
--- old/importlib_resources-5.10.0/importlib_resources.egg-info/PKG-INFO
2022-10-08 03:10:24.000000000 +0200
+++ new/importlib_resources-5.10.1/importlib_resources.egg-info/PKG-INFO
2022-12-06 15:17:04.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: importlib-resources
-Version: 5.10.0
+Version: 5.10.1
Summary: Read resources from Python packages
Home-page: https://github.com/python/importlib_resources
Author: Barry Warsaw
@@ -17,12 +17,9 @@
License-File: LICENSE
.. image:: https://img.shields.io/pypi/v/importlib_resources.svg
- :target: `PyPI link`_
+ :target: https://pypi.org/project/importlib_resources
.. image:: https://img.shields.io/pypi/pyversions/importlib_resources.svg
- :target: `PyPI link`_
-
-.. _PyPI link: https://pypi.org/project/importlib_resources
.. image::
https://github.com/python/importlib_resources/workflows/tests/badge.svg
:target:
https://github.com/python/importlib_resources/actions?query=workflow%3A%22tests%22
@@ -64,7 +61,7 @@
* - importlib_resources
- stdlib
- * - 5.8
+ * - 5.9
- 3.12
* - 5.7
- 3.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.0/importlib_resources.egg-info/SOURCES.txt
new/importlib_resources-5.10.1/importlib_resources.egg-info/SOURCES.txt
--- old/importlib_resources-5.10.0/importlib_resources.egg-info/SOURCES.txt
2022-10-08 03:10:24.000000000 +0200
+++ new/importlib_resources-5.10.1/importlib_resources.egg-info/SOURCES.txt
2022-12-06 15:17:04.000000000 +0100
@@ -4,7 +4,7 @@
.gitattributes
.gitignore
.pre-commit-config.yaml
-.readthedocs.yml
+.readthedocs.yaml
CHANGES.rst
LICENSE
README.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.0/importlib_resources.egg-info/requires.txt
new/importlib_resources-5.10.1/importlib_resources.egg-info/requires.txt
--- old/importlib_resources-5.10.0/importlib_resources.egg-info/requires.txt
2022-10-08 03:10:24.000000000 +0200
+++ new/importlib_resources-5.10.1/importlib_resources.egg-info/requires.txt
2022-12-06 15:17:04.000000000 +0100
@@ -12,7 +12,6 @@
[testing]
pytest>=6
pytest-checkdocs>=2.4
-pytest-flake8
flake8<5
pytest-cov
pytest-enabler>=1.3
@@ -20,3 +19,6 @@
[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.10.0/mypy.ini
new/importlib_resources-5.10.1/mypy.ini
--- old/importlib_resources-5.10.0/mypy.ini 2022-10-08 03:09:43.000000000
+0200
+++ new/importlib_resources-5.10.1/mypy.ini 2022-12-06 15:16:39.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/importlib_resources-5.10.0/pytest.ini
new/importlib_resources-5.10.1/pytest.ini
--- old/importlib_resources-5.10.0/pytest.ini 2022-10-08 03:09:43.000000000
+0200
+++ new/importlib_resources-5.10.1/pytest.ini 2022-12-06 15:16:39.000000000
+0100
@@ -3,6 +3,9 @@
addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
+ # Ensure ResourceWarnings are emitted
+ default::ResourceWarning
+
# Suppress deprecation warning in flake8
ignore:SelectableGroups dict interface is deprecated::flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.0/setup.cfg
new/importlib_resources-5.10.1/setup.cfg
--- old/importlib_resources-5.10.0/setup.cfg 2022-10-08 03:10:24.264437700
+0200
+++ new/importlib_resources-5.10.1/setup.cfg 2022-12-06 15:17:04.359716400
+0100
@@ -32,7 +32,8 @@
testing =
pytest >= 6
pytest-checkdocs >= 2.4
- pytest-flake8
+ pytest-flake8; \
+ python_version < "3.12"
flake8 < 5
pytest-black >= 0.3.7; \
python_implementation != "PyPy"