Skip to content

Make CLASSIFIERS a list - #197

Closed
berkerpeksag wants to merge 1 commit into
simplejson:masterfrom
berkerpeksag:patch-1
Closed

berkerpeksag wants to merge 1 commit into
simplejson:masterfrom
berkerpeksag:patch-1

Conversation

@berkerpeksag

Copy link
Copy Markdown

Prior to Python 3.7, passing a tuple classifiers (it has always
been documented as list) will return a cryptic error message
when trying to upload a release. See
https://reinbach.com/blog/setuptools-classifiers-upload-python3-5/
for example.

Python 3.7 will explicitly reject non-list types as discussed in
https://bugs.python.org/issue19610

Note that this won't break any user code if a wheel is provided
for Python 3.7.

Prior to Python 3.7, passing a tuple classifiers (it has always
been documented as list) will return a cryptic error message
when trying to upload a release. See
https://reinbach.com/blog/setuptools-classifiers-upload-python3-5/
for example.

Python 3.7 will explicitly reject non-list types as discussed in
https://bugs.python.org/issue19610

Note that this won't break any user code if a wheel is provided
for Python 3.7.
@serhiy-storchaka

Copy link
Copy Markdown
Contributor

Sorry, @berkerpeksag, I missed your PR when filed a bug.

In this case I think we can just use a list display. It might be easy to write splitting a multiline string literal first time, but once it is written, I think editing a list of string is not much harder than editing a multiline string literal. Keep on to @etrepum, what solution his prefers.

There is the same problem with the xattr project.

@berkerpeksag

Copy link
Copy Markdown
Author

@serhiy-storchaka thanks, I missed xattr. I can apply the same fix and open a PR against the xattr repository once @etrepum decides which way he prefers.

@etrepum

etrepum commented Dec 10, 2017

Copy link
Copy Markdown
Member

I saw the other solution first, no strong preference either way.

@etrepum etrepum closed this Dec 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants