Skip to content

Commit

Permalink
Cleanup dependencies (#288)
Browse files Browse the repository at this point in the history
* clean up dependencies

* pre commit update

* update dependencies and only python 3.8 is supported
  • Loading branch information
ismael-mendoza authored Apr 7, 2022
1 parent 53c2f76 commit 41ce229
Show file tree
Hide file tree
Showing 7 changed files with 490 additions and 612 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
python-version: [3.8]

steps:
- name: Checkout github repo
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Install Poetry
run: |
pip install --upgrade pip
pip install poetry==1.1.11
pip install poetry
- name: Poetry cache
uses: actions/cache@v2
Expand All @@ -44,7 +44,6 @@ jobs:
- name: Install poetry dependencies
run: |
poetry run pip install Cython
poetry install
- name: build docs
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.8]

steps:
- name: Checkout github repo
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Install Poetry
run: |
pip install --upgrade pip
pip install poetry==1.1.11
pip install poetry
- name: Poetry cache
uses: actions/cache@v2
Expand All @@ -49,7 +49,6 @@ jobs:
- name: Install poetry dependencies
run: |
poetry run pip install Cython
poetry install
- name: Run pre-commit checks
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.8]

steps:
- name: Checkout github repo (+ download lfs dependencies)
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Install Poetry
run: |
pip install --upgrade pip
pip install poetry==1.1.11
pip install poetry
- name: Create environment variables
run: echo "BTK_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV
Expand All @@ -46,9 +46,7 @@ jobs:
- name: Install poetry dependencies
run: |
poetry run pip install Cython
poetry install --extras "scarlet"
poetry run pip install git+https://github.com/pmelchior/scarlet
poetry install
- name: Run notebooks
run: |
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.8]

steps:
- name: Checkout github repo (+ download lfs dependencies)
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Install Poetry
run: |
pip install --upgrade pip
pip install poetry==1.1.10
pip install poetry
- name: Create environment variables
run: echo "BTK_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV
Expand All @@ -46,9 +46,7 @@ jobs:
- name: Install poetry dependencies
run: |
poetry run pip install Cython
poetry install --extras "scarlet"
poetry run pip install git+https://github.com/pmelchior/scarlet
poetry install
- name: Run Tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.2.0
hooks:
- id: trailing-whitespace
exclude: ^.*fits
Expand All @@ -14,7 +14,7 @@ repos:
- id: end-of-file-fixer
exclude: ^.*fits
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
language_version: python3
Expand Down
Loading

0 comments on commit 41ce229

Please sign in to comment.