Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 5.0.12: test suite is installed #618

Open
kloczek opened this issue May 27, 2024 · 5 comments
Open

[BUG] 5.0.12: test suite is installed #618

kloczek opened this issue May 27, 2024 · 5 comments

Comments

@kloczek
Copy link
Contributor

kloczek commented May 27, 2024

Probably easiest way to fix that is just move src/icalendar/tests/ to tests/.
Here is build output

+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
running egg_info
creating src/icalendar.egg-info
writing src/icalendar.egg-info/PKG-INFO
writing dependency_links to src/icalendar.egg-info/dependency_links.txt
writing entry points to src/icalendar.egg-info/entry_points.txt
writing requirements to src/icalendar.egg-info/requires.txt
writing top-level names to src/icalendar.egg-info/top_level.txt
writing manifest file 'src/icalendar.egg-info/SOURCES.txt'
reading manifest file 'src/icalendar.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found under directory 'src/icalendar'
warning: no previously-included files matching '*~' found under directory 'src/icalendar'
adding license file 'LICENSE.rst'
writing manifest file 'src/icalendar.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/icalendar
copying src/icalendar/__init__.py -> build/lib/icalendar
copying src/icalendar/cal.py -> build/lib/icalendar
copying src/icalendar/caselessdict.py -> build/lib/icalendar
copying src/icalendar/cli.py -> build/lib/icalendar
copying src/icalendar/parser.py -> build/lib/icalendar
copying src/icalendar/parser_tools.py -> build/lib/icalendar
copying src/icalendar/prop.py -> build/lib/icalendar
copying src/icalendar/timezone_cache.py -> build/lib/icalendar
copying src/icalendar/tools.py -> build/lib/icalendar
copying src/icalendar/windows_to_olson.py -> build/lib/icalendar
creating build/lib/icalendar/tests                                                                <<<<< === FROM HERE
copying src/icalendar/tests/__init__.py -> build/lib/icalendar/tests
copying src/icalendar/tests/conftest.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_cli_tool.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_components_break_on_bad_ics.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_encoding.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_equality.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_examples.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_icalendar.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_116.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_165_missing_event.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_168_parsing_invalid_calendars_no_warning.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_27_period.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_318_skip_default_parameters.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_322_single_strings_characters_split_into_multiple_categories.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_348_exception_parsing_value.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_500_vboolean_for_parameter.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_issue_557_encode_native_parameters.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_multiple.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_oss_fuzz_errors.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_parsing.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_period.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_property_params.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_recurrence.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_time.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_timezoned.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_unit_cal.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_unit_caselessdict.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_unit_parser_tools.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_unit_prop.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_unit_tools.py -> build/lib/icalendar/tests
copying src/icalendar/tests/test_with_doctest.py -> build/lib/icalendar/tests
creating build/lib/icalendar/tests/fuzzed
copying src/icalendar/tests/fuzzed/__init__.py -> build/lib/icalendar/tests/fuzzed
copying src/icalendar/tests/fuzzed/test_fuzzed_calendars.py -> build/lib/icalendar/tests/fuzzed
creating build/lib/icalendar/tests/hypothesis
copying src/icalendar/tests/hypothesis/test_fuzzing.py -> build/lib/icalendar/tests/hypothesis
running egg_info
writing src/icalendar.egg-info/PKG-INFO
writing dependency_links to src/icalendar.egg-info/dependency_links.txt
writing entry points to src/icalendar.egg-info/entry_points.txt
writing requirements to src/icalendar.egg-info/requires.txt
writing top-level names to src/icalendar.egg-info/top_level.txt
reading manifest file 'src/icalendar.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found under directory 'src/icalendar'
warning: no previously-included files matching '*~' found under directory 'src/icalendar'
adding license file 'LICENSE.rst'
writing manifest file 'src/icalendar.egg-info/SOURCES.txt'
copying src/icalendar/tests/test_create_release.sh -> build/lib/icalendar/tests
creating build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/america_new_york.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/big_bad_calendar.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/broken_ical.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/calendar_with_unicode.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/created_calendar_with_unicode_fields.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/example.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_104_broken_calendar.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal_2.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_165_missing_event.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_168_expected_output.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_168_input.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_178_component_with_invalid_name_represented.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_178_custom_component_contains_other.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_178_custom_component_inside_other.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_237_fail_to_parse_timezone_with_non_ascii_tzid.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_27_multiple_periods_in_freebusy_multiple_freebusies.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_27_multiple_periods_in_freebusy_one_freebusy.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_322_expected_calendar.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_348_exception_parsing_value.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_466_convert_tzid_with_slash.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_466_respect_unique_timezone.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_526_calendar_with_different_events.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_526_calendar_with_event_subset.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_526_calendar_with_events.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/issue_526_calendar_with_shuffeled_events.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/multiple_calendar_components.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/pacific_fiji.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/parsing_error.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/parsing_error_in_UTC_offset.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/period_with_timezone.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/pr_480_summary_with_colon.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/small_bad_calendar.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/time.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/timezone_rdate.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/timezone_same_start.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/timezone_same_start_and_offset.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/timezoned.ics -> build/lib/icalendar/tests/calendars
copying src/icalendar/tests/calendars/x_location.ics -> build/lib/icalendar/tests/calendars
creating build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_escaped_character1.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_escaped_character2.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_escaped_character3.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_escaped_character4.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_escaped_characters.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_recurrence.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_recurrence_exdates_on_different_lines.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_rsvp.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_unicode_fields.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/event_with_unicode_organizer.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_100_transformed_doctests_into_unittests.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_101_icalendar_chokes_on_umlauts_in_organizer.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_104_mark_events_broken.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_112_missing_tzinfo_on_exdate.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_156_RDATE_with_PERIOD.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_156_RDATE_with_PERIOD_list.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_157_removes_trailing_semicolon.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_184_broken_representation_of_period.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_464_invalid_rdate.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_53_description_parsed_properly.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_64_event_with_ascii_summary.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_64_event_with_non_ascii_summary.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_70_rrule_causes_attribute_error.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/events/issue_82_expected_output.ics -> build/lib/icalendar/tests/events
copying src/icalendar/tests/fuzzed/generate_python_test_cases_from_downloaded_clusterfuzz_test_cases.sh -> build/lib/icalendar/tests/fuzzed
creating build/lib/icalendar/tests/timezones
copying src/icalendar/tests/timezones/issue_237_brazilia_standard.ics -> build/lib/icalendar/tests/timezones
copying src/icalendar/tests/timezones/issue_53_tzid_parsed_properly.ics -> build/lib/icalendar/tests/timezones
copying src/icalendar/tests/timezones/issue_55_parse_error_on_utc_offset_with_seconds.ics -> build/lib/icalendar/tests/timezones
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/__init__.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/cal.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/caselessdict.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/cli.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/parser.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/parser_tools.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/prop.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/timezone_cache.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/tools.py -> build/bdist.linux-x86_64/wheel/icalendar
copying build/lib/icalendar/windows_to_olson.py -> build/bdist.linux-x86_64/wheel/icalendar
creating build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/__init__.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/conftest.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_cli_tool.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_components_break_on_bad_ics.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_encoding.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_equality.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_examples.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_icalendar.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_116.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_165_missing_event.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_168_parsing_invalid_calendars_no_warning.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_27_period.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_318_skip_default_parameters.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_322_single_strings_characters_split_into_multiple_categories.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_348_exception_parsing_value.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_500_vboolean_for_parameter.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_issue_557_encode_native_parameters.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_multiple.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_oss_fuzz_errors.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_parsing.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_period.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_property_params.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_recurrence.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_time.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_timezoned.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_unit_cal.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_unit_caselessdict.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_unit_parser_tools.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_unit_prop.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_unit_tools.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
copying build/lib/icalendar/tests/test_with_doctest.py -> build/bdist.linux-x86_64/wheel/icalendar/tests
creating build/bdist.linux-x86_64/wheel/icalendar/tests/fuzzed
copying build/lib/icalendar/tests/fuzzed/__init__.py -> build/bdist.linux-x86_64/wheel/icalendar/tests/fuzzed
copying build/lib/icalendar/tests/fuzzed/test_fuzzed_calendars.py -> build/bdist.linux-x86_64/wheel/icalendar/tests/fuzzed
copying build/lib/icalendar/tests/fuzzed/generate_python_test_cases_from_downloaded_clusterfuzz_test_cases.sh -> build/bdist.linux-x86_64/wheel/icalendar/tests/fuzzed
creating build/bdist.linux-x86_64/wheel/icalendar/tests/hypothesis
copying build/lib/icalendar/tests/hypothesis/test_fuzzing.py -> build/bdist.linux-x86_64/wheel/icalendar/tests/hypothesis
copying build/lib/icalendar/tests/test_create_release.sh -> build/bdist.linux-x86_64/wheel/icalendar/tests
creating build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/america_new_york.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/big_bad_calendar.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/broken_ical.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/calendar_with_unicode.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/created_calendar_with_unicode_fields.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/example.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_104_broken_calendar.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal_2.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_165_missing_event.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_168_expected_output.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_168_input.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_178_component_with_invalid_name_represented.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_178_custom_component_contains_other.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_178_custom_component_inside_other.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_237_fail_to_parse_timezone_with_non_ascii_tzid.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_27_multiple_periods_in_freebusy_multiple_freebusies.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_27_multiple_periods_in_freebusy_one_freebusy.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_322_expected_calendar.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_348_exception_parsing_value.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_466_convert_tzid_with_slash.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_466_respect_unique_timezone.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_526_calendar_with_different_events.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_526_calendar_with_event_subset.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_526_calendar_with_events.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/issue_526_calendar_with_shuffeled_events.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/multiple_calendar_components.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/pacific_fiji.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/parsing_error.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/parsing_error_in_UTC_offset.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/period_with_timezone.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/pr_480_summary_with_colon.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/small_bad_calendar.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/time.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/timezone_rdate.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/timezone_same_start.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/timezone_same_start_and_offset.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/timezoned.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
copying build/lib/icalendar/tests/calendars/x_location.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/calendars
creating build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_escaped_character1.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_escaped_character2.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_escaped_character3.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_escaped_character4.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_escaped_characters.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_recurrence.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_recurrence_exdates_on_different_lines.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_rsvp.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_unicode_fields.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/event_with_unicode_organizer.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_100_transformed_doctests_into_unittests.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_101_icalendar_chokes_on_umlauts_in_organizer.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_104_mark_events_broken.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_112_missing_tzinfo_on_exdate.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_156_RDATE_with_PERIOD.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_156_RDATE_with_PERIOD_list.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_157_removes_trailing_semicolon.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_184_broken_representation_of_period.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_464_invalid_rdate.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_53_description_parsed_properly.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_64_event_with_ascii_summary.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_64_event_with_non_ascii_summary.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_70_rrule_causes_attribute_error.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
copying build/lib/icalendar/tests/events/issue_82_expected_output.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/events
creating build/bdist.linux-x86_64/wheel/icalendar/tests/timezones
copying build/lib/icalendar/tests/timezones/issue_237_brazilia_standard.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/timezones
copying build/lib/icalendar/tests/timezones/issue_53_tzid_parsed_properly.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/timezones
copying build/lib/icalendar/tests/timezones/issue_55_parse_error_on_utc_offset_with_seconds.ics -> build/bdist.linux-x86_64/wheel/icalendar/tests/timezones
running install_egg_info
Copying src/icalendar.egg-info to build/bdist.linux-x86_64/wheel/icalendar-5.0.12-py3.10.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/icalendar-5.0.12.dist-info/WHEEL
creating '/home/tkloczko/rpmbuild/BUILD/icalendar-5.0.12/dist/.tmp-r8l0hx11/icalendar-5.0.12-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'icalendar/__init__.py'
adding 'icalendar/cal.py'
adding 'icalendar/caselessdict.py'
adding 'icalendar/cli.py'
adding 'icalendar/parser.py'
adding 'icalendar/parser_tools.py'
adding 'icalendar/prop.py'
adding 'icalendar/timezone_cache.py'
adding 'icalendar/tools.py'
adding 'icalendar/windows_to_olson.py'
adding 'icalendar/tests/__init__.py'
adding 'icalendar/tests/conftest.py'
adding 'icalendar/tests/test_cli_tool.py'
adding 'icalendar/tests/test_components_break_on_bad_ics.py'
adding 'icalendar/tests/test_create_release.sh'
adding 'icalendar/tests/test_encoding.py'
adding 'icalendar/tests/test_equality.py'
adding 'icalendar/tests/test_examples.py'
adding 'icalendar/tests/test_icalendar.py'
adding 'icalendar/tests/test_issue_116.py'
adding 'icalendar/tests/test_issue_165_missing_event.py'
adding 'icalendar/tests/test_issue_168_parsing_invalid_calendars_no_warning.py'
adding 'icalendar/tests/test_issue_27_period.py'
adding 'icalendar/tests/test_issue_318_skip_default_parameters.py'
adding 'icalendar/tests/test_issue_322_single_strings_characters_split_into_multiple_categories.py'
adding 'icalendar/tests/test_issue_348_exception_parsing_value.py'
adding 'icalendar/tests/test_issue_500_vboolean_for_parameter.py'
adding 'icalendar/tests/test_issue_557_encode_native_parameters.py'
adding 'icalendar/tests/test_multiple.py'
adding 'icalendar/tests/test_oss_fuzz_errors.py'
adding 'icalendar/tests/test_parsing.py'
adding 'icalendar/tests/test_period.py'
adding 'icalendar/tests/test_property_params.py'
adding 'icalendar/tests/test_recurrence.py'
adding 'icalendar/tests/test_time.py'
adding 'icalendar/tests/test_timezoned.py'
adding 'icalendar/tests/test_unit_cal.py'
adding 'icalendar/tests/test_unit_caselessdict.py'
adding 'icalendar/tests/test_unit_parser_tools.py'
adding 'icalendar/tests/test_unit_prop.py'
adding 'icalendar/tests/test_unit_tools.py'
adding 'icalendar/tests/test_with_doctest.py'
adding 'icalendar/tests/calendars/america_new_york.ics'
adding 'icalendar/tests/calendars/big_bad_calendar.ics'
adding 'icalendar/tests/calendars/broken_ical.ics'
adding 'icalendar/tests/calendars/calendar_with_unicode.ics'
adding 'icalendar/tests/calendars/created_calendar_with_unicode_fields.ics'
adding 'icalendar/tests/calendars/example.ics'
adding 'icalendar/tests/calendars/issue_104_broken_calendar.ics'
adding 'icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal.ics'
adding 'icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal_2.ics'
adding 'icalendar/tests/calendars/issue_165_missing_event.ics'
adding 'icalendar/tests/calendars/issue_168_expected_output.ics'
adding 'icalendar/tests/calendars/issue_168_input.ics'
adding 'icalendar/tests/calendars/issue_178_component_with_invalid_name_represented.ics'
adding 'icalendar/tests/calendars/issue_178_custom_component_contains_other.ics'
adding 'icalendar/tests/calendars/issue_178_custom_component_inside_other.ics'
adding 'icalendar/tests/calendars/issue_237_fail_to_parse_timezone_with_non_ascii_tzid.ics'
adding 'icalendar/tests/calendars/issue_27_multiple_periods_in_freebusy_multiple_freebusies.ics'
adding 'icalendar/tests/calendars/issue_27_multiple_periods_in_freebusy_one_freebusy.ics'
adding 'icalendar/tests/calendars/issue_322_expected_calendar.ics'
adding 'icalendar/tests/calendars/issue_348_exception_parsing_value.ics'
adding 'icalendar/tests/calendars/issue_466_convert_tzid_with_slash.ics'
adding 'icalendar/tests/calendars/issue_466_respect_unique_timezone.ics'
adding 'icalendar/tests/calendars/issue_526_calendar_with_different_events.ics'
adding 'icalendar/tests/calendars/issue_526_calendar_with_event_subset.ics'
adding 'icalendar/tests/calendars/issue_526_calendar_with_events.ics'
adding 'icalendar/tests/calendars/issue_526_calendar_with_shuffeled_events.ics'
adding 'icalendar/tests/calendars/multiple_calendar_components.ics'
adding 'icalendar/tests/calendars/pacific_fiji.ics'
adding 'icalendar/tests/calendars/parsing_error.ics'
adding 'icalendar/tests/calendars/parsing_error_in_UTC_offset.ics'
adding 'icalendar/tests/calendars/period_with_timezone.ics'
adding 'icalendar/tests/calendars/pr_480_summary_with_colon.ics'
adding 'icalendar/tests/calendars/small_bad_calendar.ics'
adding 'icalendar/tests/calendars/time.ics'
adding 'icalendar/tests/calendars/timezone_rdate.ics'
adding 'icalendar/tests/calendars/timezone_same_start.ics'
adding 'icalendar/tests/calendars/timezone_same_start_and_offset.ics'
adding 'icalendar/tests/calendars/timezoned.ics'
adding 'icalendar/tests/calendars/x_location.ics'
adding 'icalendar/tests/events/event_with_escaped_character1.ics'
adding 'icalendar/tests/events/event_with_escaped_character2.ics'
adding 'icalendar/tests/events/event_with_escaped_character3.ics'
adding 'icalendar/tests/events/event_with_escaped_character4.ics'
adding 'icalendar/tests/events/event_with_escaped_characters.ics'
adding 'icalendar/tests/events/event_with_recurrence.ics'
adding 'icalendar/tests/events/event_with_recurrence_exdates_on_different_lines.ics'
adding 'icalendar/tests/events/event_with_rsvp.ics'
adding 'icalendar/tests/events/event_with_unicode_fields.ics'
adding 'icalendar/tests/events/event_with_unicode_organizer.ics'
adding 'icalendar/tests/events/issue_100_transformed_doctests_into_unittests.ics'
adding 'icalendar/tests/events/issue_101_icalendar_chokes_on_umlauts_in_organizer.ics'
adding 'icalendar/tests/events/issue_104_mark_events_broken.ics'
adding 'icalendar/tests/events/issue_112_missing_tzinfo_on_exdate.ics'
adding 'icalendar/tests/events/issue_156_RDATE_with_PERIOD.ics'
adding 'icalendar/tests/events/issue_156_RDATE_with_PERIOD_list.ics'
adding 'icalendar/tests/events/issue_157_removes_trailing_semicolon.ics'
adding 'icalendar/tests/events/issue_184_broken_representation_of_period.ics'
adding 'icalendar/tests/events/issue_464_invalid_rdate.ics'
adding 'icalendar/tests/events/issue_53_description_parsed_properly.ics'
adding 'icalendar/tests/events/issue_64_event_with_ascii_summary.ics'
adding 'icalendar/tests/events/issue_64_event_with_non_ascii_summary.ics'
adding 'icalendar/tests/events/issue_70_rrule_causes_attribute_error.ics'
adding 'icalendar/tests/events/issue_82_expected_output.ics'
adding 'icalendar/tests/fuzzed/__init__.py'
adding 'icalendar/tests/fuzzed/generate_python_test_cases_from_downloaded_clusterfuzz_test_cases.sh'
adding 'icalendar/tests/fuzzed/test_fuzzed_calendars.py'
adding 'icalendar/tests/hypothesis/test_fuzzing.py'
adding 'icalendar/tests/timezones/issue_237_brazilia_standard.ics'
adding 'icalendar/tests/timezones/issue_53_tzid_parsed_properly.ics'
adding 'icalendar/tests/timezones/issue_55_parse_error_on_utc_offset_with_seconds.ics'
adding 'icalendar-5.0.12.dist-info/LICENSE.rst'
adding 'icalendar-5.0.12.dist-info/METADATA'
adding 'icalendar-5.0.12.dist-info/WHEEL'
adding 'icalendar-5.0.12.dist-info/entry_points.txt'
adding 'icalendar-5.0.12.dist-info/top_level.txt'
adding 'icalendar-5.0.12.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built icalendar-5.0.12-py3-none-any.whl
@niccokunzmann
Copy link
Member

Usually, people do not expect the test suite to be installed, too.
The tests can be moved. Would you like to create a PR?

@kloczek
Copy link
Contributor Author

kloczek commented May 27, 2024

The tests can be moved. Would you like to create a PR?

yes I can.

@kloczek
Copy link
Contributor Author

kloczek commented Jun 20, 2024

Just back to this ticket and I found that src/icalendar/fuzzing/ical_fuzzer.py is using icalendar.tests.fuzzed.
I'm not sure but probably it would be good to move src/icalendar/fuzzing to fuzzling/ as well 🤔
Could you please confirm that?

@niccokunzmann
Copy link
Member

If you see value in this, you can move things over. I wonder why I did this. I think, they share functionality: I want the fuzzing to run the same test code as the tests. There is this one skipped test case where I did not proceed generating a pytest test from a fuzzer result.

So, for your understanding of how I imagined it to work:

  1. Fuzzer runs, breaks icalendar
  2. fuzzing issue is crated
  3. we run the fuzzer locally and retrieve the input as an ICS file
  4. we use the same input that the fuzzer used to break icalendar in a pytest test case to make sure everything is covered (test-driven development approach)

Context:

@niccokunzmann
Copy link
Member

See also #712

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants