Skip to content

Commit

Permalink
Bump SmartDashboard to version 0.0.4 (CrayLabs#50)
Browse files Browse the repository at this point in the history
Bump ubuntu to version 0.0.4, exclude streamlit version 1.31.X

[ committed by @AlyssaCote ]
[ reviewed by @MattToast ]
  • Loading branch information
AlyssaCote authored Apr 19, 2024
1 parent 79be2fd commit 9200627
Show file tree
Hide file tree
Showing 19 changed files with 360 additions and 17 deletions.
2 changes: 2 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ Development branch

Description

- Bump version to 0.0.4, exclude streamlit version 1.31.X (SmartDashboard-PR50_)
- Drop Python 3.8 support, add 3.11 support. (SmartDashboard-PR49_)
- Add Database Telemetry page. (SmartDashboard-PR38_)
- Add Github Actions workflow that checks if changelog is edited
on pull requests into develop. (SmartDashboard-PR47_)
- Add manifest file tracking. (SmartDashboard-PR46_)

.. _SmartDashboard-PR50: https://github.com/CrayLabs/SmartDashboard/pull/50
.. _SmartDashboard-PR49: https://github.com/CrayLabs/SmartDashboard/pull/49
.. _SmartDashboard-PR38: https://github.com/CrayLabs/SmartDashboard/pull/38
.. _SmartDashboard-PR47: https://github.com/CrayLabs/SmartDashboard/pull/47
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Hewlett Packard Enterprise'

# The full version, including alpha/beta/rc tags
version = "0.0.3"
version = "0.0.4"

# The full version, including alpha/beta/rc tags
release = version
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "smartdashboard"
version = "0.0.3"
version = "0.0.4"
requires-python = ">=3.9,<3.12"
authors = [
{name = "CrayLabs: a Hewlett Packard Enterprise OSS Organization", email = "[email protected]"},
Expand All @@ -53,7 +53,7 @@ dependencies = [
"altair>=5.2.0",
"pandas>=2.0.0",
"pydantic>=2.5.2",
"streamlit>=1.28.0, <1.31.0",
"streamlit>=1.28.0, !=1.31.0, !=1.31.1",
"watchdog>=3.0.0",
]

Expand Down
4 changes: 2 additions & 2 deletions smartdashboard/utils/ManifestReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ def __init__(self, file_path: pathlib.Path) -> None:
"Version data is malformed.", file=str(self._file_path), exception=key
) from key

if version not in ("0.0.2", "0.0.3"):
if version not in ("0.0.2", "0.0.3", "0.0.4"):
version_exception = Exception(
"SmartDashboard version 0.0.3 is unable to parse manifest "
"SmartDashboard version 0.0.4 is unable to parse manifest "
f"file at version {version}."
)
raise VersionIncompatibilityError(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
"tests/utils/manifest_files/0.0.2_manifest.json",
ManifestFileReader,
),
pytest.param(
"tests/utils/manifest_files/0.0.3_manifest.json",
ManifestFileReader,
),
pytest.param(
"tests/utils/manifest_files/no_apps_manifest.json",
ManifestFileReader,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@
3,
Manifest,
),
pytest.param(
"tests/utils/manifest_files/0.0.3_manifest.json",
1,
2,
1,
1,
Manifest,
),
],
)
def test_get_manifest(
Expand Down
Loading

0 comments on commit 9200627

Please sign in to comment.