Source: python-orjson
Version: 3.10.7-1
Severity: serious
Tags: ftbfs
Justification: FTBFS

Hello,

python-orjson currently FTBFS in sid, it spits a long series of e.g.

_____________________ TestDictSortKeys.test_twitter_sorted _____________________

self = <test.test_sort_keys.TestDictSortKeys object at 0x7f321279ae70>

    def test_twitter_sorted(self):
        """
        twitter.json sorted
        """
>       obj = read_fixture_obj("twitter.json.xz")

test/test_sort_keys.py:14:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/util.py:37: in read_fixture_obj
    OBJ_CACHE[filename] = orjson.loads(read_fixture_str(filename))
test/util.py:31: in read_fixture_str
    STR_CACHE[filename] = read_fixture_bytes(filename, subdir).decode("utf-8")
test/util.py:23: in read_fixture_bytes
    contents = lzma.decompress(path.read_bytes())
/usr/lib/python3.12/pathlib.py:1021: in read_bytes
    with self.open(mode='rb') as f:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = 
PosixPath('/build/python-orjson-3.10.7/.pybuild/cpython3_3.12_orjson/build/test/../data/twitter.json.xz')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed to by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: 
'/build/python-orjson-3.10.7/.pybuild/cpython3_3.12_orjson/build/test/../data/twitter.json.xz'

/usr/lib/python3.12/pathlib.py:1015: FileNotFoundError

Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.11.5-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Samuel
<xterm> The problem with America is stupidity. I'm not saying there should be a 
capital punishment for stupidity, but why don't we just take the safety labels 
off of everything and let the problem solve itself?

Reply via email to