diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 178f15ade49..ec81045b765 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ Here is a quick guide on how to run Reflex repo locally so you can start contrib **Prerequisites:** -- uv version >= 0.6.0 and add it to your path (see [UV Docs](https://docs.astral.sh/uv/getting-started/installation/) for more info). +- uv version >= 0.9.17 and add it to your path (see [UV Docs](https://docs.astral.sh/uv/getting-started/installation/) for more info). **1. Fork this repository:** Fork this repository by clicking on the `Fork` button on the top right. diff --git a/pyproject.toml b/pyproject.toml index 8651e39ae6f..525ef5332f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -367,7 +367,32 @@ name = "Miscellaneous" showcontent = true [tool.uv] -required-version = ">=0.7.0" +required-version = ">=0.9.17" +exclude-newer = "7 days" + +# Internal Reflex packages release in lockstep and are routinely pinned (>=) at a version +# published within the exclude-newer window; disable the floor for them so resolution +# always sees their latest release. The floor still applies to third-party dependencies. +# Add any new internal package that is published and pinned as a (build or runtime) +# dependency here. +[tool.uv.exclude-newer-package] +hatch-reflex-pyi = false +reflex = false +reflex-base = false +reflex-components-code = false +reflex-components-core = false +reflex-components-dataeditor = false +reflex-components-gridjs = false +reflex-components-internal = false +reflex-components-lucide = false +reflex-components-markdown = false +reflex-components-moment = false +reflex-components-plotly = false +reflex-components-radix = false +reflex-components-react-player = false +reflex-components-recharts = false +reflex-components-sonner = false +reflex-hosting-cli = false [tool.uv.sources] hatch-reflex-pyi.workspace = true diff --git a/uv.lock b/uv.lock index 40e7756ac8b..1980545ad95 100644 --- a/uv.lock +++ b/uv.lock @@ -11,6 +11,29 @@ resolution-markers = [ "python_full_version < '3.11'", ] +[options] +exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. +exclude-newer-span = "P7D" + +[options.exclude-newer-package] +reflex-components-plotly = false +reflex-components-radix = false +reflex-components-moment = false +reflex-components-sonner = false +hatch-reflex-pyi = false +reflex-components-gridjs = false +reflex = false +reflex-components-code = false +reflex-components-recharts = false +reflex-components-core = false +reflex-components-dataeditor = false +reflex-base = false +reflex-components-markdown = false +reflex-components-internal = false +reflex-components-lucide = false +reflex-components-react-player = false +reflex-hosting-cli = false + [manifest] members = [ "hatch-reflex-pyi",