Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PyYAML for openSUSE:Factory 
checked in at 2021-11-27 00:50:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyYAML (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyYAML.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyYAML"

Sat Nov 27 00:50:35 2021 rev:25 rq:933317 version:6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyYAML/python-PyYAML.changes      
2021-02-01 13:28:28.806128907 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyYAML.new.1895/python-PyYAML.changes    
2021-11-27 00:51:04.330854311 +0100
@@ -1,0 +2,13 @@
+Mon Nov  1 20:36:13 UTC 2021 - Tina M??ller <tina.muel...@suse.com>
+
+- Add patch setuptools.patch
+- update to 6.0
+  * drop Python 2.7
+  * always require `Loader` arg to `yaml.load()`
+  * fix float resolver to ignore `.` and `._`
+  * fix representation of Enum subclasses
+  * fix libyaml extension compiler warnings
+  * fix ResourceWarning on leaked file descriptors
+  * remove remaining direct distutils usage
+
+-------------------------------------------------------------------

Old:
----
  PyYAML-5.4.1.tar.gz

New:
----
  PyYAML-6.0.tar.gz
  setuptools.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-PyYAML.spec ++++++
--- /var/tmp/diff_new_pack.7CAhaM/_old  2021-11-27 00:51:05.114851605 +0100
+++ /var/tmp/diff_new_pack.7CAhaM/_new  2021-11-27 00:51:05.118851591 +0100
@@ -18,23 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
+%define skip_python2 1
 Name:           python-PyYAML
-Version:        5.4.1
+Version:        6.0
 Release:        0
 Summary:        YAML parser and emitter for Python
 License:        MIT
 URL:            https://github.com/yaml/pyyaml
 Source:         
https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
+Patch0:         setuptools.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  libyaml-devel
 BuildRequires:  python-rpm-macros
-%ifpython2
-# python-yaml was last used in openSUSE 12.1.
-Provides:       %{oldpython}-yaml = %{version}
-Obsoletes:      %{oldpython}-yaml < %{version}
-%endif
 
 %description
 YAML is a data serialization format designed for human readability
@@ -53,6 +50,7 @@
 
 %prep
 %setup -q -n PyYAML-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -74,7 +72,7 @@
 
 %files %{python_files}
 %license LICENSE
-%doc CHANGES README examples/
+%doc CHANGES README.md examples/
 %{python_sitearch}/yaml
 %{python_sitearch}/_yaml
 %{python_sitearch}/PyYAML-%{version}-py%{python_version}.egg-info

++++++ PyYAML-5.4.1.tar.gz -> PyYAML-6.0.tar.gz ++++++
++++ 16436 lines of diff (skipped)

++++++ setuptools.patch ++++++
--- PyYAML-6.0/setup.py 2021-10-13 21:13:52.000000000 +0200
+++ PyYAML-6.0/setup.py.new     2021-11-03 14:36:40.093725379 +0100
@@ -67,7 +67,7 @@
 import sys, os, os.path, pathlib, platform, shutil, tempfile, warnings
 
 # for newer setuptools, enable the embedded distutils before importing 
setuptools/distutils to avoid warnings
-os.environ['SETUPTOOLS_USE_DISTUTILS'] = 'local'
+#os.environ['SETUPTOOLS_USE_DISTUTILS'] = 'local'
 
 from setuptools import setup, Command, Distribution as _Distribution, 
Extension as _Extension
 from setuptools.command.build_ext import build_ext as _build_ext

Reply via email to