Skip to content

Commit

Permalink
now covers python 3.9..=3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Dec 20, 2024
1 parent 1e4c20a commit 4def989
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/py-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10']
python-version: ['3.9', '3.10', '3.11']

env:
PYTHON: ${{ matrix.python-version }}
Expand All @@ -44,4 +44,4 @@ jobs:
run: |
pip install maturin pytest
pip install -e ".[dev]"
pytest python/altrios -s
pytest python/altrios -s
1 change: 1 addition & 0 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
python-version:
- "9"
- "10"
- "11"
include:
- os: ubuntu
platform: linux
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ authors = [
description = "Tool for modeling and optimization of advanced locomotive powertrains for freight rail decarbonization."
readme = "README.md"
license = { file = "LICENSE.md" }
requires-python = ">=3.9, <3.11"
requires-python = ">=3.9, <3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
Expand Down
2 changes: 2 additions & 0 deletions python/altrios/demos/sim_manager_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,5 @@
plt.tight_layout()
plt.savefig(plot_dir / f"sim num {idx}.png")
plt.savefig(plot_dir / f"sim num {idx}.svg")

# %%
2 changes: 1 addition & 1 deletion python/altrios/train_planner.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pathlib import Path
jfrom pathlib import Path
from typing import Union
import numpy as np
from scipy.stats import rankdata
Expand Down

0 comments on commit 4def989

Please sign in to comment.