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
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4.0.0
- uses: actions/setup-python@v5
with:
python-version: "3.13"
python-version: "3.14"
- run: pip install tox
- run: tox -e docs
tests:
Expand All @@ -25,6 +25,8 @@ jobs:
include:
- {name: '3.10', python: '3.10', tox: py310}
- {name: '3.12', python: '3.12', tox: py312}
- {name: '3.14', python: '3.14', tox: py314}

- {name: 'min', python: '3.10', tox: min}
steps:
- uses: actions/checkout@v4
Expand All @@ -45,7 +47,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
python-version: "3.14"
- name: Install pypa/build
run: python -m pip install build
- name: Build a binary wheel and a source tarball
Expand All @@ -68,7 +70,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
python-version: "3.14"
- run: python -m pip install tox
- run: python -m tox -e lint
publish-to-pypi:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


[![PyPI](https://img.shields.io/pypi/v/python-tide?label=pypi%20package)](https://pypi.org/project/python-tide/)
[![Static Badge](https://img.shields.io/badge/python-3.10_%7C_3.12-blue)](https://pypi.org/project/python-tide/)
[![Static Badge](https://img.shields.io/badge/python-3.10_%7C_3.14-blue)](https://pypi.org/project/python-tide/)
[![codecov](https://codecov.io/gh/BuildingEnergySimulationTools/tide/branch/main/graph/badge.svg?token=F51O9CXI61)](https://codecov.io/gh/BuildingEnergySimulationTools/tide)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.10"
dependencies = [
Expand All @@ -28,9 +29,9 @@ dependencies = [
"statsmodels>=0.14.4",
"matplotlib>=3.5.1",
"plotly>=5.3.1",
"requests>=2.32.3",
"requests>=2.32.3, <3.0",
"influxdb-client>=1.48.0",
"prophet>=1.1.5",
"prophet>=1.2.1",
]

[project.optional-dependencies]
Expand Down
19 changes: 8 additions & 11 deletions requirements/install-min.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# minimal working environment (stable with Prophet 1.1.5 + cmdstanpy)
numpy==1.25.2
pandas==2.1.4
scipy==1.10.1
numpy==1.22.4
pandas==2.0.0
scipy==1.9.1
scikit-learn==1.2.2
statsmodels==0.14.4
matplotlib==3.7.1
plotly==5.13.1
requests==2.31.0
matplotlib==3.5.1
plotly==5.3.1
requests==2.32.3
bigtree==0.21.3
influxdb-client==1.48.0
prophet==1.2.1

# prophet pinned to stable pre-1.1.6 behavior
prophet==1.1.5

# make sure cmdstan backend is available and chosen by Prophet
cmdstanpy==1.2.0
2 changes: 1 addition & 1 deletion tide/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2395,7 +2395,7 @@ def _transform_implementation(self, X: pd.DataFrame) -> pd.DataFrame:
X
if not self.drop_columns
else X[[col for col in X.columns if col not in self.required_columns]]
)
).copy()

for group, result_col in zip(self.column_groups_, self.result_columns_):
# Build local_dict for pd.eval
Expand Down