Conversation
Fixed breakage uncovered by setuptools-scm 6.3.0 where installation would fail for project that missed to mention the toml extra.
ececee7 to
c4fe5df
Compare
ichard26
left a comment
There was a problem hiding this comment.
Sigh, this past week has been terrible for our dependencies, hopefully this is the last mini-fire out of the bunch. Thank you for noticing and fixing! I'll try to push out a hotfix release later today containing both this fix and the other one for the OS native binaries.
|
Sounds like setuptools-scm made a new release (6.3.1) that makes this change unnecessary. |
|
@JelleZijlstra While setuptools-scm made an emergency patch, I think that patch is needed. It only works because they happen to install toml themselves but that could change in the future. @RonnyPfannschmidt WDYT about that, should we still fix it like that? |
|
If you constraint greater than 6.3.0 and setuptools greater than 45 you can skip the extra, |
psf#2475 (comment) > If you constraint greater than 6.3.0 and setuptools greater than 45 > you can skip the extra,
|
I'm going to play it safe and just keep the extra (although in addition to bumping both setuptools and setuptools-scm's minimum requirements to hopefully avoid significantly more broken build environments). I want to do a hotfix release today, and this should be good enough for now. We can always iterate later. |
|
Would be possible to make the release that includes this change? It would allow us to avoid patching black (NixOS/nixpkgs#137617) in nixpkgs after updating |
|
@sveitser Sorry, I was planning to do a release but I simply just didn't have enough free time to be comfortable being the release manager. I've messaged the team asking if someone can pick it up but I can't promise anything as it's now out of my control :/ |
|
@sveitser status update, Jelle has just finished the first half of the release process and now 21.9b0 should be up and working on PyPI. |
|
That was fast. Thank you! |
Project packaging is using toml due to
pyproject.tomlbut fails to mention it, causing installation failures with newer setuptools-scm 6.3.0Fixes: #2449
Related: pypa/setuptools-scm#625