SunTechnik, попробовал поставить все LC_ C.UTF-8. по ощущениям мало чем помогло
(lfs chroot) root:/sources/Python-3.13.2# LD_LIBRARY_PATH=/sources/Python-3.13.2 ./python -m test test_float -v
== CPython 3.13.2 (main, May 19 2025, 02:29:15) [GCC 14.2.0]
== Linux-6.12.28-1-MANJARO-x86_64-with-glibc2.41 little-endian
== Python build: release shared
== cwd: /sources/Python-3.13.2/build/test_python_worker_1835778æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources: all test resources are disabled, use -u option to unskip tests
Using random seed: 2397380142
0:00:00 load avg: 3.87 Run 1 test sequentially in a single process
0:00:00 load avg: 3.87 [1/1] test_float
test_getformat (test.test_float.FormatFunctionsTestCase.test_getformat) ... ok
test_format (test.test_float.FormatTestCase.test_format) ... ok
test_format_testfile (test.test_float.FormatTestCase.test_format_testfile) ... ok
test_issue35560 (test.test_float.FormatTestCase.test_issue35560) ... ok
test_issue5864 (test.test_float.FormatTestCase.test_issue5864) ... ok
test_error_message (test.test_float.GeneralFloatCases.test_error_message) ... ok
test_float (test.test_float.GeneralFloatCases.test_float) ... ok
test_float_ceil (test.test_float.GeneralFloatCases.test_float_ceil) ... ok
test_float_containment (test.test_float.GeneralFloatCases.test_float_containment) ... ok
test_float_floor (test.test_float.GeneralFloatCases.test_float_floor) ... ok
test_float_memoryview (test.test_float.GeneralFloatCases.test_float_memoryview) ... ok
test_float_mod (test.test_float.GeneralFloatCases.test_float_mod) ... ok
test_float_pow (test.test_float.GeneralFloatCases.test_float_pow) ... ok
test_float_with_comma (test.test_float.GeneralFloatCases.test_float_with_comma) ... ERROR
test_floatasratio (test.test_float.GeneralFloatCases.test_floatasratio) ... ok
test_floatconversion (test.test_float.GeneralFloatCases.test_floatconversion) ... ok
test_hash (test.test_float.GeneralFloatCases.test_hash) ... ok
test_hash_nan (test.test_float.GeneralFloatCases.test_hash_nan) ... ok
test_is_integer (test.test_float.GeneralFloatCases.test_is_integer) ... ok
test_keyword_args (test.test_float.GeneralFloatCases.test_keyword_args) ... ok
test_keywords_in_subclass (test.test_float.GeneralFloatCases.test_keywords_in_subclass) ... ok
test_noargs (test.test_float.GeneralFloatCases.test_noargs) ... ok
test_non_numeric_input_types (test.test_float.GeneralFloatCases.test_non_numeric_input_types) ... ok
test_underscores (test.test_float.GeneralFloatCases.test_underscores) ... ok
test_ends (test.test_float.HexFloatTestCase.test_ends) ... ok
test_from_hex (test.test_float.HexFloatTestCase.test_from_hex) ... ok
test_invalid_inputs (test.test_float.HexFloatTestCase.test_invalid_inputs) ... ok
test_roundtrip (test.test_float.HexFloatTestCase.test_roundtrip) ... ok
test_subclass (test.test_float.HexFloatTestCase.test_subclass) ... ok
test_whitespace (test.test_float.HexFloatTestCase.test_whitespace) ... ok
test_double_specials_do_unpack (test.test_float.IEEEFormatTestCase.test_double_specials_do_unpack) ... ok
test_float_specials_do_unpack (test.test_float.IEEEFormatTestCase.test_float_specials_do_unpack) ... ok
test_serialized_float_rounding (test.test_float.IEEEFormatTestCase.test_serialized_float_rounding) ... ok
test_inf_as_str (test.test_float.InfNanTest.test_inf_as_str) ... ok
test_inf_from_str (test.test_float.InfNanTest.test_inf_from_str) ... ok
test_inf_signs (test.test_float.InfNanTest.test_inf_signs) ... ok
test_nan_as_str (test.test_float.InfNanTest.test_nan_as_str) ... ok
test_nan_from_str (test.test_float.InfNanTest.test_nan_from_str) ... ok
test_nan_signs (test.test_float.InfNanTest.test_nan_signs) ... ok
test_repr (test.test_float.ReprTestCase.test_repr) ... ok
test_short_repr (test.test_float.ReprTestCase.test_short_repr) ... ok
test_None_ndigits (test.test_float.RoundTestCase.test_None_ndigits) ... ok
test_format_specials (test.test_float.RoundTestCase.test_format_specials) ... ok
test_inf_nan (test.test_float.RoundTestCase.test_inf_nan) ... ok
test_inf_nan_ndigits (test.test_float.RoundTestCase.test_inf_nan_ndigits) ... ok
test_large_n (test.test_float.RoundTestCase.test_large_n) ... ok
test_matches_float_format (test.test_float.RoundTestCase.test_matches_float_format) ... ok
test_overflow (test.test_float.RoundTestCase.test_overflow) ... ok
test_previous_round_bugs (test.test_float.RoundTestCase.test_previous_round_bugs) ... ok
test_small_n (test.test_float.RoundTestCase.test_small_n) ... ok
======================================================================
ERROR: test_float_with_comma (test.test_float.GeneralFloatCases.test_float_with_comma)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sources/Python-3.13.2/Lib/contextlib.py", line 85, in inner
return func(*args, **kwds)
File "/sources/Python-3.13.2/Lib/test/test_float.py", line 162, in test_float_with_comma
if not locale.localeconv()['decimal_point'] == ',':
~~~~~~~~~~~~~~~~~^^
File "/sources/Python-3.13.2/Lib/locale.py", line 110, in localeconv
d = _localeconv()
UnicodeDecodeError: 'locale' codec can't decode byte 0xa0 in position 0: decoding error
----------------------------------------------------------------------
Ran 50 tests in 0.215s
FAILED (errors=1)
test test_float failed
test_float failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_float
Total duration: 289 ms
Total tests: run=50
Total test files: run=1/1 failed=1
Result: FAILURE
CityCat4, спасибо, но в итоге проблема оказалась не в этом, а в libiconv. Я, походу, плохо поставил какую-то из утилит раньше Zerg89, спасибо, да, проблема была в этом