- 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
* 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
- 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
* 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
@@ -75,10 +76,11 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%pytest_archtests
%post
%python_install_alternativepwiz.py
%python_install_alternativepwiz
%postun
%python_uninstall_alternativepwiz.py
%python_uninstall_alternativepwiz
%pre
%python_libalternatives_reset_alternativepwiz.py
@@ -86,7 +88,7 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%files %{python_files}
%licenseLICENSE
%docCHANGELOG.mdREADME.rstTODO.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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.