Skip to content

Dict-access to towncrier's Config objects breaks with Towncrier 22.12 #76

@hynek

Description

@hynek

See twisted/towncrier#461 or https://github.com/python-attrs/attrs/actions/runs/3755544183/jobs/6380710259#step:7:39

Config has become a data class in the last release and it's all my fault, sorry.

fragment_base_directory = project_path / towncrier_config['directory']
except KeyError:
assert fragment_directory is not None
fragment_base_directory = project_path / fragment_directory
else:
fragment_directory = None
_fragments, fragment_filenames = find_fragments(
base_directory=str(fragment_base_directory),
fragment_directory=fragment_directory,
definitions=towncrier_config['types'],
sections=towncrier_config['sections'],

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency fileenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions