Compare commits

3 Commits

Author SHA256 Message Date
7d26ce37a5 Accepting request 1225873 from devel:languages:python
- update to 0.5.1:
  * Fix a bug where flushing in threaded mode did not write the
    data to the output file.
  * Threaded reading and writing do no longer block exiting
    when an exception occurs in the main thread.
- update to 0.5.0:
  * Fix a bug where READ and WRITE in zlib_ng.gzip_ng were
    inconsistent with the values in gzip on Python 3.13
  * Small simplifications to the ``gzip_ng.compress`` and
    ``gzip_ng.decompress`` functions, which should lead to less
    overhead.
- update to 0.4.3:
  * Fix a bug where files larger than 4GB could not be
    decompressed.
- update to 0.4.2:
  * Fix a reference counting error that happened on module
    initialization and triggered an error in the CPython debug
    build.
  * Fix a setup.py error that was triggered on MacOS ARM64.

- build against modern python on sle15

OBS-URL: https://build.opensuse.org/request/show/1225873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zlib-ng?expand=0&rev=3
2024-11-22 22:53:33 +00:00
8bbddbadbe - update to 0.5.1:
* Fix a bug where flushing in threaded mode did not write the
    data to the output file.
  * Threaded reading and writing do no longer block exiting
    when an exception occurs in the main thread.
- update to 0.5.0:
  * Fix a bug where READ and WRITE in zlib_ng.gzip_ng were
    inconsistent with the values in gzip on Python 3.13
  * Small simplifications to the ``gzip_ng.compress`` and
    ``gzip_ng.decompress`` functions, which should lead to less
    overhead.
- update to 0.4.3:
  * Fix a bug where files larger than 4GB could not be
    decompressed.
- update to 0.4.2:
  * Fix a reference counting error that happened on module
    initialization and triggered an error in the CPython debug
    build.
  * Fix a setup.py error that was triggered on MacOS ARM64.
- build against modern python on sle15

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zlib-ng?expand=0&rev=7
2024-11-22 17:43:34 +00:00
5f083d6418 - builda gainst modern python on sle15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zlib-ng?expand=0&rev=6
2024-11-19 11:53:44 +00:00
9 changed files with 40 additions and 121 deletions

View File

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

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Fri Nov 22 17:33:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.5.1:
* Fix a bug where flushing in threaded mode did not write the
data to the output file.
* Threaded reading and writing do no longer block exiting
when an exception occurs in the main thread.
- update to 0.5.0:
* Fix a bug where READ and WRITE in zlib_ng.gzip_ng were
inconsistent with the values in gzip on Python 3.13
* Small simplifications to the ``gzip_ng.compress`` and
``gzip_ng.decompress`` functions, which should lead to less
overhead.
- update to 0.4.3:
* Fix a bug where files larger than 4GB could not be
decompressed.
- update to 0.4.2:
* Fix a reference counting error that happened on module
initialization and triggered an error in the CPython debug
build.
* Fix a setup.py error that was triggered on MacOS ARM64.
-------------------------------------------------------------------
Tue Nov 19 11:53:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
- build against modern python on sle15
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 16 14:42:27 UTC 2024 - Dirk Müller <dmueller@suse.com> Sat Mar 16 14:42:27 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -25,21 +25,20 @@
%bcond_with test %bcond_with test
%endif %endif
%{?sle15_python_module_pythons}
Name: python-zlib-ng%{psuffix} Name: python-zlib-ng%{psuffix}
Version: 0.4.1 Version: 0.5.1
Release: 0 Release: 0
License: Python-2.0 License: Python-2.0
Summary: Faster zlib and gzip compatible compression and decompression Summary: Faster zlib and gzip compatible compression and decompression
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/pycompression/python-zlib-ng URL: https://github.com/pycompression/python-zlib-ng
Source0: https://files.pythonhosted.org/packages/source/z/zlib-ng/zlib-ng-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/z/zlib-ng/zlib_ng-%{version}.tar.gz
Source1: https://github.com/pycompression/python-zlib-ng/raw/v%{version}/tests/data/concatenated.fastq.gz Source1: https://github.com/pycompression/python-zlib-ng/archive/refs/tags/v%{version}.tar.gz#/zlib-ng-%{version}-gh.tar.gz
Source2: https://github.com/pycompression/python-zlib-ng/raw/v%{version}/tests/data/seeds.txt
Source3: https://github.com/pycompression/python-zlib-ng/raw/v%{version}/tests/data/test.fastq.bgzip.gz
Source4: https://github.com/pycompression/python-zlib-ng/raw/v%{version}/tests/data/test.fastq.gz
BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module versioningit}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -58,9 +57,7 @@ Faster zlib and gzip compatible compression and decompression by providing Pytho
This package provides Python bindings for the zlib-ng library. This package provides Python bindings for the zlib-ng library.
%prep %prep
%setup -q -n zlib-ng-%{version} %setup -q -a1 -n zlib_ng-%{version}
mkdir tests/data
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} tests/data/
%build %build
%if !%{with test} %if !%{with test}

100
seeds.txt
View File

@@ -1,100 +0,0 @@
3543943125
2012239574
2871899840
1576915383
443567851
3239180423
3373382826
3275169686
3720569364
2789290573
618407468
3601134391
257166085
951339096
688447921
2980268332
4041231849
2665838137
2152080166
3061402473
114075645
1066757169
3059147274
246562262
3880192386
4271112646
3614603334
3491130170
332943583
1921692081
159629030
4169931400
641090334
2429776133
152825723
2237958331
2779470898
872209389
1543398313
227922013
1433480097
2411689409
4285411687
2669236754
2315690542
2593947855
2435538281
640615264
2183831503
2141774460
498759490
1981068107
659087394
644660319
4084740067
306553019
4172422758
761521931
2820900477
160799031
3875345091
1347385004
2312301814
404607200
2258507054
1861096434
3113292015
1063461481
3623153239
11376533
1748307784
1185247326
1030491484
3925346575
4212727269
4234599042
4019013354
3237401702
1335471143
3405720069
4119823939
1476030215
1339973082
3541240200
608243180
4149852723
3655893277
2099999624
3547173299
860208608
4254465956
603882225
1785239865
3260029982
83829029
3136481952
2052207849
1971968310
2157083216
3415051802

View File

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

View File

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

View File

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

3
zlib-ng-0.5.1-gh.tar.gz Normal file
View File

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

3
zlib_ng-0.5.1.tar.gz Normal file
View File

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