Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865785 - dev-python/natsort-8.2.0 fails tests (MUSL)
Summary: dev-python/natsort-8.2.0 fails tests (MUSL)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-19 07:05 UTC by Agostino Sarubbo
Modified: 2022-09-09 07:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,219.57 KB, text/plain)
2022-08-19 07:05 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-08-19 07:05:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/natsort-8.1.0 fails tests (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-19 07:05:43 UTC
Created attachment 800099 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-19 07:05:44 UTC
Error(s) that match a know pattern:


E       AssertionError: assert '12,543,642,642,534,980' == '12543642642534980'
E       AssertionError: assert '12,543,642642.5345,34980' == '12543,642642.5345,34980'
E       AssertionError: assert '12,59443,642,642.53,4534980' == '12,59443,642642.53,4534980'
E       AssertionError: assert '12543,642,642.5,34534980' == '12543,642642.5,34534980'
E       AssertionError: assert '1543,753' == '1543.753'
E       AssertionError: assert ['0', 1.5, '2', 3, 'b', 'Z', 'ä', 'Ä'] == ['0', 1.5, '2', 3, 'ä', 'Ä', 'b', 'Z']
E       AssertionError: assert ['a5,6', 'a5,50', 'a5,467.86', 'a5367.86', 'b', 'c', 'ä'] == ['a5,6', 'a5,50', 'a5367.86', 'a5,467.86', 'ä', 'b', 'c']
E       AssertionError: assert ['a5,6', 'a5,50', 'a5367.86', 'a5.467,86', 'b', 'c', 'ä'] == ['a5,50', 'a5,6', 'a5367.86', 'a5.467,86', 'ä', 'b', 'c']
E       AssertionError: assert ['b', 'Z', 'ä', 'Ä', '0', 1.5, '2', 3] == ['ä', 'Ä', 'b', 'Z', '0', 1.5, '2', 3]
FAILED tests/test_input_string_transform_factory.py::test_input_string_transform_factory_cleans_thousands
FAILED tests/test_input_string_transform_factory.py::test_input_string_transform_factory_handles_german_locale[49-1543.753]
FAILED tests/test_input_string_transform_factory.py::test_input_string_transform_factory_handles_us_locale[12,543,642642.5345,34980-12543,642642.5345,34980]
FAILED tests/test_input_string_transform_factory.py::test_input_string_transform_factory_handles_us_locale[12,59443,642,642.53,4534980-12,59443,642642.53,4534980]
FAILED tests/test_input_string_transform_factory.py::test_input_string_transform_factory_handles_us_locale[12543,642,642.5,34534980-12543,642642.5,34534980]
FAILED tests/test_natsorted.py::test_natsorted_can_sort_locale_specific_numbers_de
FAILED tests/test_natsorted.py::test_natsorted_can_sort_locale_specific_numbers_en
FAILED tests/test_natsorted.py::test_natsorted_handles_mixed_types_with_locale[4104-expected5]
FAILED tests/test_natsorted.py::test_natsorted_handles_mixed_types_with_locale[ns.DEFAULT-expected0]
FAILED tests/test_natsorted.py::test_natsorted_handles_mixed_types_with_locale[ns.NUMAFTER-expected1]
FAILED tests/test_natsorted.py::test_natsorted_handles_mixed_types_with_locale[ns.PATH-expected4]
Comment 3 Agostino Sarubbo gentoo-dev 2022-09-09 07:39:50 UTC
lto_tinderbox has reproduced this issue with version 8.2.0 - Updating summary.