14
0
forked from pool/python-peewee

19 Commits

Author SHA256 Message Date
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
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
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
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> Thu Aug 21 15:33:41 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-peewee # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -64,7 +64,8 @@ An expressive ORM that supports PostgreSQL, MySQL and SQLite.
%install %install
%pyproject_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} %{python_expand %fdupes %{buildroot}%{$python_sitearch}
# Remove shebang from non-executable files # Remove shebang from non-executable files
@@ -75,10 +76,11 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%pytest_arch tests %pytest_arch tests
%post %post
%python_install_alternative pwiz.py %python_install_alternative pwiz
%postun %postun
%python_uninstall_alternative pwiz.py %python_uninstall_alternative pwiz.py
%python_uninstall_alternative pwiz
%pre %pre
%python_libalternatives_reset_alternative pwiz.py %python_libalternatives_reset_alternative pwiz.py
@@ -86,7 +88,7 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc CHANGELOG.md README.rst TODO.rst %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-%{version}.dist-info
%{python_sitearch}/peewee.py %{python_sitearch}/peewee.py
%{python_sitearch}/pwiz.py %{python_sitearch}/pwiz.py