Compare commits

4 Commits

Author SHA256 Message Date
50db7dc967 Accepting request 1298705 from devel:languages:python
- 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/request/show/1298705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiocsv?expand=0&rev=3
2025-08-11 11:53:45 +00:00
4d9114dece - 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
2025-08-11 05:07:03 +00:00
dbded99723 Accepting request 1207160 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1207160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiocsv?expand=0&rev=2
2024-10-11 15:06:09 +00:00
8f12ac627b Accepting request 1207133 from home:glaubitz:branches:devel:languages:python
- Update to 1.3.2
  * Don't leak records after raising StopIteration
  * Remove unnecessary type: ignore
  * Add black, isort and pyright to CI
  * black & isort all files
  * black & isort tests
  * Detailed type hints for reader/writer init methods
  * Documentation update
  * Tests: fix type issues with dialect kwargs
  * Tests: silence issues with parser instantiation
- Update BuildRequires and Requires from pyproject.toml
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1207133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiocsv?expand=0&rev=3
2024-10-11 11:56:10 +00:00
4 changed files with 35 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fd2efbb5a327e1e6de5e9d97040e13e86e30420eecffbebb50b399bde4e144e
size 20646

3
aiocsv-1.3.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
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>
- Update to 1.3.2
* Don't leak records after raising StopIteration
* Remove unnecessary type: ignore
* Add black, isort and pyright to CI
* black & isort all files
* black & isort tests
* Detailed type hints for reader/writer init methods
* Documentation update
* Tests: fix type issues with dialect kwargs
* Tests: silence issues with parser instantiation
- Update BuildRequires and Requires from pyproject.toml
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Sun Mar 3 12:39:43 UTC 2024 - Ben Greiner <code@bnavigator.de>

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
@@ -16,21 +16,25 @@
#
%{?sle15_python_module_pythons}
Name: python-aiocsv
Version: 1.3.1
Version: 1.3.2
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}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-typing_extensions
%python_subpackages
%description
@@ -64,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