Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump SmartDashboard to version 0.0.4 #50

Merged
merged 4 commits into from
Apr 19, 2024
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
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
Loading