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

Add PR template, and make the dependencies consistent in all config files #78

Merged
merged 2 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix dependency error in daily testing (#77)
* fix: install all dependencies in the scope of `dev`;

* fix: update dependency limitations into setup.py;

* fix: remove dependency limitations on numpy and sklearn;
  • Loading branch information
WenjieDu committed Apr 30, 2023
commit 955720ccd1ad1ba7d3eab2c320edab616c874082
8 changes: 5 additions & 3 deletions .github/workflows/testing_daily.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Daily Testing

on:
push:
branches:
- fix_dependency_error_in_daily_testing
schedule:
# https://crontab.guru. Run everyday at 0:00AM UTC, i.e. 08:00AM Beijing, i.e. 08:00PM Montreal (summer time)
- cron: "0 0 * * *"
Expand Down Expand Up @@ -42,8 +45,7 @@ jobs:
- name: Install other dependencies
run: |
pip install -e ".[optional]" -f "https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+cpu.html"
pip install -e ".[basic]"
pip install -e ".[test]"
pip install -e ".[dev]"

- name: Fetch the test environment details
run: |
Expand All @@ -62,4 +64,4 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: "coverage.lcov"
path-to-lcov: "coverage.lcov"
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ extend-ignore =

# basic dependencies
basic =
numpy>=1.23.3
scikit-learn>=0.24.1
numpy
scikit-learn
pandas<2.0.0
torch>=1.10.0
tensorboard
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
author="Wenjie Du",
author_email="[email protected]",
url="https://github.com/WenjieDu/PyPOTS",
download_url="https://github.com/WenjieDu/PyPOTS/archive/master.zip",
download_url="https://github.com/WenjieDu/PyPOTS/archive/main.zip",
keywords=[
"data mining",
"neural networks",
Expand Down