-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Ensure importlib_metadata runtime dependency installed with Python < 3.10 #474
fix: Ensure importlib_metadata runtime dependency installed with Python < 3.10 #474
Conversation
…on < 3.10 Fixes a regression introduced in 5f068d5 ("chore(build): move to scikitbuild-core (scikit-build#455)", 2024-03-01) Reported-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Reported-by: Shizhi Tang <rd0x01@gmail.com> Co-authored-by: Fabio Luporini <fabio@devitocodes.com>
669bfe2
to
d461e4f
Compare
Thanks @agriyakhetarpal, @braindevices, @mloubout and @roastduck for the issue reports and pull requests 🙏 |
Once the fix has been reviewed, approved and integrated, suggested path forward:
|
|
Still needs to fix from #473 for correct version checking |
@mudit2812 and @mloubout, Python 3.7 support was recently dropped with |
Didn't see Python 3.8 was the minimum version now, should be able to completely drop |
cmake-python-distributions/docs/conf.py Lines 20 to 25 in 85a457b
|
Python 3.7 is the minimum version, not 3.8. We just dropped 2.7 and 3.6. |
Oops, thanks! Updated my review to mark that change |
You are correct about this working in 3.8+ though, I just checked. There are bugs in importlib.metadata before 3.10.2, but this shouldn't hit those. |
@jcfr I don't have permission to yank |
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2fbb98c
to
e8abbbc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks for the quick resolution 🔥
Fixes a regression introduced in 5f068d5 ("chore(build): move to scikitbuild-core (#455)", 2024-03-01)