From 4d9114dece444395d39a14e1bbf77ac94e7efb6b99e8046a9f352f8efd0ef523 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 11 Aug 2025 05:07:03 +0000 Subject: [PATCH] - Add BuildRequires on pytest-asyncio due to pytest 8.4.1. - Switch to github tarball for test files. - Skip a test broken by cPython changes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiocsv?expand=0&rev=5 --- aiocsv-1.3.2.tar.gz | 4 ++-- python-aiocsv.changes | 7 +++++++ python-aiocsv.spec | 9 ++++++--- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/aiocsv-1.3.2.tar.gz b/aiocsv-1.3.2.tar.gz index b7b8c44..8939e01 100644 --- a/aiocsv-1.3.2.tar.gz +++ b/aiocsv-1.3.2.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:806d93465c7808d58d3ff0d2bba270fb4d04b934be6a1e95d0834c50a510910e -size 24837 +oid sha256:b3b13044f1680a15b436abf6d1afc3c1f6bd327f92c670a383a516fefe617fc3 +size 20734 diff --git a/python-aiocsv.changes b/python-aiocsv.changes index 8074922..768bb16 100644 --- a/python-aiocsv.changes +++ b/python-aiocsv.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Aug 11 05:06:04 UTC 2025 - Steve Kowalik + +- Add BuildRequires on pytest-asyncio due to pytest 8.4.1. +- Switch to github tarball for test files. +- Skip a test broken by cPython changes. + ------------------------------------------------------------------- Fri Oct 11 10:35:13 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-aiocsv.spec b/python-aiocsv.spec index 7eabdb1..4ace92a 100644 --- a/python-aiocsv.spec +++ b/python-aiocsv.spec @@ -1,7 +1,7 @@ # # spec file for package python-aiocsv # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?sle15_python_module_pythons} Name: python-aiocsv Version: 1.3.2 @@ -22,10 +23,11 @@ Release: 0 Summary: Asynchronous CSV reading/writing in Python License: MIT URL: https://github.com/MKuranowski/aiocsv -Source: https://files.pythonhosted.org/packages/source/a/aiocsv/aiocsv-%{version}.tar.gz +Source: https://github.com/MKuranowski/aiocsv/archive/refs/tags/v%{version}.tar.gz#/aiocsv-%{version}.tar.gz BuildRequires: %{python_module aiofiles} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 61.0} BuildRequires: %{python_module typing_extensions} @@ -66,7 +68,8 @@ sed -i '/_parser.c/d' %{buildroot}%{$python_sitearch}/aiocsv-%{version}.dist-inf } %check -%pytest_arch +# https://github.com/MKuranowski/aiocsv/issues/33 +%pytest_arch -k 'not test_parsing_weird_quotes_nonnumeric' %files %{python_files} %doc readme.md