14
0
forked from pool/python-peewee

10 Commits

Author SHA256 Message Date
d31c333775 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
8e17bddc9e - 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/package/show/devel:languages:python/python-peewee?expand=0&rev=66
2025-02-20 13:20:05 +00:00
de8052922c 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
1916d39f1a - 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/package/show/devel:languages:python/python-peewee?expand=0&rev=64
2024-11-12 21:03:38 +00:00
868c430edb 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
694380c467 - 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
b0e11b5b05 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
5b86e92f72 - 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
ddf90e64fe 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
9e46d3e376 - 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 7 additions and 53 deletions

BIN
peewee-3.17.9.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

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

View File

@@ -1,36 +1,3 @@
-------------------------------------------------------------------
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

@@ -16,14 +16,9 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-peewee
Version: 3.18.2
Version: 3.17.9
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
License: MIT
@@ -31,6 +26,9 @@ 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}
@@ -41,16 +39,8 @@ 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
@@ -80,9 +70,6 @@ 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