You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test for kedro-datasets in the file tests/pandas/test_csv_dataset.py::TestCSVDataSetS3::test_load_and_confirm currently fails for Python 3.10. It only fails if called when all the tests in tests/pandas/test_csv_dataset.py are run. If it is called in isolation, the test will pass.
If the class TestCSVDataSetS3 is moved to the top of the file, so that it is executed (in order) before the remaining tests in the file, the test case will pass. Since this test does not share resources with any other test in the file and also passes when called in isolation, the time taken between fixture definition and running the test may play a role in causing this error.
Context
This bug currently blocks all development work on kedro-datasets.
Steps to Reproduce
Checkout the main branch.
Navigate to the kedro-datasets directory.
Run pytest --no-cov tests/pandas/test_csv_dataset.py
All tests in this file pass apart from TestCSVDataSetS3::test_load_and_confirm.
The following error is produced:
E kedro.io.core.DataSetError: Failed while loading data from data set CSVDataSet(filepath=test_bucket/test.csv, load_args={}, protocol=s3, save_args={'index': False}).
E Forbidden
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
Kedro version used (pip show kedro or kedro -V): 0.18.3
The text was updated successfully, but these errors were encountered:
Description
The test for
kedro-datasets
in the filetests/pandas/test_csv_dataset.py::TestCSVDataSetS3::test_load_and_confirm
currently fails for Python 3.10. It only fails if called when all the tests intests/pandas/test_csv_dataset.py
are run. If it is called in isolation, the test will pass.If the class
TestCSVDataSetS3
is moved to the top of the file, so that it is executed (in order) before the remaining tests in the file, the test case will pass. Since this test does not share resources with any other test in the file and also passes when called in isolation, the time taken between fixture definition and running the test may play a role in causing this error.Context
This bug currently blocks all development work on
kedro-datasets
.Steps to Reproduce
main
branch.kedro-datasets
directory.pytest --no-cov tests/pandas/test_csv_dataset.py
All tests in this file pass apart from
TestCSVDataSetS3::test_load_and_confirm
.The following error is produced:
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
): 0.18.3The text was updated successfully, but these errors were encountered: