openeemeter / eemeter

An open source python package for implementing and developing standard methods for calculating normalized metered energy consumption and avoided energy use.
http://eemeter.openee.io/
Apache License 2.0
220 stars 70 forks source link

8 tests fail #508

Open yurivict opened 4 months ago

yurivict commented 4 months ago

log

Tarball is taken from PYPI: https://files.pythonhosted.org/packages/2a/70/18cb6e9d0f3d88a562b94ae9752753f564cf331a5d00cc66b12081f1d84b/eemeter-4.0.5.tar.gz

Version: 4.0.5 Python-3.11

jason-recurve commented 3 months ago

There are two problems here:

We've typically run our testing within a Docker container that mounts the project directory and includes dev dependencies, so this snuck past us. We can add a test_requires section in setup.py for now, and clean this up further when we switch to using pyproject.toml.

For now, if you'd like to verify the tests in your environment, you can fetch https://raw.githubusercontent.com/openeemeter/eemeter/master/tests/daily_model/test_data.csv and pip install snapshottest prior to running pytest