Skip to content

Commit

Permalink
Fix including projects with no deps
Browse files Browse the repository at this point in the history
  • Loading branch information
thatch committed Jan 22, 2024
1 parent 10f2a23 commit abd4e98
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
honesty
=======

v0.3.0a5
--------

* Fix: projects with no deps can now have their metadata read (libclang 16.0.6)

v0.3.0a4
--------

* Feature: Both deps and revs subcommands in the same release
* Fix: Lots of real-world fixes to specifier handling

v0.3.0a3
--------

Expand Down
3 changes: 1 addition & 2 deletions honesty/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,7 @@ def read_metadata_remote_wheel(url: str) -> Sequence[str]:
# requires a filename on disk.
data = z.read(metadata_names[0])
metadata = distribution_parse(StringIO(data.decode()))
reqs = metadata.get_all("Requires-Dist")
assert reqs is not None
reqs = metadata.get_all("Requires-Dist") or ()
return reqs

raise ValueError("No metadata")
Expand Down

0 comments on commit abd4e98

Please sign in to comment.