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

Provide test and dev python dependencies #2449

Merged
merged 12 commits into from
Oct 2, 2024
Merged

Provide test and dev python dependencies #2449

merged 12 commits into from
Oct 2, 2024

Conversation

giampaolo
Copy link
Owner

Up 'till now Python deps have been defined in the Makefile. Despite unorthodox, I was sort of OK with that, but the use of ifdef directives made the Makefile incompatible with BSD (you had to use gmake instead). Also, deps were duplicated in winmake.py.

All deps are now defined within setup.py, and divided between test and dev deps. They can be installed via:

pip install .[test]
pip install .[dev]

...or (preferred way):

make install-pydeps-test
make install-pydeps-dev

This was done as a follow up of #2448, in which I aimed at fully delegating install and test operations to the Makefile. All CI config files now basically do the same thing, make install-sysdeps install-pydeps-test install print-sysinfo test test-memleaks, irregardless of the platform, which is very handy.

@giampaolo giampaolo merged commit 04f19ee into master Oct 2, 2024
27 of 30 checks passed
@giampaolo giampaolo deleted the extra-test-deps branch October 2, 2024 20:41
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.

1 participant