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-01-04 17:50:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-importlib-resources (Old)
and /work/SRC/openSUSE:Factory/.python-importlib-resources.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-importlib-resources"
Wed Jan 4 17:50:48 2023 rev:7 rq:1046280 version:5.10.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-importlib-resources/python-importlib-resources.changes
2022-12-15 19:24:15.607733684 +0100
+++
/work/SRC/openSUSE:Factory/.python-importlib-resources.new.1563/python-importlib-resources.changes
2023-01-04 17:50:57.685601171 +0100
@@ -1,0 +2,7 @@
+Mon Jan 2 19:11:16 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 5.10.2:
+ * Prefer ``write_bytes`` to context manager as
+ proposed in gh-100586.
+
+-------------------------------------------------------------------
Old:
----
importlib_resources-5.10.1.tar.gz
New:
----
importlib_resources-5.10.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-importlib-resources.spec ++++++
--- /var/tmp/diff_new_pack.gD01jj/_old 2023-01-04 17:50:58.405605415 +0100
+++ /var/tmp/diff_new_pack.gD01jj/_new 2023-01-04 17:50:58.413605461 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-importlib-resources
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python3-%{**}}
%define skip_python2 1
Name: python-importlib-resources
-Version: 5.10.1
+Version: 5.10.2
Release: 0
Summary: Read resources from Python packages
License: Apache-2.0
++++++ importlib_resources-5.10.1.tar.gz -> importlib_resources-5.10.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.1/.github/workflows/main.yml
new/importlib_resources-5.10.2/.github/workflows/main.yml
--- old/importlib_resources-5.10.1/.github/workflows/main.yml 2022-12-06
15:16:39.000000000 +0100
+++ new/importlib_resources-5.10.2/.github/workflows/main.yml 2022-12-28
22:34:47.000000000 +0100
@@ -7,8 +7,10 @@
# 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
+ # to a non-empty value is sufficient. For tox, it must be one of
+ # <blank>, 0, 1, false, no, off, on, true, yes. The only enabling value
+ # in common is "1".
+ FORCE_COLOR: 1
# 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")
@@ -57,6 +59,23 @@
- python: pypy3.9
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
+ continue-on-error: ${{ matrix.python == '3.12' }}
+ steps:
+ - 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
+ run: tox
+
+ docs:
+ runs-on: ubuntu-latest
+ env:
+ TOXENV: docs
steps:
- uses: actions/checkout@v3
- name: Setup Python
@@ -74,6 +93,7 @@
needs:
- test
+ - docs
runs-on: ubuntu-latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.1/CHANGES.rst
new/importlib_resources-5.10.2/CHANGES.rst
--- old/importlib_resources-5.10.1/CHANGES.rst 2022-12-06 15:16:39.000000000
+0100
+++ new/importlib_resources-5.10.2/CHANGES.rst 2022-12-28 22:34:47.000000000
+0100
@@ -1,3 +1,9 @@
+v5.10.2
+=======
+
+* #274: Prefer ``write_bytes`` to context manager as
+ proposed in gh-100586.
+
v5.10.1
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.1/PKG-INFO
new/importlib_resources-5.10.2/PKG-INFO
--- old/importlib_resources-5.10.1/PKG-INFO 2022-12-06 15:17:04.359716400
+0100
+++ new/importlib_resources-5.10.2/PKG-INFO 2022-12-28 22:35:06.855320000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: importlib_resources
-Version: 5.10.1
+Version: 5.10.2
Summary: Read resources from Python packages
Home-page: https://github.com/python/importlib_resources
Author: Barry Warsaw
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.1/docs/conf.py
new/importlib_resources-5.10.2/docs/conf.py
--- old/importlib_resources-5.10.1/docs/conf.py 2022-12-06 15:16:39.000000000
+0100
+++ new/importlib_resources-5.10.2/docs/conf.py 2022-12-28 22:34:47.000000000
+0100
@@ -1,6 +1,3 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-
extensions = [
'sphinx.ext.autodoc',
'jaraco.packaging.sphinx',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.1/importlib_resources/_common.py
new/importlib_resources-5.10.2/importlib_resources/_common.py
--- old/importlib_resources-5.10.1/importlib_resources/_common.py
2022-12-06 15:16:39.000000000 +0100
+++ new/importlib_resources-5.10.2/importlib_resources/_common.py
2022-12-28 22:34:47.000000000 +0100
@@ -203,6 +203,5 @@
for item in source.iterdir():
_write_contents(child, item)
else:
- with child.open('wb') as fp:
- fp.write(source.read_bytes())
+ child.write_bytes(source.read_bytes())
return child
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.1/importlib_resources.egg-info/PKG-INFO
new/importlib_resources-5.10.2/importlib_resources.egg-info/PKG-INFO
--- old/importlib_resources-5.10.1/importlib_resources.egg-info/PKG-INFO
2022-12-06 15:17:04.000000000 +0100
+++ new/importlib_resources-5.10.2/importlib_resources.egg-info/PKG-INFO
2022-12-28 22:35:06.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: importlib-resources
-Version: 5.10.1
+Version: 5.10.2
Summary: Read resources from Python packages
Home-page: https://github.com/python/importlib_resources
Author: Barry Warsaw
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/importlib_resources-5.10.1/importlib_resources.egg-info/requires.txt
new/importlib_resources-5.10.2/importlib_resources.egg-info/requires.txt
--- old/importlib_resources-5.10.1/importlib_resources.egg-info/requires.txt
2022-12-06 15:17:04.000000000 +0100
+++ new/importlib_resources-5.10.2/importlib_resources.egg-info/requires.txt
2022-12-28 22:35:06.000000000 +0100
@@ -7,6 +7,7 @@
jaraco.packaging>=9
rst.linker>=1.9
furo
+sphinx-lint
jaraco.tidelift>=1.4
[testing]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.1/setup.cfg
new/importlib_resources-5.10.2/setup.cfg
--- old/importlib_resources-5.10.1/setup.cfg 2022-12-06 15:17:04.359716400
+0100
+++ new/importlib_resources-5.10.2/setup.cfg 2022-12-28 22:35:06.855320000
+0100
@@ -46,6 +46,8 @@
jaraco.packaging >= 9
rst.linker >= 1.9
furo
+ sphinx-lint
+
jaraco.tidelift >= 1.4
[egg_info]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/importlib_resources-5.10.1/tox.ini
new/importlib_resources-5.10.2/tox.ini
--- old/importlib_resources-5.10.1/tox.ini 2022-12-06 15:16:39.000000000
+0100
+++ new/importlib_resources-5.10.2/tox.ini 2022-12-28 22:34:47.000000000
+0100
@@ -20,6 +20,7 @@
changedir = docs
commands =
python -m sphinx -W --keep-going . {toxinidir}/build/html
+ python -m sphinxlint
[testenv:diffcov]
deps =