Skip to content
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

Use importlib.metadata to get the python module version #7974

Closed
wants to merge 1 commit into from

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Dec 19, 2023

This is available since Python 3.8, oldest active version at date of this commit.

This is needed because __version__ has been removed from jupyter_core 5.5.1 and quarto fails to find python.

fixes #7964

I believe we should add somewhere that Quarto 1.4 now requires Python 3.8 as minimal version. We should probably make it clear about the EOL rule.

Should it be in Changelog highlights or elsewhere ?

This is available since Python 3.8, oldest active version at date of this commit.

This is needed because `__version__` has been removed from jupyter_core 5.5.1 and quarto fails to find python.
@cscheid
Copy link
Collaborator

cscheid commented Dec 19, 2023

I believe we should add somewhere that Quarto 1.4 now requires Python 3.8 as minimal version. We should probably make it clear about the EOL rule.

Yes, I think Quarto policy should be "we don't support EOL'd versions of Python" (if that's not what it already is, and I just don't know where we state it).

@cderv
Copy link
Collaborator Author

cderv commented Dec 19, 2023

@cwickham any idea where we should put this in our documentation ? Do you think highlights for 1.4 is a good place ?

@cscheid
Copy link
Collaborator

cscheid commented Dec 19, 2023

After talking with Charles, we decided to do this slightly more conservatively and not break in Python 3.7. I'll make the change on main directly.

@cscheid cscheid closed this Dec 19, 2023
cscheid added a commit that referenced this pull request Dec 19, 2023
@cderv
Copy link
Collaborator Author

cderv commented Dec 20, 2023

Sure. This what I wanted to do at the beginning. Should follow my hunch next time 😅

Thanks for the fix.

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.

jupyter_core not detected
2 participants