openwrt / openwrt/packages

python3: FAIL: test_highly_nested_objects_decoding (test.test_json.test_recursion.TestCRecursion.test_highly_nested_objects_decoding)

Open
#29,257 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Package Name

python3

Maintainer

@commodo

OpenWrt Version

SNAPSHOT

OpenWrt Target/Subtarget

x86/64

Steps to Reproduce
  1. try to build image with CONFIG_PACKAGE_python3=y in .config
Actual Behaviour

Package doesn't build due to failing test:

FAIL: test_highly_nested_objects_decoding (test.test_json.test_recursion.TestCRecursion.test_highly_nested_objects_decoding)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/stijn/Development/OpenWrt/openwrt/build_dir/hostpkg/Python-3.14.4/Lib/test/test_json/test_recursion.py", line 84, in test_highly_nested_objects_decoding
    with self.assertRaises(RecursionError):
         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
AssertionError: RecursionError not raised

Confirmation Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the python3 package build configuration and the failing upstream test at Lib/test/test_json/test_recursion.py:84. Reproduce the failure with CONFIG_PACKAGE_python3=y on OpenWrt x86/64, then determine why the expected RecursionError is absent in the package build. Done means the python3 package builds successfully and this test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.