11 Commits

Author SHA256 Message Date
d7068edbf3 Accepting request 1317201 from devel:languages:python
- update to 3.18.3:
  * Fix potential regex DoS vulnerability in FTS5 query
    validation code (#3005).

OBS-URL: https://build.opensuse.org/request/show/1317201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=38
2025-11-12 20:14:24 +00:00
d88f3d535f - update to 3.18.3:
* Fix potential regex DoS vulnerability in FTS5 query
    validation code (#3005).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=77
2025-11-11 22:53:26 +00:00
d0be81d580 Accepting request 1312391 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1312391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=37
2025-10-21 09:15:57 +00:00
974a519769 - Rename pwiz.py in /usr/bin to pwiz to avoid PYTHONPATH confusion
(bsc#1245790)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=75
2025-10-20 11:31:27 +00:00
c93e7c9663 Accepting request 1300821 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=36
2025-08-21 18:32:48 +00:00
75f59e59e4 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=73
2025-08-21 15:34:08 +00:00
7d2810c72b Accepting request 1294653 from devel:languages:python
- Update to 3.18.2:
  * Support Cython 3.1.

- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1294653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=35
2025-07-21 17:59:45 +00:00
b6e82f6a0b - Update to 3.18.2:
* Support Cython 3.1.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=71
2025-07-21 03:14:51 +00:00
2cf1f91a18 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=70
2025-07-19 07:30:02 +00:00
29451ff0a6 Accepting request 1274716 from devel:languages:python
- update to 3.18.1:
  * The behavior of `postgresql_ext.BinaryJSONField.contains()`
    has changed.  Previously, passing a string to this method
    would perform a JSON key exists check (`?` operator) instead
    of JSON contains (`@>` operator). As of 3.18.0,
    this special-case has been **removed** and the `contains()`
    method always uses the JSONB contains operator (`@>`).
    For the **old** behavior of checking whether a key exists,
    use the `BinaryJSONField.has_key()`
  * Add options to URL-unquote user and password when using the
    `db_url` helpers
  * Support using `postgresql://` URLs when connecting to
    psycopg3.

OBS-URL: https://build.opensuse.org/request/show/1274716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=34
2025-05-06 14:41:36 +00:00
d4126198d4 - update to 3.18.1:
* The behavior of `postgresql_ext.BinaryJSONField.contains()`
    has changed.  Previously, passing a string to this method
    would perform a JSON key exists check (`?` operator) instead
    of JSON contains (`@>` operator). As of 3.18.0,
    this special-case has been **removed** and the `contains()`
    method always uses the JSONB contains operator (`@>`).
    For the **old** behavior of checking whether a key exists,
    use the `BinaryJSONField.has_key()`
  * Add options to URL-unquote user and password when using the
    `db_url` helpers
  * Support using `postgresql://` URLs when connecting to
    psycopg3.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=68
2025-05-05 21:03:21 +00:00
4 changed files with 72 additions and 11 deletions

Binary file not shown.

3
peewee-3.18.3.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Tue Nov 11 22:53:15 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.18.3:
* Fix potential regex DoS vulnerability in FTS5 query
validation code (#3005).
-------------------------------------------------------------------
Fri Oct 17 13:56:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Rename pwiz.py in /usr/bin to pwiz to avoid PYTHONPATH confusion
(bsc#1245790)
-------------------------------------------------------------------
Thu Aug 21 15:33:41 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Mon Jul 21 03:14:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.18.2:
* Support Cython 3.1.
-------------------------------------------------------------------
Sat Jul 19 07:29:15 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Mon May 5 21:01:49 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.18.1:
* The behavior of `postgresql_ext.BinaryJSONField.contains()`
has changed. Previously, passing a string to this method
would perform a JSON key exists check (`?` operator) instead
of JSON contains (`@>` operator). As of 3.18.0,
this special-case has been **removed** and the `contains()`
method always uses the JSONB contains operator (`@>`).
For the **old** behavior of checking whether a key exists,
use the `BinaryJSONField.has_key()`
* Add options to URL-unquote user and password when using the
`db_url` helpers
* Support using `postgresql://` URLs when connecting to
psycopg3.
-------------------------------------------------------------------
Thu Feb 20 11:21:04 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-peewee
#
# Copyright (c) 2025 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,9 +16,14 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-peewee
Version: 3.17.9
Version: 3.18.3
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
License: MIT
@@ -26,9 +31,6 @@ URL: https://github.com/coleifer/peewee
Source: https://github.com/coleifer/peewee/archive/refs/tags/%{version}.tar.gz#/peewee-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Flask}
%if 0%{?suse_version} > 1500
BuildRequires: %{python_module apsw}
%endif
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -39,8 +41,16 @@ BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildRequires: pkgconfig(sqlite3)
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if 0%{?suse_version} > 1500
BuildRequires: %{python_module apsw}
%endif
%python_subpackages
%description
@@ -54,7 +64,8 @@ An expressive ORM that supports PostgreSQL, MySQL and SQLite.
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pwiz.py
mv %{buildroot}%{_bindir}/pwiz.py %{buildroot}%{_bindir}/pwiz
%python_clone -a %{buildroot}%{_bindir}/pwiz
%{python_expand %fdupes %{buildroot}%{$python_sitearch}
# Remove shebang from non-executable files
@@ -65,15 +76,19 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%pytest_arch tests
%post
%python_install_alternative pwiz.py
%python_install_alternative pwiz
%postun
%python_uninstall_alternative pwiz.py
%python_uninstall_alternative pwiz
%pre
%python_libalternatives_reset_alternative pwiz.py
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.rst TODO.rst
%python_alternative %{_bindir}/pwiz.py
%python_alternative %{_bindir}/pwiz
%{python_sitearch}/peewee-%{version}.dist-info
%{python_sitearch}/peewee.py
%{python_sitearch}/pwiz.py