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

Cleanup dependencies #288

Merged
merged 3 commits into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
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