Skip to content

Commit 33e2e3b

Browse files
Merge pull request #476 from andy-5/fix-missing-pandas
2 parents 71d504f + 3b4672f commit 33e2e3b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

BAC0/core/utils/lookfordependency.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def influxdb_if_available():
5858
def pandas_if_available() -> tuple[bool, Type, ModuleType, ModuleType]:
5959
global _PANDAS
6060
if not check_dependencies(["pandas"]):
61-
return None
61+
_PANDAS = False
62+
return (_PANDAS, FakePandas, FakePandas.sql, FakePandas.Timestamp)
6263

6364
try:
6465
pd = import_module("pandas")

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "BAC0"
3-
version = "2024.09.15dev"
3+
version = "2024.09.16"
44
description = "BACnet Scripting Framework for testing DDC Controls"
55
authors = [{name = "Christian Tremblay", email = "[email protected]"}]
66
readme = "README.md"
@@ -40,4 +40,4 @@ include = [
4040
namespaces = false
4141

4242
[tool.pytest.ini_options]
43-
asyncio_default_fixture_loop_scope = "session"
43+
asyncio_default_fixture_loop_scope = "session"

0 commit comments

Comments
 (0)