Repository navigation
Conversation
Previously, the symptom was:
> Installing the current project: dlint (0.16.0)
> Traceback (most recent call last):
> [..]
> File "[..]/dlint/dlint/dlint/__init__.py", line 16, in <module>
> __url__ = m['Homepage']
> ~^^^^^^^^^^^^
> File "[..]/python3.15/importlib/metadata/_adapters.py", line 102, in __getitem__
> raise KeyError(item)
> KeyError: 'Homepage'
The metadata keys available are:
> In [1]: from importlib.metadata import metadata
>
> In [2]: m = metadata('dlint')
>
> In [3]: [(k, v) for k, v in m.items() if k != 'Description']
> Out[3]:
> [('Metadata-Version', '2.4'),
> ('Name', 'dlint'),
> ('Version', '0.16.0'),
> ('Summary',
> 'Dlint is a tool for encouraging best coding practices and helping ensure Python code is secure.'),
> ('License-Expression', 'BSD-3-Clause'),
> ('License-File', 'LICENSE'),
> ('Requires-Python', '>=3.8.1,<4.0.0'),
> ('Classifier', 'Environment :: Console'),
> ('Classifier', 'License :: OSI Approved :: BSD License'),
> ('Classifier', 'Operating System :: MacOS :: MacOS X'),
> ('Classifier', 'Operating System :: Microsoft :: Windows'),
> ('Classifier', 'Operating System :: POSIX'),
> ('Classifier', 'Programming Language :: Python :: 3'),
> ('Classifier', 'Programming Language :: Python :: 3.9'),
> ('Classifier', 'Programming Language :: Python :: 3.10'),
> ('Classifier', 'Programming Language :: Python :: 3.11'),
> ('Classifier', 'Programming Language :: Python :: 3.12'),
> ('Classifier', 'Programming Language :: Python :: 3.13'),
> ('Classifier', 'Programming Language :: Python :: 3.14'),
> ('Classifier', 'Programming Language :: Python :: 3.15'),
> ('Classifier', 'Topic :: Security'),
> ('Classifier', 'Topic :: Software Development :: Quality Assurance'),
> ('Requires-Dist', 'flake8 (>=3.6.0)'),
> ('Project-URL', 'Homepage, https://github.com/dlint-py/dlint'),
> ('Project-URL', 'Repository, https://github.com/dlint-py/dlint'),
> ('Description-Content-Type', 'text/markdown')]
Contributor
|
Closing in favor of #63 |
Contributor
Author
@mschwager I'm a little sad now but also happy about the green CI 😄 🍻 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #62
Previously, the symptom was:
The metadata keys available are:
CC @mschwager @hannob