Skip to content

Commit

Permalink
fix: Change rich lower bound pin to >=10.11.0 (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored May 7, 2024
1 parent 8154bca commit d533213
Show file tree
Hide file tree
Showing 7 changed files with 784 additions and 793 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Documentation

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -16,7 +20,7 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -26,7 +30,7 @@ jobs:
activate-environment: makim
auto-update-conda: true
conda-solver: libmamba
python-version: 3.8
python-version: "3.8"

- name: Install deps
run: |
Expand All @@ -37,6 +41,7 @@ jobs:
run: makim --verbose docs.build

- name: GitHub Pages action
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ github.event_name == 'pull_request' }}
with:
fetch-depth: 0
Expand All @@ -29,7 +29,6 @@ jobs:
pr_sha: ${{ github.event.pull_request.head.sha }}

tests:
needs: check-branch
strategy:
matrix:
python_version:
Expand All @@ -54,7 +53,7 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -64,7 +63,7 @@ jobs:
activate-environment: makim
auto-update-conda: true
conda-solver: libmamba
python-version: ${{ matrix.python_version }}
python-version: "${{ matrix.python_version }}"

- name: Check Poetry lock
run: poetry check
Expand Down Expand Up @@ -124,8 +123,7 @@ jobs:
if: "${{ failure() && (contains(github.event.pull_request.labels.*.name, 'ci:enable-debugging')) }}"
uses: mxschmitt/action-tmate@v3

linter-and-docs:
needs: check-branch
linter:
runs-on: ubuntu-latest
timeout-minutes: 10

Expand All @@ -138,7 +136,7 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -154,9 +152,6 @@ jobs:
poetry config virtualenvs.create false
poetry install
- name: Test documentation generation
run: makim docs.build

- name: Run style checks
if: success() || failure()
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -30,6 +30,7 @@ jobs:
activate-environment: makim
auto-update-conda: true
conda-solver: libmamba
python-version: "3.11"

- name: Install deps
run: |
Expand Down
10 changes: 6 additions & 4 deletions .makim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ groups:
rm -fr build/
rm -fr dist/
rm -fr .eggs/
rm -f .coverage
rm -fr htmlcov/
rm -fr .pytest_cache
rm -fr .ruff_cache
rm -fr .mypy_cache
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -f {} +
find . -name '*.pyc' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
rm -f .coverage
rm -fr htmlcov/
rm -fr .pytest_cache
docs:
tasks:
Expand All @@ -36,7 +38,7 @@ groups:
app: |
npx --yes \
-p semantic-release \
-p conventional-changelog-conventionalcommits \
-p conventional-changelog-conventionalcommits@7.0.2 \
-p "@semantic-release/commit-analyzer" \
-p "@semantic-release/release-notes-generator" \
-p "@semantic-release/changelog" \
Expand Down
2 changes: 1 addition & 1 deletion conda/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- nodefaults
- conda-forge
dependencies:
- python >=3.8.1,<3.12 # min version supported
- python
- poetry >=1.5
- nodejs >=18.17 # used by semantic-release
- pip
Expand Down
Loading

0 comments on commit d533213

Please sign in to comment.