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

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    2da92ef View commit details
    Browse the repository at this point in the history
  2. Temporarily use scipy<1.13 to avoid import error of triu package

    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
    aecio committed May 23, 2024
    Configuration menu
    Copy the full SHA
    39ab9eb View commit details
    Browse the repository at this point in the history
  3. Temporarily use matplotlib<3.9 to avoid PolyFuzz error

    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 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    6ce7ec6 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Configuration menu
    Copy the full SHA
    7f66dfe View commit details
    Browse the repository at this point in the history