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

Continous Integration Tests #129

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Continous Integration Tests #129

wants to merge 15 commits into from

Conversation

jcharkow
Copy link
Contributor

@jcharkow jcharkow commented Oct 31, 2024

This adds continuous integration tests (using the existing pyprophet tests) to pyprophet using github actions.

Note this uses pytest instead of nose because nose is no longer being maintained.

Many tests are currently failing so ideally we can address why they are failing before merging.

I also migrated setup to using a .toml file as I was having difficulties with setup.py not having a numpy requirement. Note that because cython is used a setup.py is still required.

@singjc
Copy link
Contributor

singjc commented Oct 31, 2024

I think some of the issues may be related to numpy 2.0. I was looking into updating pyprophet to using numpy 2.0 a month ago or so, but got busy with other work, so had to put it on hold.

If you have time, would you be interested in taking this on or working on it together?

@jcharkow
Copy link
Contributor Author

We can work on it together! I will take a look at tests/test_pyprophet_score.py and tests/test_stats.py to start with

@jcharkow
Copy link
Contributor Author

I am having trouble with test_osw_4. It seems to be working fine with xgboost 1.7.3 (even with numpy 2.0) however when I upgrade to xgboost 2.0 it breaks. Any ideas?

note tests still fail though, possibly because random seed is different?
update the tests to remove old parameters and fix tests that were
failing
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