Skip to content

Commit d338f6e

Browse files
committed
update package.py: unique python_classifiers
1 parent f314393 commit d338f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/poetry/core/packages/package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def all_classifiers(self) -> list[str]:
348348
# it like this so that 3.10 is sorted after 3.9.
349349
sorted_classifiers = []
350350
python_classifiers_inserted = False
351-
for classifier in sorted(set(classifiers)):
351+
for classifier in sorted(set(classifiers) - set(python_classifiers)):
352352
if (
353353
not python_classifiers_inserted
354354
and classifier > python_classifier_prefix

0 commit comments

Comments
 (0)