Package Details: python-sip4 4.19.25-7

Git Clone URL: https://aur.archlinux.org/sip4.git (read-only, click to copy)
Package Base: sip4
Description: Python SIP4 bindings for C and C++ libraries
Upstream URL: https://www.riverbankcomputing.com/software/sip/intro
Licenses: LicenseRef-sip
Provides: python-sip4
Replaces: python-sip4
Submitter: arojas
Maintainer: daizhirui
Last Packager: daizhirui
Votes: 5
Popularity: 0.014244
First Submitted: 2022-09-01 20:08 (UTC)
Last Updated: 2024-04-28 17:59 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

LikeSmith commented on 2023-05-05 16:22 (UTC)

@angeldalzotto This appears to be due to a change in Python3.11 APIs (see the notes here that specify, "The Python frame object is now created lazily. A side effect is that the f_back member must not be accessed directly, since its value is now also computed lazily.") This issue can be fixed by replacing the line in question with frame = PyFrame_GetBack(frame);

angelodalzotto commented on 2023-05-03 22:58 (UTC)

I can't build due to

sip4/src/sip-4.19.25/siplib/siplib.c:13750:22: error: invalid use of undefined type ‘struct _frame’
13750 |         frame = frame->f_back;
      |                      ^~
In file included from /usr/include/python3.11/bytesobject.h:10,
                 from /usr/include/python3.11/Python.h:50:

oi_wtf commented on 2023-01-20 10:12 (UTC)

Or at least conflict with sip 6, so sip 6 and 4 don't get installed at the same time accidentally?

It was pretty hard to get to the root of the problem from the sip-build error messages, which just have a weird Iteration error.

Traceback (most recent call last):
  File "/usr/bin/sip-build", line 33, in <module>
    sys.exit(load_entry_point('sip==6.7.5', 'console_scripts', 'sip-build')())
  File "/usr/bin/sip-build", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration

(I paste it here, in hope that maybe others will find this more easily than I did)

sl1pkn07 commented on 2022-12-05 06:28 (UTC)

Hi

i hit this bug when have sip 6.x and this package

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976983

└───╼  python
Python 3.10.8 (main, Nov  1 2022, 14:18:21) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from importlib.metadata import distribution
>>> distribution('sip')._path
PosixPath('/usr/lib/python3.10/site-packages/sip-4.19.25.dist-info')
>>> distribution('sip')._path
PosixPath('/usr/lib/python3.10/site-packages/sip-6.7.5-py3.10.egg-info')
>>> 

can you do like do here https://salsa.debian.org/python-team/packages/sip4/-/commit/81672e94665b3554e333866ef323078cd29c5f28 in this package?

greetings