Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
76c12ff77a |
BIN
peewee-3.16.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
peewee-3.16.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
peewee-3.17.6.tar.gz
(Stored with Git LFS)
BIN
peewee-3.17.6.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,99 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
|
||||||
|
|
||||||
- update to 3.17.5:
|
|
||||||
* Fixes package installation issue on 3.12 and newer introduced
|
|
||||||
in the last version.
|
|
||||||
- update to 3.17.4:
|
|
||||||
* Fix bug that could occur when using CASE inside a function,
|
|
||||||
and one or more of the CASE clauses consisted of a subquery.
|
|
||||||
Refs #2873. new fix in #2872 for regression in truthiness of
|
|
||||||
cursor.
|
|
||||||
* Fix bug in the conversion of TIMESTAMP type in Sqlite on
|
|
||||||
Python 3.12+.
|
|
||||||
* Fix for hybrid properties on subclasses when aliased (#2888).
|
|
||||||
* Many fixes for SqliteQueueDatabase (#2874, #2876, #2877).
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu May 2 16:33:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.17.3:
|
|
||||||
* Better fix for #2871 (extraneous queries when coercing query
|
|
||||||
to list), and new fix in #2872 for regression in truthiness
|
|
||||||
of cursor.
|
|
||||||
* Full support for `psycopg3`.
|
|
||||||
* Basic support for Sqlite `jsonb`.
|
|
||||||
* Fix bug where calling `list(query)` resulted in extra
|
|
||||||
queries, #2871
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Feb 12 02:57:29 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Update to 3.17.1:
|
|
||||||
* Add bitwise and other helper methods to `BigBitField`, #2802.
|
|
||||||
* Add `add_column_default` and `drop_column_default` migrator methods for
|
|
||||||
specifying a server-side default value, #2803.
|
|
||||||
* The new `star` attribute was causing issues for users who had a field named
|
|
||||||
star on their models. This attribute is now renamed to `__star__`. #2796.
|
|
||||||
* Fix compatibility issues with 3.12 related to utcnow() deprecation.
|
|
||||||
* Add stricter locking on connection pool to prevent race conditions.
|
|
||||||
* Add adapters and converters to Sqlite to replace ones deprecated in 3.12.
|
|
||||||
* Fix bug in `model_to_dict()` when only aliases are present.
|
|
||||||
* Fix version check for Sqlite native drop column support.
|
|
||||||
* Do not specify a `reconnect=` argument to `ping()` if using MySQL 8.x.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jan 9 15:18:54 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
|
||||||
|
|
||||||
- Remove unneeded BuildRequires PyMySQL and psycopg2. I checked
|
|
||||||
that the number of tests that are run are the same.
|
|
||||||
- Fix shebangs and other rpmlint errors/warnings
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Nov 7 14:21:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.17.0:
|
|
||||||
* Only roll-back in the outermost `@db.transaction`
|
|
||||||
decorator/ctx manager if an unhandled exception occurs.
|
|
||||||
* Cover transaction `BEGIN` in the reconnect-mixin. Given that
|
|
||||||
no transaction has been started, reconnecting when beginning
|
|
||||||
a new transaction ensures that a reconnect will occur if it
|
|
||||||
is safe to do so.
|
|
||||||
* Add support for setting `isolation_level` in `db.atomic()`
|
|
||||||
and `db.transaction()` when using Postgres and MySQL/MariaDB,
|
|
||||||
which will apply to the wrapped transaction.
|
|
||||||
* Add support for the Sqlite `SQLITE_DETERMINISTIC` function
|
|
||||||
flag. This allows user-defined Sqlite functions to be used
|
|
||||||
in indexes and may be used by the query planner.
|
|
||||||
* Fix unreported bug in dataset import when inferred field name
|
|
||||||
differs from column name.
|
|
||||||
- disable apsw from tests for sle15 - can't be build anymore
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 16 14:40:36 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Wed Aug 16 14:40:36 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-peewee
|
# spec file for package python-peewee
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -18,19 +18,19 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-peewee
|
Name: python-peewee
|
||||||
Version: 3.17.6
|
Version: 3.16.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An expressive ORM that supports multiple SQL backends
|
Summary: An expressive ORM that supports multiple SQL backends
|
||||||
License: MIT
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/coleifer/peewee
|
URL: https://github.com/coleifer/peewee
|
||||||
Source: https://github.com/coleifer/peewee/archive/refs/tags/%{version}.tar.gz#/peewee-%{version}.tar.gz
|
Source: https://github.com/coleifer/peewee/archive/refs/tags/%{version}.tar.gz#/peewee-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module Flask}
|
BuildRequires: %{python_module Flask}
|
||||||
%if 0%{?suse_version} > 1500
|
BuildRequires: %{python_module PyMySQL}
|
||||||
BuildRequires: %{python_module apsw}
|
BuildRequires: %{python_module apsw}
|
||||||
%endif
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module psycopg2}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{pythons}
|
BuildRequires: %{pythons}
|
||||||
@@ -55,11 +55,7 @@ An expressive ORM that supports PostgreSQL, MySQL and SQLite.
|
|||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pwiz.py
|
%python_clone -a %{buildroot}%{_bindir}/pwiz.py
|
||||||
%{python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
# Remove shebang from non-executable files
|
|
||||||
sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.py
|
|
||||||
}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest_arch tests
|
%pytest_arch tests
|
||||||
@@ -73,12 +69,8 @@ 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
|
||||||
|
%{_bindir}/pwiz.py-%{python_bin_suffix}
|
||||||
%python_alternative %{_bindir}/pwiz.py
|
%python_alternative %{_bindir}/pwiz.py
|
||||||
%{python_sitearch}/peewee-%{version}.dist-info
|
%{python_sitearch}/*
|
||||||
%{python_sitearch}/peewee.py
|
|
||||||
%{python_sitearch}/pwiz.py
|
|
||||||
%{python_sitearch}/playhouse
|
|
||||||
%pycache_only %{python_sitearch}/__pycache__/peewee.*.pyc
|
|
||||||
%pycache_only %{python_sitearch}/__pycache__/pwiz.*.pyc
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user