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

Setup CI infrastructure for automated tests #37

Merged
merged 4 commits into from
May 28, 2024
Merged

Setup CI infrastructure for automated tests #37

merged 4 commits into from
May 28, 2024

Conversation

aecio
Copy link
Member

@aecio aecio commented May 23, 2024

No description provided.

aecio added 3 commits May 23, 2024 18:40
Pinning scipy to version lower than 1.13 to avoid the following error:
ImportError: cannot import name 'triu' from 'scipy.linalg'
(/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/scipy/linalg/__init__.py)

This version restriction can be removed when packages that depend on
triu are fixed. See e.g.:
- piskvorky/gensim#3524
- scipy/scipy#20402
PolyFuzz is being installed as a transitive dependency, and the
following error happens due to the removal of `matplotlib.cm.get_cmap`
in matplotlib 3.9. We can remove the restriction when PolyFuzz releases
a version that fixes the issue

/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/polyfuzz/__init__.py:1:
in <module>
    from .polyfuzz import PolyFuzz
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/polyfuzz/polyfuzz.py:9:
in <module>
from polyfuzz.metrics import precision_recall_curve,
visualize_precision_recall
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/polyfuzz/metrics.py:8:
in <module>
    from matplotlib.cm import get_cmap
E   ImportError: cannot import name 'get_cmap' from 'matplotlib.cm'
(/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/matplotlib/cm.py)
@aecio aecio marked this pull request as ready for review May 24, 2024 00:11
@aecio aecio requested a review from roquelopez May 24, 2024 16:32
Copy link
Collaborator

@roquelopez roquelopez left a comment

Choose a reason for hiding this comment

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

It looks good, I tested and worked! Feel free to merge it.

@aecio aecio merged commit 8866f46 into devel May 28, 2024
8 checks passed
@roquelopez roquelopez deleted the setup-test-ci branch May 28, 2024 14:17
aecio added a commit that referenced this pull request Jul 26, 2024
Setup CI infrastructure for automated tests
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