Skip to content

Commit

Permalink
Merge pull request #24 from NREL/ndr/pin-onnx
Browse files Browse the repository at this point in the history
pin onnxruntime version
  • Loading branch information
nreinicke authored Jul 11, 2024
2 parents 76c22c4 + 7a51fb8 commit 2ae72b8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
# Build the book
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

env:
PYTHON: ${{ matrix.python-version }}
Expand All @@ -34,6 +34,7 @@ jobs:

- name: Install package
run: |
pip install pip --upgrade
pip install ".[dev]"
- name: Run mypy
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ own drive-cycle data, powertrain modeling system, and road network data to train
RouteE Powertrain is available on PyPI and can be installed with `pip`:

```bash
pip install pip --upgrade
pip install nrel.routee.powertrain
```

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "nrel.routee.powertrain"
version = "1.0.4"
version = "1.1.0"
description = "RouteE-Powertrain is a tool for predicting energy usage over a set of road links."
readme = "README.md"
authors = [{ name = "National Renewable Energy Laboratory" }]
Expand All @@ -17,8 +17,8 @@ classifiers = [
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
dependencies = ["pandas", "numpy", "onnx", "onnxruntime"]
requires-python = ">=3.8,<3.12"
dependencies = ["pandas", "numpy", "onnx", "onnxruntime==1.18.1"]
requires-python = ">=3.8"

[project.optional-dependencies]
scikit = ["scikit-learn", "skl2onnx"]
Expand Down

0 comments on commit 2ae72b8

Please sign in to comment.