17 Commits

Author SHA256 Message Date
0f42e72971 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
b37a614a14 - 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
9561e1c36a 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
bc85619710 - 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
f0f49f737a - 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
0c5dfa34b4 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
df425d9a5c - 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
12a9b8f335 Accepting request 1247409 from devel:languages:python
Forwarded request #1247372 from glaubitz

- Update to 3.17.9
    * Fix incorrect handling of fk constraint name in migrator.
    * Fix test-only issue that can occur in Python 3.14a4.

OBS-URL: https://build.opensuse.org/request/show/1247409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=33
2025-02-20 16:39:47 +00:00
bdc0365267 Accepting request 1247372 from home:glaubitz:branches:devel:languages:python
- Update to 3.17.9
  * Fix incorrect handling of fk constraint name in migrator.
  * Fix test-only issue that can occur in Python 3.14a4.

OBS-URL: https://build.opensuse.org/request/show/1247372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=66
2025-02-20 13:20:05 +00:00
0e5a8cc724 Accepting request 1223791 from devel:languages:python
Forwarded request #1223773 from mnhauke

- Update to version 3.17.8
    * Fix regression in behavior of delete_instance() when
      traversing nullable foreign-keys. Introduced in 3.17.6.
    * Fix bug where joins not cloned when going from
      join-less -> joined query.

OBS-URL: https://build.opensuse.org/request/show/1223791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=32
2024-11-14 15:08:00 +00:00
ea06628a5d Accepting request 1223773 from home:mnhauke
- Update to version 3.17.8
  * Fix regression in behavior of delete_instance() when
    traversing nullable foreign-keys. Introduced in 3.17.6.
  * Fix bug where joins not cloned when going from
    join-less -> joined query.

OBS-URL: https://build.opensuse.org/request/show/1223773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=64
2024-11-12 21:03:38 +00:00
50a8aee853 Accepting request 1222054 from devel:languages:python
- update to 3.17.7:
  * Add db_url support for psycopg3 via `psycopg3://`.
  * Ensure double-quotes are escaped properly when introspecting
    constraints.
  * A few documentation-related fixes.

OBS-URL: https://build.opensuse.org/request/show/1222054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=31
2024-11-07 15:28:14 +00:00
84719a9de1 - update to 3.17.7:
* Add db_url support for psycopg3 via `psycopg3://`.
  * Ensure double-quotes are escaped properly when introspecting
    constraints.
  * A few documentation-related fixes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=62
2024-11-07 09:08:24 +00:00
7aa634eb75 Accepting request 1219559 from devel:languages:python
- Update license to MIT, that's what the project defines in the
  setup.py

OBS-URL: https://build.opensuse.org/request/show/1219559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=30
2024-10-31 15:09:24 +00:00
821fbbabbd - Update license to MIT, that's what the project defines in the
setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=60
2024-10-30 12:44:05 +00:00
641342f7cf Accepting request 1198059 from devel:languages:python
- update to 3.17.6:
  * Fix bug in recursive `model.delete_instance()` when a table
    contains foreign-keys at multiple depths of the graph
  * Fix regression in pool behavior on systems where
    `time.time()` returns identical values for two connections.
    This adds a no-op comparable sentinel to the heap to prevent
    any recurrence of this problem.
  * Ensure that subqueries inside `CASE` statements generate
    correct SQL.
  * Fix regression that broke server-side cursors with Postgres
  * Fix to ensure compatibility with psycopg3 - the libpq
    TransactionStatus constants are no longer available on the
    `Connection` instance.
  * Fix quoting issue in pwiz that could generate invalid python
    code for double-quoted string literals used as column defaults.

OBS-URL: https://build.opensuse.org/request/show/1198059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=29
2024-09-02 11:14:16 +00:00
61113e0502 - update to 3.17.6:
* Fix bug in recursive `model.delete_instance()` when a table
    contains foreign-keys at multiple depths of the graph
  * Fix regression in pool behavior on systems where
    `time.time()` returns identical values for two connections.
    This adds a no-op comparable sentinel to the heap to prevent
    any recurrence of this problem.
  * Ensure that subqueries inside `CASE` statements generate
    correct SQL.
  * Fix regression that broke server-side cursors with Postgres
  * Fix to ensure compatibility with psycopg3 - the libpq
    TransactionStatus constants are no longer available on the
    `Connection` instance.
  * Fix quoting issue in pwiz that could generate invalid python
    code for double-quoted string literals used as column defaults.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=58
2024-08-31 12:14:03 +00:00
4 changed files with 105 additions and 9 deletions

View File

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

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

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

View File

@@ -1,3 +1,86 @@
-------------------------------------------------------------------
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>
- Update to 3.17.9
* Fix incorrect handling of fk constraint name in migrator.
* Fix test-only issue that can occur in Python 3.14a4.
-------------------------------------------------------------------
Tue Nov 12 19:46:20 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 3.17.8
* Fix regression in behavior of delete_instance() when
traversing nullable foreign-keys. Introduced in 3.17.6.
* Fix bug where joins not cloned when going from
join-less -> joined query.
-------------------------------------------------------------------
Thu Nov 7 09:08:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.17.7:
* Add db_url support for psycopg3 via `psycopg3://`.
* Ensure double-quotes are escaped properly when introspecting
constraints.
* A few documentation-related fixes.
-------------------------------------------------------------------
Wed Oct 30 12:42:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Update license to MIT, that's what the project defines in the
setup.py
-------------------------------------------------------------------
Sat Aug 31 12:12:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.17.6:
* Fix bug in recursive `model.delete_instance()` when a table
contains foreign-keys at multiple depths of the graph
* Fix regression in pool behavior on systems where
`time.time()` returns identical values for two connections.
This adds a no-op comparable sentinel to the heap to prevent
any recurrence of this problem.
* Ensure that subqueries inside `CASE` statements generate
correct SQL.
* Fix regression that broke server-side cursors with Postgres
* Fix to ensure compatibility with psycopg3 - the libpq
TransactionStatus constants are no longer available on the
`Connection` instance.
* Fix quoting issue in pwiz that could generate invalid python
code for double-quoted string literals used as column defaults.
-------------------------------------------------------------------
Thu Jun 6 20:17:28 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-peewee
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -16,19 +16,21 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-peewee
Version: 3.17.5
Version: 3.18.2
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
License: BSD-3-Clause
License: MIT
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
@@ -70,6 +80,9 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%postun
%python_uninstall_alternative pwiz.py
%pre
%python_libalternatives_reset_alternative pwiz.py
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.rst TODO.rst