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

Ignore compiled InVEST models. #1765

Conversation

dcdenu4
Copy link
Member

@dcdenu4 dcdenu4 commented Feb 4, 2025

For development of the plugins feature branch, plugins use pip to install said feature branch. For Windows machines this means we expect a C++ compiler, which isn't always guaranteed. For the release of plugins, this won't be an issue because we'll point to a conda forge feedstock with everything pre-built.

Obviously, this will break testing. Happy to try and skip testing the compiled models. An alternative to making this change in the feature branch is to create another branch from feature/plugins and make this change there. And then have plugins point to that branch instead of this one. Curious what you think @emlys .

Created issue #1766 to remind us to revert this for the release.

… branch, plugins use pip to install said feature branch. For Windows machines this means we expect a C++ compiler, which isn't always guaranteed. For the release of plugins, this won't be an issue because we'll point to a conda forge feedstock with everything pre-built.
Copy link
Member

@emlys emlys left a comment

Choose a reason for hiding this comment

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

Thanks @dcdenu4! I do think it would be helpful to skip the tests so we're not seeing a bunch of failures, that should be possible by adding to the top of each test module:

pytestmark = pytest.mark.skip()

https://docs.pytest.org/en/latest/how-to/skipping.html#skip-all-test-functions-of-a-class-or-module

@dcdenu4 dcdenu4 requested a review from emlys February 5, 2025 19:58
Copy link
Member

@emlys emlys left a comment

Choose a reason for hiding this comment

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

Thanks!

@emlys emlys merged commit 1b494d8 into natcap:feature/plugins Feb 5, 2025
27 of 29 checks passed
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