- 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
This commit is contained in:
@@ -1,3 +1,57 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user