Skip to content

Commit 5cc6d23

Browse files
Secrusneersighted
authored andcommitted
Add Provides-extra to uploaded metadata
1 parent 6e84663 commit 5cc6d23

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/poetry/publishing/uploader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,13 @@ def post_data(self, file: Path) -> dict[str, Any]:
193193
"requires_dist": meta.requires_dist,
194194
"requires_external": meta.requires_external,
195195
"requires_python": meta.requires_python,
196+
"provides_extra": meta.provides_extra,
196197
}
197198

198199
# Metadata 2.1
199200
if meta.description_content_type:
200201
data["description_content_type"] = meta.description_content_type
201202

202-
# TODO: Provides extra
203-
204203
return data
205204

206205
def _upload(

0 commit comments

Comments
 (0)