Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-parso for openSUSE:Factory 
checked in at 2023-10-04 22:30:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parso (Old)
 and      /work/SRC/openSUSE:Factory/.python-parso.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-parso"

Wed Oct  4 22:30:28 2023 rev:20 rq:1114884 version:0.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-parso/python-parso.changes        
2023-04-22 22:00:36.793271255 +0200
+++ /work/SRC/openSUSE:Factory/.python-parso.new.28202/python-parso.changes     
2023-10-04 22:30:42.734038078 +0200
@@ -1,0 +2,6 @@
+Tue Oct  3 02:36:16 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- Also skip the recalcitrant test under Python 3.12.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-parso.spec ++++++
--- /var/tmp/diff_new_pack.pn1pwD/_old  2023-10-04 22:30:43.770075524 +0200
+++ /var/tmp/diff_new_pack.pn1pwD/_new  2023-10-04 22:30:43.774075668 +0200
@@ -16,8 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 %{?sle15_python_module_pythons}
 Name:           python-parso
 Version:        0.8.3
@@ -27,8 +25,10 @@
 URL:            https://github.com/davidhalter/parso
 Source0:        
https://files.pythonhosted.org/packages/source/p/parso/parso-%{version}.tar.gz
 Patch1:         
https://github.com/davidhalter/parso/commit/cf5969d7a109798adbf9538d70e92138f077d700.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest >= 3.0.7}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -50,20 +50,22 @@
 %autosetup -p1 -n parso-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # Python 3.10 has deviating exception messages -- gh#davidhalter/parso#192
 python310_args=("-k" "not test_python_exception_matches")
+# Python 3.12 also changes how f-strings are parsed
+python312_args=("-k" "not test_python_exception_matches")
 %pytest "${$python_args[@]}"
 
 %files %{python_files}
 %license LICENSE.txt
 %doc AUTHORS.txt CHANGELOG.rst README.rst
-%{python_sitelib}/parso-%{version}-py*.egg-info
+%{python_sitelib}/parso-%{version}.dist-info
 %{python_sitelib}/parso/
 

Reply via email to