1 Commits

Author SHA256 Message Date
71bae56c0d Convert to libalternatives, bsc#1245883 2025-11-03 14:57:37 +01:00
4 changed files with 8 additions and 51 deletions

BIN
peewee-3.17.9.tar.gz LFS Normal file

Binary file not shown.

View File

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

View File

@@ -1,49 +1,8 @@
-------------------------------------------------------------------
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 and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-peewee
Version: 3.18.3
Version: 3.17.9
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
License: MIT
@@ -64,8 +64,7 @@ An expressive ORM that supports PostgreSQL, MySQL and SQLite.
%install
%pyproject_install
mv %{buildroot}%{_bindir}/pwiz.py %{buildroot}%{_bindir}/pwiz
%python_clone -a %{buildroot}%{_bindir}/pwiz
%python_clone -a %{buildroot}%{_bindir}/pwiz.py
%{python_expand %fdupes %{buildroot}%{$python_sitearch}
# Remove shebang from non-executable files
@@ -76,11 +75,10 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%pytest_arch tests
%post
%python_install_alternative pwiz
%python_install_alternative pwiz.py
%postun
%python_uninstall_alternative pwiz.py
%python_uninstall_alternative pwiz
%pre
%python_libalternatives_reset_alternative pwiz.py
@@ -88,7 +86,7 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.rst TODO.rst
%python_alternative %{_bindir}/pwiz
%python_alternative %{_bindir}/pwiz.py
%{python_sitearch}/peewee-%{version}.dist-info
%{python_sitearch}/peewee.py
%{python_sitearch}/pwiz.py