Skip to content

Commit

Permalink
Merge branch 'main' into dev/add_python_312
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Dec 15, 2023
2 parents 933dd44 + 6471640 commit 9465df8
Show file tree
Hide file tree
Showing 57 changed files with 854 additions and 2,858 deletions.
23 changes: 14 additions & 9 deletions tools/check_package_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,26 @@ def _check_no_dev_version(package_name, package_version):


if __name__ == "__main__":
package_name = "dummy_package"
package_version = "0.0.0"
new_release = False
number_of_releases = False
env_file = str(os.getenv("GITHUB_ENV"))

for package_name in AVAILABLE_PACKAGES:
package_version = subprocess.check_output(["hatch", "version"], cwd=f"{package_name}").decode("utf-8").strip()
for attempted_package_name in AVAILABLE_PACKAGES:
attempted_package_version = (
subprocess.check_output(["hatch", "version"], cwd=f"{attempted_package_name}").decode("utf-8").strip()
)

if _check_no_dev_version(package_name, package_version) and _check_no_version_pypi(
package_name, package_version
if _check_no_dev_version(attempted_package_name, attempted_package_version) and _check_no_version_pypi(
attempted_package_name, attempted_package_version
):
if new_release:
sys.exit("Cannot release two packages at the same time. Please modify your PR.")
new_release = True
package_name = attempted_package_name
package_version = attempted_package_version

with open(env_file, "a") as f:
f.write(f"NEW_RELEASE={str(new_release)}\n")
if new_release:
f.write(f"PACKAGE_NAME={package_name}\nPACKAGE_VERSION={package_version}\n")
with open(env_file, "a") as f:
f.write(f"NEW_RELEASE={str(new_release)}\n")
if new_release:
f.write(f"PACKAGE_NAME={package_name}\nPACKAGE_VERSION={package_version}\n")
28 changes: 28 additions & 0 deletions vizro-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,34 @@ See the fragment files in the [changelog.d directory](https://github.com/mckinse

<!-- scriv-insert-here -->

<a id='changelog-0.1.7'></a>

# 0.1.7 — 2023-12-15

## Highlights ✨

- Release of custom actions. Visit the [user guide on custom actions](https://vizro.readthedocs.io/en/stable/pages/user_guides/custom_actions/) to learn more. ([#178](https://github.com/mckinsey/vizro/pull/178))

- Add `NavBar` and `NavLink` models to enable a hierarchical navigation bar with icons. Visit the [user guide on navigation](https://vizro.readthedocs.io/en/stable/pages/user_guides/navigation/) to learn more. ([#70](https://github.com/mckinsey/vizro/pull/70))

## Added

- Enable tooltips for `NavLink` ([#186](https://github.com/mckinsey/vizro/pull/186))

## Changed

- Change the persistence of client-side data to `session` rather than `local` ([#182](https://github.com/mckinsey/vizro/pull/182))

- Bump dash lower bound to 2.14.1 ([#203](https://github.com/mckinsey/vizro/pull/203))

## Fixed

- Remove graph flickering on page load with Vizro light theme ([#166](https://github.com/mckinsey/vizro/pull/166))

- Fix `vm.Slider` and `vm.RangeSlider` to work with incorrect text input ([#173](https://github.com/mckinsey/vizro/pull/173))

- Remove default font color from global CSS to enable overwrites ([#213](https://github.com/mckinsey/vizro/pull/213))

<a id='changelog-0.1.6'></a>

# 0.1.6 — 2023-11-09
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9465df8

Please sign in to comment.