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

fix: temporarily skip sporadically failing tests due to LU decomposition #28

Merged
merged 6 commits into from
Jan 19, 2024

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Jan 6, 2024

This is a temporary fix for sporadic failures of tests in TestTSFit related to TSFit calls with the "arima" and "sarima" model strategies.

This is intended as temporary measure, until LU decomposition issues are fixed. Tracking issue is #41.

@fkiraly fkiraly added the bug Something isn't working label Jan 6, 2024
@fkiraly
Copy link
Collaborator Author

fkiraly commented Jan 6, 2024

@astrogilda, should we not just skip all failing tests until resolved, and open an issue to track the problem?

@fkiraly fkiraly changed the title fix: skip test_get_residuals_valid_sarima until LU decomposition issue is fixed fix: temporarily skip sporadically failing tests due to LU decomposition Jan 6, 2024
@fkiraly fkiraly mentioned this pull request Jan 19, 2024
@astrogilda astrogilda merged commit 43c028d into astrogilda:main Jan 19, 2024
6 checks passed
fkiraly added a commit that referenced this pull request Feb 3, 2024
…_extras` soft dependency set (#39)

This PR isolates `arch` and `statsmodels` as soft dependencies, moving
them to an `all_extras` soft dependency set.

Isolation is done as follows:

* moving imports into functions and classes
* adding a `_tags` variable with dependencies specified to all classes
impacted
* isolating tests with `pytest.skipif` using `skbase`
`_check_soft_dependencies`
* skipping doctests triggering the imports. Important, if this reduces
coverage, we should add those doctests as pytests.
* removing or replacing type annotations that require imports

Includes changes:

* the CI `test.yml` is updated to include a full test run with all soft
dependencies, and one without. The former is functionally identical with
current, the latter is a new job called `test-no-softdeps`.
* the CI `test.yml` is updated with a job testing for full dependency
isolation, `test-nodevdeps`, using `skbase` `all_objects` to test
successful import of all modules except `tests`
* minor change, adds a few test skips missed in
#28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants