Skip to content

Commit

Permalink
Merge pull request #476 from andy-5/fix-missing-pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTremblay authored Sep 17, 2024
2 parents 71d504f + 3b4672f commit 33e2e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion BAC0/core/utils/lookfordependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def influxdb_if_available():
def pandas_if_available() -> tuple[bool, Type, ModuleType, ModuleType]:
global _PANDAS
if not check_dependencies(["pandas"]):
return None
_PANDAS = False
return (_PANDAS, FakePandas, FakePandas.sql, FakePandas.Timestamp)

try:
pd = import_module("pandas")
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "BAC0"
version = "2024.09.15dev"
version = "2024.09.16"
description = "BACnet Scripting Framework for testing DDC Controls"
authors = [{name = "Christian Tremblay", email = "[email protected]"}]
readme = "README.md"
Expand Down Expand Up @@ -40,4 +40,4 @@ include = [
namespaces = false

[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "session"
asyncio_default_fixture_loop_scope = "session"

0 comments on commit 33e2e3b

Please sign in to comment.