Skip to content

Commit

Permalink
chore: #52 update dependencies and pipeline (#53)
Browse files Browse the repository at this point in the history
* chore(poetry): #52

* chore(ci): #52
  • Loading branch information
cmp0xff authored Jun 2, 2024
1 parent 08e0e08 commit 4f4378e
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 58 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].1
- uses: actions/setup-python@v5.0.0
- uses: actions/[email protected].6
- uses: actions/setup-python@v5.1.0
with:
python-version: "3.12"
- uses: pre-commit/[email protected]
deploy-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].1
- uses: actions/setup-python@v5.0.0
- uses: actions/[email protected].6
- uses: actions/setup-python@v5.1.0
with:
python-version: "3.12"
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.2
poetry-version: 1.8.3
- name: Install Packages
run: poetry install --with docs,tutorial
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].1
- uses: actions/setup-python@v5.0.0
- uses: actions/[email protected].6
- uses: actions/setup-python@v5.1.0
with:
python-version: "3.12"
- uses: pre-commit/[email protected]
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].1
- uses: actions/setup-python@v5.0.0
- uses: actions/[email protected].6
- uses: actions/setup-python@v5.1.0
with:
python-version: "3.12"
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.2
poetry-version: 1.8.3
- name: Install Packages
run: poetry install --with docs,tutorial
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Build Docs
run: poetry run mkdocs build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
folder: site
clean-exclude: pr-preview/
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/[email protected].1
uses: actions/[email protected].6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.2
poetry-version: 1.8.3
- name: Install Packages
run: poetry install --with docs,tutorial
- name: Build coverage file
Expand All @@ -31,17 +31,17 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].6
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.0
with:
python-version: "3.12"
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.2
poetry-version: 1.8.3
- name: Install dependencies
run: |
poetry --version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/[email protected].1
uses: actions/[email protected].6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.2
poetry-version: 1.8.3
- name: Install Packages
run: poetry install --with docs,tutorial
- name: Build coverage file
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
args: [--no-strict-optional, --ignore-missing-imports]
files: ^(hamilflow/|tests/)
- repo: https://github.com/ambv/black
rev: 24.2.0
rev: 24.4.2
hooks:
- id: black
language: python
Expand Down
69 changes: 34 additions & 35 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ packages = [{include = "hamilflow"}]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
numpy = "^1.26.3"
pandas = ">=2.0.0,<=2.2.0"
pandas = "^2.2.2"
pydantic = "^2.6.1"
loguru = "^0.7.2"
matplotlib = "^3.8.3"
Expand All @@ -36,7 +36,7 @@ plotly = "^5.19.0"


[tool.poetry.group.dev.dependencies]
commitizen = "^3.18.0"
commitizen = "*"


[tool.commitizen]
Expand Down

0 comments on commit 4f4378e

Please sign in to comment.