Free-Threading Trove Classifier?

I’d be mildly in favour if adding the classifier allowed the checking code to be simplified, but instead it would just need to deal with additional states without eliminating any.

Status quo:

  • free threaded wheel build exists
  • pure Python wheel build exists
  • no wheels at all

Adding a classifier means all of those come in two variants (with or without the classifier) rather than allowing the file list to be ignored completely.

That said, the existence of a dedicated free threaded wheel just means “importable on free threaded builds”, it doesn’t say anything about whether the package actually runs in free threaded mode without enabling the GIL.

So maybe there would be value in a classifier after all, to distinguish “it works properly without enabling the GIL” from “it can be installed from a wheel on a free threaded client” (the summary site would then need a 2nd pie chart for the classifier check).

2 Likes