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

ci: Add python3.12 support #535

Merged
merged 1 commit into from
Sep 23, 2023
Merged

ci: Add python3.12 support #535

merged 1 commit into from
Sep 23, 2023

Conversation

wookayin
Copy link
Member

neovim's python3 provider detection has a bug on python3.12
(neovim/neovim#25316), so we work around this by explicitly setting
the g:python3_host_prog variable.

Also, pynvim on python3.12 requires greenlet 3.x.

Fixes #528

neovim's python3 provider detection has a bug on python3.12
(neovim/neovim#25316), so we work around this by explicitly setting
the `g:python3_host_prog` variable.

Also, pynvim on python3.12 requires greenlet 3.x.

Fixes neovim#528
if sys.version_info >= (3, 12):
install_requires.append('greenlet>=3.0.0rc3')
else:
install_requires.append('greenlet')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

greenlet has been a pain, I wish we could eliminate it :/

@justinmk justinmk merged commit 6cf8fc1 into neovim:master Sep 23, 2023
7 of 10 checks passed
@justinmk
Copy link
Member

Thank you!

@wookayin wookayin deleted the ci-py3.12 branch September 23, 2023 14:38
@Spirarel
Copy link

Getting this released would be great. As it stands, the readme is incorrect about supporting python 3.7 or later.

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.

Test failures: "Event loop is closed" with Python 3.12, Fedora Linux
3 participants