Skip to content
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
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
resolution: [highest, lowest-direct]
steps:
- name: Check out repository code
uses: actions/checkout@v5
Expand All @@ -18,21 +21,22 @@ jobs:
# Use oldest supported Python version for linting to ensure compatibility
python-version: "3.10"
- name: Install dependencies
run: uv sync --dev
run: uv sync --dev --resolution=${{ matrix.resolution }}
- name: Run ruff linting
run: uv run ruff check
run: uv run --no-sync ruff check
- name: Check code formatting
run: uv run ruff format --check
run: uv run --no-sync ruff format --check
- name: Run mypy type checking
run: uv run mypy .
run: uv run --no-sync mypy .

test:
name: Test Python ${{ matrix.python-version }}
name: Test Python ${{ matrix.python-version }} - ${{ matrix.resolution }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
resolution: [highest, lowest-direct]

steps:
- name: Check out repository code
Expand All @@ -44,7 +48,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --dev
run: uv sync --dev --resolution=${{ matrix.resolution }}

- name: Run tests
run: uv run pytest
run: uv run --no-sync pytest
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
- Replaced `Make` with `just` for development commands
- Relaxed dependency version requirements.

### Deprecated
- `CSVDataFeed` - Use `PolarsDataFeed` instead for loading data from CSV files
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ classifiers = [
'Topic :: Software Development',
]
dependencies = [
"httpx>=0.28.1",
"polars>=1.35.2",
"plotly>=5.18.0",
"httpx>=0.28.0",
"polars>=1.0.0",
"plotly>=5.0.0",
"python-dotenv>=1.0.0",
"typing-extensions>=4.15.0",
"typing-extensions>=4.6.0",
]

[project.urls]
Expand Down Expand Up @@ -75,11 +75,11 @@ pythonpath = ["."]

[dependency-groups]
dev = [
"mkdocs-material>=9.6.21",
"mkdocs-material>=9.7.1",
"mkdocstrings[python]>=0.24.0",
"mypy>=1.18.2",
"plotly-stubs>=0.0.6",
"pytest>=8.4.2",
"pytest>=9.0.0",
"pytest-cov>=7.0.0",
"pytest-httpx>=0.35.0",
"ruff>=0.14.0",
Expand Down
Loading