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

guarding against regressions #207

Open
molpopgen opened this issue Feb 16, 2021 · 2 comments
Open

guarding against regressions #207

molpopgen opened this issue Feb 16, 2021 · 2 comments

Comments

@molpopgen
Copy link
Collaborator

The hope is that demes is widely-used. If so, we need to be careful about introducing regressions. R allows "reverse dependency checking", which takes ages but is common practice for widely-used tools like Rcpp: https://rdrr.io/cran/devtools/man/revdep.html.

AFAIK, Python doesn't support this, in part because PyPi is not considered the one true source of packages.

We could use GitHub actions to check commits against a set of tools, though.

We can be semi-accommodating. For example:

  • If a Python tool provides a binary Linux wheel OR compiles quickly (like moments)
  • AND it provides a tests/test_demes_stuff.py that is compatible with pytest

Then we should be able to have a set of Ubuntu actions that test each tool in a virtualenv, which is presumably needed to guard against inter-package dependency conflicts stemming from requirements.txt files being all over the place.

@jeromekelleher
Copy link
Member

Good idea.

@molpopgen
Copy link
Collaborator Author

Good idea.

Forces me to get fwdpy11 wheels auto-deployed upon release now!

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

No branches or pull requests

2 participants