-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
5.0.12 [BUG]: test suite fails in multiple units with pytest 8.2.1 #617
Comments
Thanks for reporting this! You provided a lot of detail on how to reproduce it. That's good! This is interesting:
I am unable to reproduce this in the master and the v5.0.12 tag. I used the same Python version and the same environment. I never packaged a module. So, could you help me understand what the commands for the last three steps are?
|
If it is something related to |
Just found that this has been already reported #609 |
Just tested 5.0.13 and looks like all is good now + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-icalendar-5.0.13-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-icalendar-5.0.13-2.fc37.x86_64/usr/lib/python3.10/site-packages
+ /usr/bin/pytest -ra -m 'not network' src/icalendar/tests
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.10.14, pytest-8.2.2, pluggy-1.5.0
rootdir: /home/tkloczko/rpmbuild/BUILD/icalendar-5.0.13
configfile: setup.cfg
plugins: hypothesis-6.100.0
collected 884 items
src/icalendar/tests/fuzzed/test_fuzzed_calendars.py s [ 0%]
src/icalendar/tests/test_cli_tool.py . [ 0%]
src/icalendar/tests/test_components_break_on_bad_ics.py ....... [ 1%]
src/icalendar/tests/test_encoding.py ................. [ 2%]
src/icalendar/tests/test_equality.py ................................................................................................................................................ [ 19%]
..................................................................................................................................................................................... [ 39%]
............................................... [ 45%]
src/icalendar/tests/test_examples.py ..... [ 45%]
src/icalendar/tests/test_icalendar.py ....... [ 46%]
src/icalendar/tests/test_issue_116.py . [ 46%]
src/icalendar/tests/test_issue_165_missing_event.py . [ 46%]
src/icalendar/tests/test_issue_168_parsing_invalid_calendars_no_warning.py . [ 46%]
src/icalendar/tests/test_issue_27_period.py . [ 46%]
src/icalendar/tests/test_issue_318_skip_default_parameters.py ... [ 47%]
src/icalendar/tests/test_issue_322_single_strings_characters_split_into_multiple_categories.py . [ 47%]
src/icalendar/tests/test_issue_348_exception_parsing_value.py .. [ 47%]
src/icalendar/tests/test_issue_350.py . [ 47%]
src/icalendar/tests/test_issue_500_vboolean_for_parameter.py . [ 47%]
src/icalendar/tests/test_issue_557_encode_native_parameters.py ........ [ 48%]
src/icalendar/tests/test_multiple.py . [ 48%]
src/icalendar/tests/test_oss_fuzz_errors.py .. [ 48%]
src/icalendar/tests/test_parsing.py ............................................. [ 54%]
src/icalendar/tests/test_period.py .......................... [ 57%]
src/icalendar/tests/test_property_params.py .................... [ 59%]
src/icalendar/tests/test_recurrence.py .................................... [ 63%]
src/icalendar/tests/test_time.py .... [ 63%]
src/icalendar/tests/test_timezoned.py .......... [ 64%]
src/icalendar/tests/test_unit_cal.py ............................................................................................ [ 75%]
src/icalendar/tests/test_unit_caselessdict.py .... [ 75%]
src/icalendar/tests/test_unit_parser_tools.py .. [ 76%]
src/icalendar/tests/test_unit_prop.py ........................................................................................................................................... [ 91%]
src/icalendar/tests/test_unit_tools.py .......... [ 92%]
src/icalendar/tests/test_with_doctest.py ............................................................... [100%]
================================================================================== short test summary info ==================================================================================
SKIPPED [1] src/icalendar/tests/fuzzed/test_fuzzed_calendars.py: got empty parameter set ['fuzz_v1_calendar'], function test_fuzz_v1 at /home/tkloczko/rpmbuild/BUILD/icalendar-5.0.13/src/icalendar/tests/fuzzed/test_fuzzed_calendars.py:4
============================================================================== 883 passed, 1 skipped in 2.96s =============================================================================== Closing. |
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesinstaller
modulecut off from access to the public network
(pytest is executed with-m "not network"
)Here is pytest output:
List of installed modules in build env:
Please let me know if you need more details or want me to perform some diagnostics.
The text was updated successfully, but these errors were encountered: