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
Traceback (most recent call last):
File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/rapids_dependency_file_generator/_rapids_dependency_file_generator.py", line 183, in make_dependency_file
table = table[section]
File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/tomlkit/container.py", line 624, in __getitem__
item = self.item(key)
File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/tomlkit/container.py", line 466, in item
raise NonExistentKey(key)
tomlkit.exceptions.NonExistentKey: 'Key "project" does not exist.'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/jlamb/miniforge3/envs/rapids-dev/bin/rapids-dependency-file-generator", line 10, in <module>
sys.exit(main())
File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/rapids_dependency_file_generator/_cli.py", line 151, in main
make_dependency_files(parsed_config, file_keys, output, matrix, args.prepend_channels, to_stdout)
File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/rapids_dependency_file_generator/_rapids_dependency_file_generator.py", line 419, in make_dependency_files
contents = make_dependency_file(
File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/rapids_dependency_file_generator/_rapids_dependency_file_generator.py", line 188, in make_dependency_file
if not table.is_super_table():
AttributeError: 'TOMLDocument' object has no attribute 'is_super_table'
Discovered this today while working on rapidsai/cudf#15245.
On the latest version of
dependency-file-generator
(v1.13.4), rendering a nestedpyproject.toml
to stdout fails.Reproducible Example
Fails like this:
Notes
I believe the specific issue is right here:
dependency-file-generator/src/rapids_dependency_file_generator/_rapids_dependency_file_generator.py
Line 418 in ec3d043
The text was updated successfully, but these errors were encountered: