diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 84337428..a492bd3b 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 # lfs: true @@ -33,15 +33,15 @@ jobs: - name: Git LFS Pull run: git lfs pull - - name: Set up Python 3.8 - uses: actions/setup-python@v1 + - name: Set up Python 3.9 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | pip install ".[dev]" sudo apt-get update - sudo apt-get install libssl-dev libcurl4-openssl-dev + sudo apt-get install libssl-dev libcurl4-openssl-dev libpng-dev - name: Test with nose run: | nosetests -s -v @@ -53,7 +53,13 @@ jobs: - uses: r-lib/actions/setup-r@v2 - uses: r-lib/actions/setup-pandoc@v2 - name: Install R packages - run: Rscript -e 'install.packages(c("rmarkdown", "plotly", "dplyr", "htmlwidgets", "htmltools", "jsonlite", "readr", "DT", "remotes", "pmlbr"))' + env: + GITHUB_PAT: ${{ secrets.GH_PAT }} + shell: Rscript {0} + run: | + install.packages(c("rmarkdown", "plotly", "dplyr", "htmlwidgets", "htmltools", "jsonlite", "readr", "DT", "remotes")) + remotes::install_github("EpistasisLab/pmlbr") + - name: Set up reticulate run: | diff --git a/pmlb/profiling.py b/pmlb/profiling.py index 9d80a7c1..6e9834dc 100644 --- a/pmlb/profiling.py +++ b/pmlb/profiling.py @@ -3,7 +3,7 @@ import subprocess import pandas as pd -from pandas_profiling import ProfileReport +from ydata_profiling import ProfileReport # Updated import from .pmlb import ( fetch_data, get_updated_datasets, last_commit_message diff --git a/setup.py b/setup.py index c3553dcb..031086af 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def calculate_version(): ], extras_require={ 'dev': ['nose', 'numpy', 'scipy', 'tabulate', 'parameterized', - 'matplotlib', 'seaborn', 'pandas-profiling'], + 'matplotlib', 'seaborn', 'ydata-profiling'], }, classifiers=[ 'Intended Audience :: Developers',