17
0

5 Commits

Author SHA256 Message Date
a0a113a630 Accepting request 1311039 from devel:languages:python
- update to 18.1.15:
  * Warning WARNING - BREAKING CHANGE: Drop support for Python
    3.9. This breaking change should usually require a major
    and/or minor number update. Since berkeleydb traditional
    numbering is related to the higher Oracle Berkeley DB
    supported, I would usually wait until Oracle releases a new
    version to upgrade my own version and deprecate old Python
    support at the same time. Given that Oracle has not released
    a new Oracle Berkeley DB in almost five years, I must break
    this practice for now. I am sorry if this update breaks your
    Python 3.9 environment. In that case, please pin your
    berkeleydb installation to version 18.1.14, the last Python
    3.9 compatible release. Send me constructive feedback if
    appropriate.
  * Python 3.14 is officially supported.
  * Since we have drop Python 3.9:  We can simplify the code: We
    can now freely use PyType_GetModuleState(),
    PyModule_GetState() and PyType_GetModule(). We don't need
    Py_tp_new anymore in PyType_Slot types. We can use
    PyType_FromModuleAndSpec(). Ease use of rmtree and unlink in
    tests.   We can use Py_TPFLAGS_DISALLOW_INSTANTIATION in all
    supported Python versions.
  * We can simplify the code: We can now freely use
    PyType_GetModuleState(), PyModule_GetState() and
    PyType_GetModule(). We don't need Py_tp_new anymore in
    PyType_Slot types. We can use PyType_FromModuleAndSpec().
    Ease use of rmtree and unlink in tests.
  * We can now freely use PyType_GetModuleState(),
    PyModule_GetState() and PyType_GetModule().
  * We don't need Py_tp_new anymore in PyType_Slot types.

OBS-URL: https://build.opensuse.org/request/show/1311039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-berkeleydb?expand=0&rev=6
2025-10-13 13:35:42 +00:00
7ebbe4d43f - update to 18.1.15:
* Warning WARNING - BREAKING CHANGE: Drop support for Python
    3.9. This breaking change should usually require a major
    and/or minor number update. Since berkeleydb traditional
    numbering is related to the higher Oracle Berkeley DB
    supported, I would usually wait until Oracle releases a new
    version to upgrade my own version and deprecate old Python
    support at the same time. Given that Oracle has not released
    a new Oracle Berkeley DB in almost five years, I must break
    this practice for now. I am sorry if this update breaks your
    Python 3.9 environment. In that case, please pin your
    berkeleydb installation to version 18.1.14, the last Python
    3.9 compatible release. Send me constructive feedback if
    appropriate.
  * Python 3.14 is officially supported.
  * Since we have drop Python 3.9:  We can simplify the code: We
    can now freely use PyType_GetModuleState(),
    PyModule_GetState() and PyType_GetModule(). We don't need
    Py_tp_new anymore in PyType_Slot types. We can use
    PyType_FromModuleAndSpec(). Ease use of rmtree and unlink in
    tests.   We can use Py_TPFLAGS_DISALLOW_INSTANTIATION in all
    supported Python versions.
  * We can simplify the code: We can now freely use
    PyType_GetModuleState(), PyModule_GetState() and
    PyType_GetModule(). We don't need Py_tp_new anymore in
    PyType_Slot types. We can use PyType_FromModuleAndSpec().
    Ease use of rmtree and unlink in tests.
  * We can now freely use PyType_GetModuleState(),
    PyModule_GetState() and PyType_GetModule().
  * We don't need Py_tp_new anymore in PyType_Slot types.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-berkeleydb?expand=0&rev=12
2025-10-13 09:15:07 +00:00
4d581e828b Accepting request 1273057 from devel:languages:python
- update to 18.1.14:
  *  Warning WARNING - BREAKING CHANGE: We eliminate dbobj.py. It
    was very outdated and it was only barely useful if you wanted
    to create subclasses of berkeleydb classes.
  * Allow unicode and binary keys when using encryption.
    Previously, only unicode keys were allowed. In both cases,
    null bytes will raise an exception.
  * Correctly display (in the raised exception) the type of the
    parameter when it is not accepted, beside the required type.
    This solves a regression introduced in 18.1.9.
  * Delete stale and outdated entries in the TO DO file.
  * Solve some redefinitions in the dictionary returned by
    DBEnv.lock_stat() and add more entries:  Berkeley DB >= 4.8:
    locksteals, maxhlocks, maxhobjects, maxlsteals, maxosteals,
    objectsteals, part_max_nowait, part_max_wait, part_nowait,
    part_wait, partitions. Berkeley DB >= 5.3: initlocks,
    initlockers, initobjects, lockers, locks, objects, tablesize.
    Berkeley DB >= 6.2: nlockers_hit, nlockers_reused.
  * Berkeley DB >= 4.8: locksteals, maxhlocks, maxhobjects,
    maxlsteals, maxosteals, objectsteals, part_max_nowait,
    part_max_wait, part_nowait, part_wait, partitions.
  * Berkeley DB >= 5.3: initlocks, initlockers, initobjects,
    lockers, locks, objects, tablesize.
  * Berkeley DB >= 6.2: nlockers_hit, nlockers_reused.
  * Add more entries to DBEnv.log_stat() if we are using Berkeley
    DB >= 5.3: fileid_init, maxnfileid, nfileid.
  * nelem value in DB.stat() for hash databases was dropped some
    time ago. Update stale documentation. That value is actually
    available via DB.get_h_nelem().
  * Improve docs explaining the end value in the dictionary

OBS-URL: https://build.opensuse.org/request/show/1273057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-berkeleydb?expand=0&rev=5
2025-04-28 14:17:26 +00:00
0d2d3903c3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-berkeleydb?expand=0&rev=10 2025-04-28 09:24:14 +00:00
3d5ed9bc1e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-berkeleydb?expand=0&rev=9 2025-04-28 09:23:35 +00:00
4 changed files with 128 additions and 6 deletions

View File

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

View File

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

View File

@@ -1,3 +1,125 @@
-------------------------------------------------------------------
Mon Oct 13 09:15:02 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 18.1.15:
* Warning WARNING - BREAKING CHANGE: Drop support for Python
3.9. This breaking change should usually require a major
and/or minor number update. Since berkeleydb traditional
numbering is related to the higher Oracle Berkeley DB
supported, I would usually wait until Oracle releases a new
version to upgrade my own version and deprecate old Python
support at the same time. Given that Oracle has not released
a new Oracle Berkeley DB in almost five years, I must break
this practice for now. I am sorry if this update breaks your
Python 3.9 environment. In that case, please pin your
berkeleydb installation to version 18.1.14, the last Python
3.9 compatible release. Send me constructive feedback if
appropriate.
* Python 3.14 is officially supported.
* Since we have drop Python 3.9: We can simplify the code: We
can now freely use PyType_GetModuleState(),
PyModule_GetState() and PyType_GetModule(). We don't need
Py_tp_new anymore in PyType_Slot types. We can use
PyType_FromModuleAndSpec(). Ease use of rmtree and unlink in
tests. We can use Py_TPFLAGS_DISALLOW_INSTANTIATION in all
supported Python versions.
* We can simplify the code: We can now freely use
PyType_GetModuleState(), PyModule_GetState() and
PyType_GetModule(). We don't need Py_tp_new anymore in
PyType_Slot types. We can use PyType_FromModuleAndSpec().
Ease use of rmtree and unlink in tests.
* We can now freely use PyType_GetModuleState(),
PyModule_GetState() and PyType_GetModule().
* We don't need Py_tp_new anymore in PyType_Slot types.
* We can use PyType_FromModuleAndSpec().
* Ease use of rmtree and unlink in tests.
* We can use Py_TPFLAGS_DISALLOW_INSTANTIATION in all supported
Python versions.
* Now we require setuptools >= 80.9.0, so now the license must
reencoded from License :: OSI Approved :: BSD License to
BSD-3-Clause. They are the same license, no worries, but
expressed in the syntax required by modern setuptools.
* Ugly workaround to be able to compile the bindings with GCC
in pedantic mode.
* Berkeley DB Exceptions are now compatible with Python
subinterpreters. This is a big change, let me know if you
find any problem, incompatibility or crash. This change
increases the bindings C API version.
* If we compile the bindings with mismatched header file and
shared object, a descriptive exception is raised at import
time.
* In some funcions, booleans are now booleans, not integers.
* Do CLOSED checks before argument parsing, to avoid memory
leaks when there are problems.
-------------------------------------------------------------------
Mon Apr 28 09:23:05 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 18.1.14:
* Warning WARNING - BREAKING CHANGE: We eliminate dbobj.py. It
was very outdated and it was only barely useful if you wanted
to create subclasses of berkeleydb classes.
* Allow unicode and binary keys when using encryption.
Previously, only unicode keys were allowed. In both cases,
null bytes will raise an exception.
* Correctly display (in the raised exception) the type of the
parameter when it is not accepted, beside the required type.
This solves a regression introduced in 18.1.9.
* Delete stale and outdated entries in the TO DO file.
* Solve some redefinitions in the dictionary returned by
DBEnv.lock_stat() and add more entries: Berkeley DB >= 4.8:
locksteals, maxhlocks, maxhobjects, maxlsteals, maxosteals,
objectsteals, part_max_nowait, part_max_wait, part_nowait,
part_wait, partitions. Berkeley DB >= 5.3: initlocks,
initlockers, initobjects, lockers, locks, objects, tablesize.
Berkeley DB >= 6.2: nlockers_hit, nlockers_reused.
* Berkeley DB >= 4.8: locksteals, maxhlocks, maxhobjects,
maxlsteals, maxosteals, objectsteals, part_max_nowait,
part_max_wait, part_nowait, part_wait, partitions.
* Berkeley DB >= 5.3: initlocks, initlockers, initobjects,
lockers, locks, objects, tablesize.
* Berkeley DB >= 6.2: nlockers_hit, nlockers_reused.
* Add more entries to DBEnv.log_stat() if we are using Berkeley
DB >= 5.3: fileid_init, maxnfileid, nfileid.
* nelem value in DB.stat() for hash databases was dropped some
time ago. Update stale documentation. That value is actually
available via DB.get_h_nelem().
* Improve docs explaining the end value in the dictionary
returned by DB.compact() and documenting that empty_buckets
is not available when using Berkeley DB 4.8.
* In several stats dictionaries, document that ext_files value
is only available from Berkeley DB 6.2.
* Add more entries to DBEnv.memp_stat(): pagesize.
* Add more entries to DBEnv.memp_stat() if we are using
Berkeley DB >= 5.3: regmax, hash_mutexes, backup_spins.
* Add more entries to DBEnv.memp_stat() if we are using
Berkeley DB >= 6.2: mvcc_reused.
* Add more entries to DBEnv.txn_stat() if we are using Berkeley
DB >= 5.3: inittxns.
* Add more entries to DBEnv.mutex_stat() if we are using
Berkeley DB >= 5.3: mutex_init, mutex_max, regmax.
* Add more entries to DBEnv.repmgr_stat() if we are using
Berkeley DB >= 5.3: elect_threads, max_elect_threads.
* Add more entries to DBEnv.repmgr_stat() if we are using
Berkeley DB >= 6.2: incoming_msgs_dropped,
incoming_queue_bytes, incoming_queue_gbytes,
site_participants, site_total, site_views, takeovers,
write_ops_forwarded, write_ops_received.
* Add more entries to DBEnv.repmgr_stat() if we are using
Berkeley DB >= 18.1: group_stable_log_file, polling_method.
* Add more entries to DBEnv.rep_stat() if we are using Berkeley
DB >= 5.3: election_datagen, lease_chk, lease_chk_misses,
lease_chk_refresh, lease_sends.
* Add more entries to DBEnv.rep_stat() if we are using Berkeley
DB >= 6.2: ext_duplicated, ext_records, ext_rereq,
ext_update_rereq, view.
* In the different stats documentation, add notes about what
versions of Berkeley DB provide the different values.
* Complete documentation about berkeleydb exceptions and what
Berkeley DB releases provide each one.
* Document what functions are available when compiled against
each Berkeley DB release.
-------------------------------------------------------------------
Mon Feb 3 14:02:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
@@ -232,4 +354,4 @@ Wed Oct 9 06:33:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
-------------------------------------------------------------------
Mon Feb 5 03:28:49 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Initial release of 18.1.8
- Initial release of 18.1.8

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-berkeleydb
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-berkeleydb
Version: 18.1.13
Version: 18.1.15
Release: 0
Summary: Python bindings for Oracle Berkeley DB
License: BSD-3-Clause