1
0
forked from pool/python-aiocsv

Compare commits

6 Commits

Author SHA256 Message Date
2c5fd746e8 Accepting request 1307719 from devel:languages:python
- update to 1.4.0:
  * Allow numeric fields to start with escapechar
  * Fix Dialect typing (wtf cpython)
  * drop 3.8 support
  * backport PyModule_Add
  * Fix seg faults when Parser_new fails partway-through
  * Consider CPython bug #113732 when running on 3.12
  * fix type checking issues with new quote settings

OBS-URL: https://build.opensuse.org/request/show/1307719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiocsv?expand=0&rev=4
2025-09-29 14:37:21 +00:00
06f2daed02 - update to 1.4.0:
* Allow numeric fields to start with escapechar
  * Fix Dialect typing (wtf cpython)
  * drop 3.8 support
  * backport PyModule_Add
  * Fix seg faults when Parser_new fails partway-through
  * Consider CPython bug #113732 when running on 3.12
  * fix type checking issues with new quote settings

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiocsv?expand=0&rev=7
2025-09-29 10:24:18 +00:00
7e58e90dd8 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
b93e3cf3d1 - 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
5f131d58ec 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
114f11088a - 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/package/show/devel:languages:python/python-aiocsv?expand=0&rev=3
2024-10-11 11:56:10 +00:00
4 changed files with 47 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.4.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Mon Sep 29 10:22:39 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.4.0:
* Allow numeric fields to start with escapechar
* Fix Dialect typing (wtf cpython)
* drop 3.8 support
* backport PyModule_Add
* Fix seg faults when Parser_new fails partway-through
* Consider CPython bug #113732 when running on 3.12
* fix type checking issues with new quote settings
-------------------------------------------------------------------
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.4.0
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