Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-psycopg-c for openSUSE:Factory checked in at 2024-01-15 22:15:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-psycopg-c (Old) and /work/SRC/openSUSE:Factory/.python-psycopg-c.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-psycopg-c" Mon Jan 15 22:15:37 2024 rev:4 rq:1138870 version:3.1.17 Changes: -------- --- /work/SRC/openSUSE:Factory/python-psycopg-c/python-psycopg-c.changes 2023-12-15 21:48:35.441033421 +0100 +++ /work/SRC/openSUSE:Factory/.python-psycopg-c.new.21961/python-psycopg-c.changes 2024-01-15 22:16:58.097868328 +0100 @@ -1,0 +2,17 @@ +Mon Jan 15 13:03:50 UTC 2024 - Antonio Larrosa <alarr...@suse.com> + +- Use %sle15_python_module_pythons + +------------------------------------------------------------------- +Sun Jan 7 19:17:40 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 3.1.17: + * add missing enum entries + +------------------------------------------------------------------- +Fri Jan 5 17:49:03 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 3.1.16: + * version only update + +------------------------------------------------------------------- Old: ---- psycopg-c-3.1.15.tar.gz New: ---- psycopg-c-3.1.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-psycopg-c.spec ++++++ --- /var/tmp/diff_new_pack.JqA5so/_old 2024-01-15 22:16:58.541884550 +0100 +++ /var/tmp/diff_new_pack.JqA5so/_new 2024-01-15 22:16:58.545884697 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-psycopg-c # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,10 @@ # +%{?sle15_python_module_pythons} Name: python-psycopg-c # This needs to upgraded in lockstep with python-psycopg -Version: 3.1.15 +Version: 3.1.17 Release: 0 Summary: PostgreSQL database adapter for Python -- C optimisation distribution License: LGPL-3.0-only ++++++ psycopg-c-3.1.15.tar.gz -> psycopg-c-3.1.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psycopg-c-3.1.15/PKG-INFO new/psycopg-c-3.1.17/PKG-INFO --- old/psycopg-c-3.1.15/PKG-INFO 2023-12-14 05:16:16.652019700 +0100 +++ new/psycopg-c-3.1.17/PKG-INFO 2024-01-07 12:55:35.694168800 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: psycopg-c -Version: 3.1.15 +Version: 3.1.17 Summary: PostgreSQL database adapter for Python -- C optimisation distribution Home-page: https://psycopg.org/psycopg3/ Author: Daniele Varrazzo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psycopg-c-3.1.15/psycopg_c/_psycopg.c new/psycopg-c-3.1.17/psycopg_c/_psycopg.c --- old/psycopg-c-3.1.15/psycopg_c/_psycopg.c 2023-12-14 05:16:16.000000000 +0100 +++ new/psycopg-c-3.1.17/psycopg_c/_psycopg.c 2024-01-07 12:55:35.000000000 +0100 @@ -1,4 +1,4 @@ -/* Generated by Cython 3.0.6 */ +/* Generated by Cython 3.0.7 */ /* BEGIN: Cython Metadata { @@ -67,10 +67,10 @@ #else #define __PYX_EXTRA_ABI_MODULE_NAME "" #endif -#define CYTHON_ABI "3_0_6" __PYX_EXTRA_ABI_MODULE_NAME +#define CYTHON_ABI "3_0_7" __PYX_EXTRA_ABI_MODULE_NAME #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "." -#define CYTHON_HEX_VERSION 0x030006F0 +#define CYTHON_HEX_VERSION 0x030007F0 #define CYTHON_FUTURE_DIVISION 1 #include <stddef.h> #ifndef offsetof @@ -6196,22 +6196,22 @@ #endif /* TypeImport.proto */ -#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_6 -#define __PYX_HAVE_RT_ImportType_proto_3_0_6 +#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_7 +#define __PYX_HAVE_RT_ImportType_proto_3_0_7 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L #include <stdalign.h> #endif #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L -#define __PYX_GET_STRUCT_ALIGNMENT_3_0_6(s) alignof(s) +#define __PYX_GET_STRUCT_ALIGNMENT_3_0_7(s) alignof(s) #else -#define __PYX_GET_STRUCT_ALIGNMENT_3_0_6(s) sizeof(void*) +#define __PYX_GET_STRUCT_ALIGNMENT_3_0_7(s) sizeof(void*) #endif -enum __Pyx_ImportType_CheckSize_3_0_6 { - __Pyx_ImportType_CheckSize_Error_3_0_6 = 0, - __Pyx_ImportType_CheckSize_Warn_3_0_6 = 1, - __Pyx_ImportType_CheckSize_Ignore_3_0_6 = 2 +enum __Pyx_ImportType_CheckSize_3_0_7 { + __Pyx_ImportType_CheckSize_Error_3_0_7 = 0, + __Pyx_ImportType_CheckSize_Warn_3_0_7 = 1, + __Pyx_ImportType_CheckSize_Ignore_3_0_7 = 2 }; -static PyTypeObject *__Pyx_ImportType_3_0_6(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_6 check_size); +static PyTypeObject *__Pyx_ImportType_3_0_7(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_7 check_size); #endif /* ImportDottedModule.proto */ @@ -6327,7 +6327,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer); /* FunctionImport.proto */ -static int __Pyx_ImportFunction_3_0_6(PyObject *module, const char *funcname, void (**f)(void), const char *sig); +static int __Pyx_ImportFunction_3_0_7(PyObject *module, const char *funcname, void (**f)(void), const char *sig); /* InitStrings.proto */ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); @@ -84298,46 +84298,46 @@ /*--- Type import code ---*/ __pyx_t_1 = PyImport_ImportModule("psycopg_c.pq"); if (unlikely(!__pyx_t_1)) __PYX_ERR(14, 20, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_ptype_9psycopg_c_2pq_PGconn = __Pyx_ImportType_3_0_6(__pyx_t_1, "psycopg_c.pq", "PGconn", sizeof(struct __pyx_obj_9psycopg_c_2pq_PGconn), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(struct __pyx_obj_9psycopg_c_2pq_PGconn),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_9psycopg_c_2pq_PGconn) __PYX_ERR(14, 20, __pyx_L1_error) + __pyx_ptype_9psycopg_c_2pq_PGconn = __Pyx_ImportType_3_0_7(__pyx_t_1, "psycopg_c.pq", "PGconn", sizeof(struct __pyx_obj_9psycopg_c_2pq_PGconn), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(struct __pyx_obj_9psycopg_c_2pq_PGconn),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_9psycopg_c_2pq_PGconn) __PYX_ERR(14, 20, __pyx_L1_error) __pyx_vtabptr_9psycopg_c_2pq_PGconn = (struct __pyx_vtabstruct_9psycopg_c_2pq_PGconn*)__Pyx_GetVtable(__pyx_ptype_9psycopg_c_2pq_PGconn); if (unlikely(!__pyx_vtabptr_9psycopg_c_2pq_PGconn)) __PYX_ERR(14, 20, __pyx_L1_error) - __pyx_ptype_9psycopg_c_2pq_PGresult = __Pyx_ImportType_3_0_6(__pyx_t_1, "psycopg_c.pq", "PGresult", sizeof(struct __pyx_obj_9psycopg_c_2pq_PGresult), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(struct __pyx_obj_9psycopg_c_2pq_PGresult),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_9psycopg_c_2pq_PGresult) __PYX_ERR(14, 34, __pyx_L1_error) + __pyx_ptype_9psycopg_c_2pq_PGresult = __Pyx_ImportType_3_0_7(__pyx_t_1, "psycopg_c.pq", "PGresult", sizeof(struct __pyx_obj_9psycopg_c_2pq_PGresult), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(struct __pyx_obj_9psycopg_c_2pq_PGresult),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_9psycopg_c_2pq_PGresult) __PYX_ERR(14, 34, __pyx_L1_error) __pyx_vtabptr_9psycopg_c_2pq_PGresult = (struct __pyx_vtabstruct_9psycopg_c_2pq_PGresult*)__Pyx_GetVtable(__pyx_ptype_9psycopg_c_2pq_PGresult); if (unlikely(!__pyx_vtabptr_9psycopg_c_2pq_PGresult)) __PYX_ERR(14, 34, __pyx_L1_error) - __pyx_ptype_9psycopg_c_2pq_PGcancel = __Pyx_ImportType_3_0_6(__pyx_t_1, "psycopg_c.pq", "PGcancel", sizeof(struct __pyx_obj_9psycopg_c_2pq_PGcancel), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(struct __pyx_obj_9psycopg_c_2pq_PGcancel),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_9psycopg_c_2pq_PGcancel) __PYX_ERR(14, 41, __pyx_L1_error) + __pyx_ptype_9psycopg_c_2pq_PGcancel = __Pyx_ImportType_3_0_7(__pyx_t_1, "psycopg_c.pq", "PGcancel", sizeof(struct __pyx_obj_9psycopg_c_2pq_PGcancel), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(struct __pyx_obj_9psycopg_c_2pq_PGcancel),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_9psycopg_c_2pq_PGcancel) __PYX_ERR(14, 41, __pyx_L1_error) __pyx_vtabptr_9psycopg_c_2pq_PGcancel = (struct __pyx_vtabstruct_9psycopg_c_2pq_PGcancel*)__Pyx_GetVtable(__pyx_ptype_9psycopg_c_2pq_PGcancel); if (unlikely(!__pyx_vtabptr_9psycopg_c_2pq_PGcancel)) __PYX_ERR(14, 41, __pyx_L1_error) - __pyx_ptype_9psycopg_c_2pq_Escaping = __Pyx_ImportType_3_0_6(__pyx_t_1, "psycopg_c.pq", "Escaping", sizeof(struct __pyx_obj_9psycopg_c_2pq_Escaping), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(struct __pyx_obj_9psycopg_c_2pq_Escaping),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_9psycopg_c_2pq_Escaping) __PYX_ERR(14, 48, __pyx_L1_error) + __pyx_ptype_9psycopg_c_2pq_Escaping = __Pyx_ImportType_3_0_7(__pyx_t_1, "psycopg_c.pq", "Escaping", sizeof(struct __pyx_obj_9psycopg_c_2pq_Escaping), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(struct __pyx_obj_9psycopg_c_2pq_Escaping),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_9psycopg_c_2pq_Escaping) __PYX_ERR(14, 48, __pyx_L1_error) __pyx_vtabptr_9psycopg_c_2pq_Escaping = (struct __pyx_vtabstruct_9psycopg_c_2pq_Escaping*)__Pyx_GetVtable(__pyx_ptype_9psycopg_c_2pq_Escaping); if (unlikely(!__pyx_vtabptr_9psycopg_c_2pq_Escaping)) __PYX_ERR(14, 48, __pyx_L1_error) - __pyx_ptype_9psycopg_c_2pq_PQBuffer = __Pyx_ImportType_3_0_6(__pyx_t_1, "psycopg_c.pq", "PQBuffer", sizeof(struct __pyx_obj_9psycopg_c_2pq_PQBuffer), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(struct __pyx_obj_9psycopg_c_2pq_PQBuffer),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_9psycopg_c_2pq_PQBuffer) __PYX_ERR(14, 58, __pyx_L1_error) + __pyx_ptype_9psycopg_c_2pq_PQBuffer = __Pyx_ImportType_3_0_7(__pyx_t_1, "psycopg_c.pq", "PQBuffer", sizeof(struct __pyx_obj_9psycopg_c_2pq_PQBuffer), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(struct __pyx_obj_9psycopg_c_2pq_PQBuffer),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_9psycopg_c_2pq_PQBuffer) __PYX_ERR(14, 58, __pyx_L1_error) __pyx_vtabptr_9psycopg_c_2pq_PQBuffer = (struct __pyx_vtabstruct_9psycopg_c_2pq_PQBuffer*)__Pyx_GetVtable(__pyx_ptype_9psycopg_c_2pq_PQBuffer); if (unlikely(!__pyx_vtabptr_9psycopg_c_2pq_PQBuffer)) __PYX_ERR(14, 58, __pyx_L1_error) - __pyx_ptype_9psycopg_c_2pq_ViewBuffer = __Pyx_ImportType_3_0_6(__pyx_t_1, "psycopg_c.pq", "ViewBuffer", sizeof(struct __pyx_obj_9psycopg_c_2pq_ViewBuffer), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(struct __pyx_obj_9psycopg_c_2pq_ViewBuffer),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_9psycopg_c_2pq_ViewBuffer) __PYX_ERR(14, 66, __pyx_L1_error) + __pyx_ptype_9psycopg_c_2pq_ViewBuffer = __Pyx_ImportType_3_0_7(__pyx_t_1, "psycopg_c.pq", "ViewBuffer", sizeof(struct __pyx_obj_9psycopg_c_2pq_ViewBuffer), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(struct __pyx_obj_9psycopg_c_2pq_ViewBuffer),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_9psycopg_c_2pq_ViewBuffer) __PYX_ERR(14, 66, __pyx_L1_error) __pyx_vtabptr_9psycopg_c_2pq_ViewBuffer = (struct __pyx_vtabstruct_9psycopg_c_2pq_ViewBuffer*)__Pyx_GetVtable(__pyx_ptype_9psycopg_c_2pq_ViewBuffer); if (unlikely(!__pyx_vtabptr_9psycopg_c_2pq_ViewBuffer)) __PYX_ERR(14, 66, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(15, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_6(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type", + __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_7(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type", #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000 - sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyTypeObject), + sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyTypeObject), #elif CYTHON_COMPILING_IN_LIMITED_API - sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyTypeObject), + sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyTypeObject), #else - sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyHeapTypeObject), + sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyHeapTypeObject), #endif - __Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(15, 9, __pyx_L1_error) + __Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(15, 9, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(16, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_ptype_7cpython_4bool_bool = __Pyx_ImportType_3_0_6(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "bool", sizeof(PyBoolObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyBoolObject),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_4bool_bool) __PYX_ERR(16, 8, __pyx_L1_error) + __pyx_ptype_7cpython_4bool_bool = __Pyx_ImportType_3_0_7(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "bool", sizeof(PyBoolObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyBoolObject),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_4bool_bool) __PYX_ERR(16, 8, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(17, 15, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_ptype_7cpython_7complex_complex = __Pyx_ImportType_3_0_6(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "complex", sizeof(PyComplexObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyComplexObject),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_7complex_complex) __PYX_ERR(17, 15, __pyx_L1_error) + __pyx_ptype_7cpython_7complex_complex = __Pyx_ImportType_3_0_7(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "complex", sizeof(PyComplexObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyComplexObject),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_7complex_complex) __PYX_ERR(17, 15, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = PyImport_ImportModule("datetime"); if (unlikely(!__pyx_t_1)) __PYX_ERR(8, 70, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_ptype_7cpython_8datetime_date = __Pyx_ImportType_3_0_6(__pyx_t_1, "datetime", "date", sizeof(PyDateTime_Date), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyDateTime_Date),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_8datetime_date) __PYX_ERR(8, 70, __pyx_L1_error) - __pyx_ptype_7cpython_8datetime_time = __Pyx_ImportType_3_0_6(__pyx_t_1, "datetime", "time", sizeof(PyDateTime_Time), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyDateTime_Time),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_8datetime_time) __PYX_ERR(8, 83, __pyx_L1_error) - __pyx_ptype_7cpython_8datetime_datetime = __Pyx_ImportType_3_0_6(__pyx_t_1, "datetime", "datetime", sizeof(PyDateTime_DateTime), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyDateTime_DateTime),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_8datetime_datetime) __PYX_ERR(8, 109, __pyx_L1_error) - __pyx_ptype_7cpython_8datetime_timedelta = __Pyx_ImportType_3_0_6(__pyx_t_1, "datetime", "timedelta", sizeof(PyDateTime_Delta), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyDateTime_Delta),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_8datetime_timedelta) __PYX_ERR(8, 147, __pyx_L1_error) - __pyx_ptype_7cpython_8datetime_tzinfo = __Pyx_ImportType_3_0_6(__pyx_t_1, "datetime", "tzinfo", sizeof(PyDateTime_TZInfo), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyDateTime_TZInfo),__Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_8datetime_tzinfo) __PYX_ERR(8, 160, __pyx_L1_error) + __pyx_ptype_7cpython_8datetime_date = __Pyx_ImportType_3_0_7(__pyx_t_1, "datetime", "date", sizeof(PyDateTime_Date), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyDateTime_Date),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_8datetime_date) __PYX_ERR(8, 70, __pyx_L1_error) + __pyx_ptype_7cpython_8datetime_time = __Pyx_ImportType_3_0_7(__pyx_t_1, "datetime", "time", sizeof(PyDateTime_Time), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyDateTime_Time),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_8datetime_time) __PYX_ERR(8, 83, __pyx_L1_error) + __pyx_ptype_7cpython_8datetime_datetime = __Pyx_ImportType_3_0_7(__pyx_t_1, "datetime", "datetime", sizeof(PyDateTime_DateTime), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyDateTime_DateTime),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_8datetime_datetime) __PYX_ERR(8, 109, __pyx_L1_error) + __pyx_ptype_7cpython_8datetime_timedelta = __Pyx_ImportType_3_0_7(__pyx_t_1, "datetime", "timedelta", sizeof(PyDateTime_Delta), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyDateTime_Delta),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_8datetime_timedelta) __PYX_ERR(8, 147, __pyx_L1_error) + __pyx_ptype_7cpython_8datetime_tzinfo = __Pyx_ImportType_3_0_7(__pyx_t_1, "datetime", "tzinfo", sizeof(PyDateTime_TZInfo), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyDateTime_TZInfo),__Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_8datetime_tzinfo) __PYX_ERR(8, 160, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_RefNannyFinishContext(); return 0; @@ -84365,7 +84365,7 @@ /*--- Function import code ---*/ __pyx_t_1 = PyImport_ImportModule("psycopg_c.pq"); if (!__pyx_t_1) __PYX_ERR(13, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_ImportFunction_3_0_6(__pyx_t_1, "_buffer_as_string_and_size", (void (**)(void))&__pyx_f_9psycopg_c_2pq__buffer_as_string_and_size, "int (PyObject *, char **, Py_ssize_t *)") < 0) __PYX_ERR(13, 1, __pyx_L1_error) + if (__Pyx_ImportFunction_3_0_7(__pyx_t_1, "_buffer_as_string_and_size", (void (**)(void))&__pyx_f_9psycopg_c_2pq__buffer_as_string_and_size, "int (PyObject *, char **, Py_ssize_t *)") < 0) __PYX_ERR(13, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_RefNannyFinishContext(); return 0; @@ -84570,7 +84570,7 @@ __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(13, 1, __pyx_L1_error) { int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef); - __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to _psycopg pseudovariable */ + __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "_psycopg" pseudovariable */ if (unlikely((add_module_result < 0))) __PYX_ERR(13, 1, __pyx_L1_error) pystate_addmodule_run = 1; } @@ -96754,10 +96754,10 @@ #endif /* TypeImport */ -#ifndef __PYX_HAVE_RT_ImportType_3_0_6 -#define __PYX_HAVE_RT_ImportType_3_0_6 -static PyTypeObject *__Pyx_ImportType_3_0_6(PyObject *module, const char *module_name, const char *class_name, - size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_6 check_size) +#ifndef __PYX_HAVE_RT_ImportType_3_0_7 +#define __PYX_HAVE_RT_ImportType_3_0_7 +static PyTypeObject *__Pyx_ImportType_3_0_7(PyObject *module, const char *module_name, const char *class_name, + size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_7 check_size) { PyObject *result = 0; char warning[200]; @@ -96811,7 +96811,7 @@ module_name, class_name, size, basicsize+itemsize); goto bad; } - if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_6 && + if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_7 && ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) { PyErr_Format(PyExc_ValueError, "%.200s.%.200s size changed, may indicate binary incompatibility. " @@ -96819,7 +96819,7 @@ module_name, class_name, size, basicsize, basicsize+itemsize); goto bad; } - else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_6 && (size_t)basicsize > size) { + else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_7 && (size_t)basicsize > size) { PyOS_snprintf(warning, sizeof(warning), "%s.%s size changed, may indicate binary incompatibility. " "Expected %zd from C header, got %zd from PyObject", @@ -99775,9 +99775,9 @@ } /* FunctionImport */ -#ifndef __PYX_HAVE_RT_ImportFunction_3_0_6 -#define __PYX_HAVE_RT_ImportFunction_3_0_6 -static int __Pyx_ImportFunction_3_0_6(PyObject *module, const char *funcname, void (**f)(void), const char *sig) { +#ifndef __PYX_HAVE_RT_ImportFunction_3_0_7 +#define __PYX_HAVE_RT_ImportFunction_3_0_7 +static int __Pyx_ImportFunction_3_0_7(PyObject *module, const char *funcname, void (**f)(void), const char *sig) { PyObject *d = 0; PyObject *cobj = 0; union { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psycopg-c-3.1.15/psycopg_c/pq/libpq.pxd new/psycopg-c-3.1.17/psycopg_c/pq/libpq.pxd --- old/psycopg-c-3.1.15/psycopg_c/pq/libpq.pxd 2023-12-14 05:16:04.000000000 +0100 +++ new/psycopg-c-3.1.17/psycopg_c/pq/libpq.pxd 2024-01-07 12:55:24.000000000 +0100 @@ -79,8 +79,10 @@ CONNECTION_SSL_STARTUP CONNECTION_NEEDED CONNECTION_CHECK_WRITABLE + CONNECTION_CONSUME CONNECTION_GSS_STARTUP - # CONNECTION_CHECK_TARGET PG 12 + CONNECTION_CHECK_TARGET + CONNECTION_CHECK_STANDBY ctypedef enum PGTransactionStatusType: PQTRANS_IDLE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psycopg-c-3.1.15/psycopg_c/pq.c new/psycopg-c-3.1.17/psycopg_c/pq.c --- old/psycopg-c-3.1.15/psycopg_c/pq.c 2023-12-14 05:16:16.000000000 +0100 +++ new/psycopg-c-3.1.17/psycopg_c/pq.c 2024-01-07 12:55:35.000000000 +0100 @@ -1,4 +1,4 @@ -/* Generated by Cython 3.0.6 */ +/* Generated by Cython 3.0.7 */ /* BEGIN: Cython Metadata { @@ -46,10 +46,10 @@ #else #define __PYX_EXTRA_ABI_MODULE_NAME "" #endif -#define CYTHON_ABI "3_0_6" __PYX_EXTRA_ABI_MODULE_NAME +#define CYTHON_ABI "3_0_7" __PYX_EXTRA_ABI_MODULE_NAME #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "." -#define CYTHON_HEX_VERSION 0x030006F0 +#define CYTHON_HEX_VERSION 0x030007F0 #define CYTHON_FUTURE_DIVISION 1 #include <stddef.h> #ifndef offsetof @@ -2370,22 +2370,22 @@ #endif /* TypeImport.proto */ -#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_6 -#define __PYX_HAVE_RT_ImportType_proto_3_0_6 +#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_7 +#define __PYX_HAVE_RT_ImportType_proto_3_0_7 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L #include <stdalign.h> #endif #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L -#define __PYX_GET_STRUCT_ALIGNMENT_3_0_6(s) alignof(s) +#define __PYX_GET_STRUCT_ALIGNMENT_3_0_7(s) alignof(s) #else -#define __PYX_GET_STRUCT_ALIGNMENT_3_0_6(s) sizeof(void*) +#define __PYX_GET_STRUCT_ALIGNMENT_3_0_7(s) sizeof(void*) #endif -enum __Pyx_ImportType_CheckSize_3_0_6 { - __Pyx_ImportType_CheckSize_Error_3_0_6 = 0, - __Pyx_ImportType_CheckSize_Warn_3_0_6 = 1, - __Pyx_ImportType_CheckSize_Ignore_3_0_6 = 2 +enum __Pyx_ImportType_CheckSize_3_0_7 { + __Pyx_ImportType_CheckSize_Error_3_0_7 = 0, + __Pyx_ImportType_CheckSize_Warn_3_0_7 = 1, + __Pyx_ImportType_CheckSize_Ignore_3_0_7 = 2 }; -static PyTypeObject *__Pyx_ImportType_3_0_6(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_6 check_size); +static PyTypeObject *__Pyx_ImportType_3_0_7(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_7 check_size); #endif /* ImportDottedModule.proto */ @@ -29761,15 +29761,15 @@ /*--- Type import code ---*/ __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(8, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_6(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type", + __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_7(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type", #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000 - sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyTypeObject), + sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyTypeObject), #elif CYTHON_COMPILING_IN_LIMITED_API - sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyTypeObject), + sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyTypeObject), #else - sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_6(PyHeapTypeObject), + sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_7(PyHeapTypeObject), #endif - __Pyx_ImportType_CheckSize_Warn_3_0_6); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(8, 9, __pyx_L1_error) + __Pyx_ImportType_CheckSize_Warn_3_0_7); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(8, 9, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_RefNannyFinishContext(); return 0; @@ -29986,7 +29986,7 @@ __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) { int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef); - __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to pq pseudovariable */ + __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "pq" pseudovariable */ if (unlikely((add_module_result < 0))) __PYX_ERR(2, 1, __pyx_L1_error) pystate_addmodule_run = 1; } @@ -34664,10 +34664,10 @@ #endif /* TypeImport */ -#ifndef __PYX_HAVE_RT_ImportType_3_0_6 -#define __PYX_HAVE_RT_ImportType_3_0_6 -static PyTypeObject *__Pyx_ImportType_3_0_6(PyObject *module, const char *module_name, const char *class_name, - size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_6 check_size) +#ifndef __PYX_HAVE_RT_ImportType_3_0_7 +#define __PYX_HAVE_RT_ImportType_3_0_7 +static PyTypeObject *__Pyx_ImportType_3_0_7(PyObject *module, const char *module_name, const char *class_name, + size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_7 check_size) { PyObject *result = 0; char warning[200]; @@ -34721,7 +34721,7 @@ module_name, class_name, size, basicsize+itemsize); goto bad; } - if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_6 && + if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_7 && ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) { PyErr_Format(PyExc_ValueError, "%.200s.%.200s size changed, may indicate binary incompatibility. " @@ -34729,7 +34729,7 @@ module_name, class_name, size, basicsize, basicsize+itemsize); goto bad; } - else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_6 && (size_t)basicsize > size) { + else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_7 && (size_t)basicsize > size) { PyOS_snprintf(warning, sizeof(warning), "%s.%s size changed, may indicate binary incompatibility. " "Expected %zd from C header, got %zd from PyObject", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psycopg-c-3.1.15/psycopg_c/version.py new/psycopg-c-3.1.17/psycopg_c/version.py --- old/psycopg-c-3.1.15/psycopg_c/version.py 2023-12-14 05:16:04.000000000 +0100 +++ new/psycopg-c-3.1.17/psycopg_c/version.py 2024-01-07 12:55:24.000000000 +0100 @@ -6,6 +6,6 @@ # Use a versioning scheme as defined in # https://www.python.org/dev/peps/pep-0440/ -__version__ = "3.1.15" +__version__ = "3.1.17" # also change psycopg/psycopg/version.py accordingly. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psycopg-c-3.1.15/psycopg_c.egg-info/PKG-INFO new/psycopg-c-3.1.17/psycopg_c.egg-info/PKG-INFO --- old/psycopg-c-3.1.15/psycopg_c.egg-info/PKG-INFO 2023-12-14 05:16:14.000000000 +0100 +++ new/psycopg-c-3.1.17/psycopg_c.egg-info/PKG-INFO 2024-01-07 12:55:33.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: psycopg-c -Version: 3.1.15 +Version: 3.1.17 Summary: PostgreSQL database adapter for Python -- C optimisation distribution Home-page: https://psycopg.org/psycopg3/ Author: Daniele Varrazzo