15
0
forked from pool/python-aiocsv

- 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
This commit is contained in:
2025-08-11 05:07:03 +00:00
committed by Git OBS Bridge
parent 8f12ac627b
commit 4d9114dece
3 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:806d93465c7808d58d3ff0d2bba270fb4d04b934be6a1e95d0834c50a510910e
size 24837
oid sha256:b3b13044f1680a15b436abf6d1afc3c1f6bd327f92c670a383a516fefe617fc3
size 20734

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 11 05:06:04 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <adrian.glaubitz@suse.com>

View File

@@ -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