Compare commits
11 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d7068edbf3 | |||
| d88f3d535f | |||
| d0be81d580 | |||
| 974a519769 | |||
| c93e7c9663 | |||
| 75f59e59e4 | |||
| 7d2810c72b | |||
| b6e82f6a0b | |||
| 2cf1f91a18 | |||
| 29451ff0a6 | |||
| d4126198d4 |
BIN
peewee-3.17.9.tar.gz
LFS
BIN
peewee-3.17.9.tar.gz
LFS
Binary file not shown.
3
peewee-3.18.3.tar.gz
Normal file
3
peewee-3.18.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09a4a65346856f422e653e610f946174a70d4e26c27bfd9fc0a258555e7c5c50
|
||||
size 931933
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user