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

build: fix conditional install_requires #581

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Nov 4, 2024

Fix conditional install_requires in setup.py to use environment markers instead of inline conditions. The latter do not work correctly with universal wheels -- e.g. a wheel made on Python 3.12 would not have a dependency on typing-extensions at all, even if it were installed on Python 3.11 or older, and the other way around.

Fix conditional `install_requires` in `setup.py` to use environment
markers instead of inline conditions.  The latter do not work correctly
with universal wheels -- e.g. a wheel made on Python 3.12 would not have
a dependency on `typing-extensions` at all, even if it were installed
on Python 3.11 or older, and the other way around.
@justinmk justinmk changed the title Fix conditional install_requires build: fix conditional install_requires Nov 4, 2024
@justinmk justinmk merged commit a2adeec into neovim:master Nov 4, 2024
19 checks passed
@mgorny
Copy link
Contributor Author

mgorny commented Nov 4, 2024

Thanks!

@mgorny mgorny deleted the cond-deps branch November 4, 2024 13:44
@jamessan jamessan mentioned this pull request Nov 12, 2024
jamessan added a commit to jamessan/pynvim that referenced this pull request Nov 13, 2024
- a2adeec build: fix conditional install_requires neovim#581
- 31550a7 fix: remove deprecated universal wheels setting
- a6175a4 fix(ci): macOS CI failing with python{3.7, 3.8, 3.9}
- 648b0c7 fix(ci): do not use matrix variables for OS-specific commands
rdipardo added a commit to rdipardo/vim-cpywrite that referenced this pull request Nov 30, 2024
The issue with pynvim 0.5.1 not pulling in all its dependencies has
been fixed upstream: neovim/pynvim#581
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.

2 participants