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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: default py3.8 #689

Merged
merged 28 commits into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from 27 commits
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
4 changes: 2 additions & 2 deletions .github/workflows/ci_install-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8

- name: Check package
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macOS-10.15 , windows-2019]
python-version: [3.7]
python-version: [3.8]
timeout-minutes: 10

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: |
pip install flake8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8

- name: Install dependencies
run: >-
Expand Down
2 changes: 1 addition & 1 deletion requirements/audio_test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pypesq
pypesq>1.2
mir_eval>=0.6
speechmetrics @ https://github.com/aliutkus/speechmetrics/archive/refs/heads/master.zip
fast-bss-eval>=0.1.0
Expand Down
1 change: 0 additions & 1 deletion src/torchmetrics/utilities/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def _compare_version(package: str, op: Callable, version: str) -> Optional[bool]
_SCIPY_AVAILABLE: bool = _package_available("scipy")
_TORCH_FIDELITY_AVAILABLE: bool = _package_available("torch_fidelity")
_LPIPS_AVAILABLE: bool = _package_available("lpips")
Borda marked this conversation as resolved.
Show resolved Hide resolved
_PYCOCOTOOLS_AVAILABLE: bool = _package_available("pycocotools")
_TORCHVISION_AVAILABLE: bool = _package_available("torchvision")
_TORCHVISION_GREATER_EQUAL_0_8: Optional[bool] = _compare_version("torchvision", operator.ge, "0.8.0")
_TQDM_AVAILABLE: bool = _package_available("tqdm")
Expand Down