Skip to content

Commit

Permalink
Merge branch 'main' into feat/button_as_control
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Oct 3, 2023
2 parents adc2674 + 6a14255 commit ad02cae
Show file tree
Hide file tree
Showing 10 changed files with 171 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ repos:
- id: mypy
files: ^vizro-core/src/
additional_dependencies:
- pydantic<2.0.0
- pydantic>=1.10.13, <2

- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Configuration can be written in multiple formats including **Pydantic models**,

Optional high-code extensions allow almost infinite customization in a modular way, combining the best of low-code and high-code - for flexible and scalable, Python enabled data visualization applications

(Visit the ["Why Vizro"](https://vizro.readthedocs.io/en/stable/pages/explanation/why_vizro/) section to see a more detailed explanation of Vizro use cases)
(Visit the ["Why Vizro"](https://vizro.readthedocs.io/en/latest/pages/explanation/why_vizro/) section to see a more detailed explanation of Vizro use cases)

<br/>

Expand Down
2 changes: 1 addition & 1 deletion vizro-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Configuration can be written in multiple formats including **Pydantic models**,

Optional high-code extensions allow almost infinite customization in a modular way, combining the best of low-code and high-code - for flexible and scalable, Python enabled data visualization applications

(Visit the ["Why Vizro"](https://vizro.readthedocs.io/en/stable/pages/explanation/why_vizro/) section to see a more detailed explanation of Vizro use cases)
(Visit the ["Why Vizro"](https://vizro.readthedocs.io/en/latest/pages/explanation/why_vizro/) section to see a more detailed explanation of Vizro use cases)

<br/>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Removed
- A bullet item for the Removed category.
-->
<!--
### Added
- A bullet item for the Added category.
-->
<!--
### Changed
- A bullet item for the Changed category.
-->
<!--
### Deprecated
- A bullet item for the Deprecated category.
-->
<!--
### Fixed
- A bullet item for the Fixed category.
-->

### Security

- Update pydantic requirement to `pydantic>=1.10.13, <2` due to medium Snyk vulnerability ([#83](https://github.com/mckinsey/vizro/pull/83))
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Removed
- A bullet item for the Removed category.
-->

### Added

- Add comparison table to `Why Vizro` docs page ([#90](https://github.com/mckinsey/vizro/pull/90))

<!--
### Changed
- A bullet item for the Changed category.
-->
<!--
### Deprecated
- A bullet item for the Deprecated category.
-->
<!--
### Fixed
- A bullet item for the Fixed category.
-->
<!--
### Security
- A bullet item for the Security category.
-->
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Removed
- A bullet item for the Removed category.
-->
<!--
### Added
- A bullet item for the Added category.
-->
<!--
### Changed
- A bullet item for the Changed category.
-->
<!--
### Deprecated
- A bullet item for the Deprecated category.
-->

### Fixed

- Fix bug of horizontal rulers not being visible in `Card` ([#91](https://github.com/mckinsey/vizro/pull/91))

<!--
### Security
- A bullet item for the Security category.
-->
39 changes: 39 additions & 0 deletions vizro-core/docs/pages/explanation/why_vizro.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions vizro-core/docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@
:root > * {
--md-code-hl-color: #119bec3e;
}

.md-typeset th,
td:not([class]):not(:last-child) {
border-right: 1px solid lightgrey;
}
2 changes: 1 addition & 1 deletion vizro-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = [
# 2.11 needed for https://dash.plotly.com/dash-in-jupyter
"dash_bootstrap_components",
"pandas",
"pydantic<2.0.0", # must be synced with pre-commit mypy hook
"pydantic>=1.10.13, <2", # must be synced with pre-commit mypy hook
"dash_daq",
"ipython>=8.10.0", # not directly required, pinned by Snyk to avoid a vulnerability: https://app.snyk.io/vuln/SNYK-PYTHON-IPYTHON-3318382
"numpy>=1.22.2", # not directly required, pinned by Snyk to avoid a vulnerability: https://security.snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/snyk/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dash>=2.11
dash_bootstrap_components
pandas
pydantic<2.0.0
pydantic>=1.10.13, <2
dash_daq
ipython>=8.10.0
numpy>=1.22.2
Expand Down

0 comments on commit ad02cae

Please sign in to comment.