From f5596344e40797f7681a0503ff02afb0e4d43d91 Mon Sep 17 00:00:00 2001 From: Jinyu Date: Tue, 14 Jun 2022 15:50:46 +0800 Subject: [PATCH 1/5] update package version --- maro/__misc__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maro/__misc__.py b/maro/__misc__.py index d647fe08c..69afa671a 100644 --- a/maro/__misc__.py +++ b/maro/__misc__.py @@ -2,6 +2,6 @@ # Licensed under the MIT license. -__version__ = "0.2.4a1" +__version__ = "0.3.0a1" __data_version__ = "0.2" From 67dea1730fbafdc4beb9b0dd2739b4aeebb70558 Mon Sep 17 00:00:00 2001 From: zhanyu wang Date: Tue, 5 Jul 2022 13:42:54 +0800 Subject: [PATCH 2/5] try fix citi bike hello world dashboard (#555) * Update citi_bike_dashboard.py remove missed keys in option candidates * Update dashboard_helper.py use a copy of attribute_option_candidates in functions --- maro/cli/inspector/citi_bike_dashboard.py | 2 +- maro/cli/inspector/dashboard_helper.py | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/maro/cli/inspector/citi_bike_dashboard.py b/maro/cli/inspector/citi_bike_dashboard.py index b60eb693b..1edd553af 100644 --- a/maro/cli/inspector/citi_bike_dashboard.py +++ b/maro/cli/inspector/citi_bike_dashboard.py @@ -66,7 +66,7 @@ def render_inter_view(source_path: str, epoch_num: int): # Get epoch sample number. down_pooling_range = helper._get_sampled_epoch_range(epoch_num, sample_ratio) attribute_option_candidates = ( - CITIBIKEItemOption.quick_info + CITIBIKEItemOption.requirement_info + CITIBIKEItemOption.station_info + CITIBIKEItemOption.quick_info + CITIBIKEItemOption.requirement_info + ["bikes", "capacity"] ) # Generate data. data_summary = helper.read_detail_csv( diff --git a/maro/cli/inspector/dashboard_helper.py b/maro/cli/inspector/dashboard_helper.py index a9b332058..6ccb9e2e9 100644 --- a/maro/cli/inspector/dashboard_helper.py +++ b/maro/cli/inspector/dashboard_helper.py @@ -1,6 +1,7 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. +import copy import math from typing import List @@ -206,10 +207,10 @@ def _get_attribute_option( if scenario == GlobalScenarios.CITI_BIKE: for item in attribute_option: if item == "All": - attribute_option_candidates.remove("All") - attribute_option_candidates.remove("Requirement Info") - attribute_option_candidates.remove("Station Info") - attribute_option_res = attribute_option_candidates + attribute_option_res = copy.deepcopy(attribute_option_candidates) + attribute_option_res.remove("All") + attribute_option_res.remove("Requirement Info") + attribute_option_res.remove("Station Info") break elif item == "Requirement Info": attribute_option_res = attribute_option_res + CITIBIKEItemOption.requirement_info @@ -222,10 +223,10 @@ def _get_attribute_option( if scenario == GlobalScenarios.CIM: for item in attribute_option: if item == "All": - attribute_option_candidates.remove("All") - attribute_option_candidates.remove("Booking Info") - attribute_option_candidates.remove("Port Info") - attribute_option_res = attribute_option_candidates + attribute_option_res = copy.deepcopy(attribute_option_candidates) + attribute_option_res.remove("All") + attribute_option_res.remove("Booking Info") + attribute_option_res.remove("Port Info") break elif item == "Booking Info": attribute_option_res = attribute_option_res + CIMItemOption.booking_info From 11374bad6e850c536be8b8c355acdd21089c5252 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Aug 2022 15:28:21 +0800 Subject: [PATCH 3/5] Bump streamlit from 0.69.1 to 1.11.1 (#558) Bumps [streamlit](https://github.com/streamlit/streamlit) from 0.69.1 to 1.11.1. - [Release notes](https://github.com/streamlit/streamlit/releases) - [Commits](https://github.com/streamlit/streamlit/compare/0.69.1...1.11.1) --- updated-dependencies: - dependency-name: streamlit dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.dev.txt b/requirements.dev.txt index 8c34db6eb..f7f484617 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -57,7 +57,7 @@ setuptools==58.0.4 six==1.13.0 sphinx==1.8.6 sphinx_rtd_theme==1.0.0 -streamlit==0.69.1 +streamlit==1.11.1 stringcase==1.2.0 tabulate==0.8.5 termgraph==0.5.3 From 00d46964e0bb05b56a21caa220929fd60959f00f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Aug 2022 15:55:55 +0800 Subject: [PATCH 4/5] Bump streamlit from 0.69.1 to 1.11.1 in /maro/cli/inspector (#557) Bumps [streamlit](https://github.com/streamlit/streamlit) from 0.69.1 to 1.11.1. - [Release notes](https://github.com/streamlit/streamlit/releases) - [Commits](https://github.com/streamlit/streamlit/compare/0.69.1...1.11.1) --- updated-dependencies: - dependency-name: streamlit dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jinyu-W <53509467+Jinyu-W@users.noreply.github.com> --- maro/cli/inspector/requirements.inspector.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maro/cli/inspector/requirements.inspector.txt b/maro/cli/inspector/requirements.inspector.txt index e906fff28..b1cd0c821 100644 --- a/maro/cli/inspector/requirements.inspector.txt +++ b/maro/cli/inspector/requirements.inspector.txt @@ -1,3 +1,3 @@ altair==4.1.0 -streamlit==0.69.1 +streamlit==1.11.1 tqdm==4.51.0 From 38eb389df1838639fd101d9409e2659277c2d4da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Dec 2022 15:33:38 +0800 Subject: [PATCH 5/5] Bump certifi from 2019.9.11 to 2022.12.7 (#566) Bumps [certifi](https://github.com/certifi/python-certifi) from 2019.9.11 to 2022.12.7. - [Release notes](https://github.com/certifi/python-certifi/releases) - [Commits](https://github.com/certifi/python-certifi/compare/2019.09.11...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:development ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.dev.txt b/requirements.dev.txt index f7f484617..2ddf0ab73 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -9,7 +9,7 @@ azure-mgmt-resource azure-mgmt-storage azure-storage-file-share black==22.3.0 -certifi==2019.9.11 +certifi==2022.12.7 cryptography==36.0.1 cycler==0.10.0 Cython==0.29.14