Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ly for openSUSE:Factory checked in at 2024-02-04 19:10:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ly (Old) and /work/SRC/openSUSE:Factory/.python-ly.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ly" Sun Feb 4 19:10:03 2024 rev:3 rq:1144007 version:0.9.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ly/python-ly.changes 2024-02-01 18:07:17.091221384 +0100 +++ /work/SRC/openSUSE:Factory/.python-ly.new.1815/python-ly.changes 2024-02-04 19:12:26.931629692 +0100 @@ -1,0 +2,9 @@ +Sun Feb 4 14:31:07 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Disable test suite + * tests are not python unittest but pytest style + * When enabled with pytest they revealed a bunch of problems: + * gh#frescobaldi/python-ly#167: Add python-ly-pkginfo-name.patch + * gh#frescobaldi/python-ly#153 The tests do not work at all + +------------------------------------------------------------------- New: ---- python-ly-pkginfo-name.patch BETA DEBUG BEGIN: New: * When enabled with pytest they revealed a bunch of problems: * gh#frescobaldi/python-ly#167: Add python-ly-pkginfo-name.patch * gh#frescobaldi/python-ly#153 The tests do not work at all BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ly.spec ++++++ --- /var/tmp/diff_new_pack.sEgsmq/_old 2024-02-04 19:12:27.351644828 +0100 +++ /var/tmp/diff_new_pack.sEgsmq/_new 2024-02-04 19:12:27.351644828 +0100 @@ -24,9 +24,12 @@ License: GPL-2.0-or-later URL: https://github.com/frescobaldi/python-ly Source: https://github.com/frescobaldi/python-ly/archive/v%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM python-ly-pkginfo-name.patch gh#frescobaldi/python-ly#167 +Patch0: https://github.com/frescobaldi/python-ly/commit/233de7e253086c3eaad21c5b5223169832b36282.patch#/python-ly-pkginfo-name.patch BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pip} +#BuildRequires: %%{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -40,7 +43,7 @@ Tool and library for manipulating LilyPond files %prep -%autosetup +%autosetup -p1 %build %pyproject_wheel @@ -52,7 +55,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pyunittest -v +# https://github.com/frescobaldi/python-ly/issues/153 +#%%pytest %post %python_install_alternative ly ly-server ++++++ python-ly-pkginfo-name.patch ++++++ >From 233de7e253086c3eaad21c5b5223169832b36282 Mon Sep 17 00:00:00 2001 From: Jean Abou Samra <j...@abou-samra.fr> Date: Sat, 27 Jan 2024 23:18:16 +0100 Subject: [PATCH] Fix remaining use of ly.pkginfo.name --- ly/musicxml/create_musicxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ly/musicxml/create_musicxml.py b/ly/musicxml/create_musicxml.py index 44ff6402..850014f3 100644 --- a/ly/musicxml/create_musicxml.py +++ b/ly/musicxml/create_musicxml.py @@ -55,7 +55,7 @@ def __init__(self): self.score_info = etree.SubElement(self.root, "identification") encoding = etree.SubElement(self.score_info, "encoding") software = etree.SubElement(encoding, "software") - software.text = ly.pkginfo.name + " " + ly.pkginfo.version + software.text = "python-ly " + ly.pkginfo.version encoding_date = etree.SubElement(encoding, "encoding-date") import datetime encoding_date.text = str(datetime.date.today())