mirror of
https://github.com/astral-sh/uv.git
synced 2025-12-23 09:19:48 +00:00
Some checks are pending
CI / cargo shear (push) Waiting to run
CI / typos (push) Waiting to run
CI / Determine changes (push) Waiting to run
CI / lint (push) Waiting to run
CI / cargo clippy | ubuntu (push) Blocked by required conditions
CI / cargo clippy | windows (push) Blocked by required conditions
CI / cargo dev generate-all (push) Blocked by required conditions
CI / ecosystem test | pydantic/pydantic-core (push) Blocked by required conditions
CI / cargo test | ubuntu (push) Blocked by required conditions
CI / cargo test | macos (push) Blocked by required conditions
CI / cargo test | windows (push) Blocked by required conditions
CI / check windows trampoline | aarch64 (push) Blocked by required conditions
CI / check windows trampoline | i686 (push) Blocked by required conditions
CI / check windows trampoline | x86_64 (push) Blocked by required conditions
CI / test windows trampoline | aarch64 (push) Blocked by required conditions
CI / test windows trampoline | i686 (push) Blocked by required conditions
CI / test windows trampoline | x86_64 (push) Blocked by required conditions
CI / mkdocs (push) Waiting to run
CI / build binary | linux libc (push) Blocked by required conditions
CI / build binary | linux aarch64 (push) Blocked by required conditions
CI / build binary | linux musl (push) Blocked by required conditions
CI / build binary | freebsd (push) Blocked by required conditions
CI / build binary | macos aarch64 (push) Blocked by required conditions
CI / build binary | macos x86_64 (push) Blocked by required conditions
CI / build binary | windows x86_64 (push) Blocked by required conditions
CI / build binary | windows aarch64 (push) Blocked by required conditions
CI / build binary | msrv (push) Blocked by required conditions
CI / ecosystem test | prefecthq/prefect (push) Blocked by required conditions
CI / ecosystem test | pallets/flask (push) Blocked by required conditions
CI / smoke test | linux (push) Blocked by required conditions
CI / smoke test | linux aarch64 (push) Blocked by required conditions
CI / check system | alpine (push) Blocked by required conditions
CI / smoke test | macos (push) Blocked by required conditions
CI / smoke test | windows x86_64 (push) Blocked by required conditions
CI / smoke test | windows aarch64 (push) Blocked by required conditions
CI / integration test | activate nushell venv (push) Blocked by required conditions
CI / integration test | conda on ubuntu (push) Blocked by required conditions
CI / integration test | uv_build (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on rocky linux 10 (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | graalpy on ubuntu (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | x86-64 python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | aarch64 python3.13 on windows aarch64 (push) Blocked by required conditions
CI / check system | windows registry (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
CI / benchmarks | instrumented (push) Blocked by required conditions
CI / integration test | deadsnakes python3.9 on ubuntu (push) Blocked by required conditions
CI / integration test | free-threaded on windows (push) Blocked by required conditions
CI / integration test | aarch64 windows implicit (push) Blocked by required conditions
CI / integration test | aarch64 windows explicit (push) Blocked by required conditions
CI / integration test | pypy on ubuntu (push) Blocked by required conditions
CI / integration test | pypy on windows (push) Blocked by required conditions
CI / integration test | graalpy on ubuntu (push) Blocked by required conditions
CI / integration test | graalpy on windows (push) Blocked by required conditions
CI / integration test | pyodide on ubuntu (push) Blocked by required conditions
CI / integration test | github actions (push) Blocked by required conditions
CI / integration test | free-threaded python on github actions (push) Blocked by required conditions
CI / integration test | pyenv on wsl x86-64 (push) Blocked by required conditions
CI / integration test | determine publish changes (push) Blocked by required conditions
CI / integration test | registries (push) Blocked by required conditions
CI / integration test | uv publish (push) Blocked by required conditions
CI / check cache | ubuntu (push) Blocked by required conditions
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
zizmor / Run zizmor (push) Waiting to run
## Summary As new environment variables get introduced (e.g. `UV_EDITABLE`) I thought it would useful to start tracking which release they were introduced. I think its a common workflow to navigate to the [env var documentation](https://docs.astral.sh/uv/reference/environment) to know what the env var for something is but then end up in a situation where one is using an environment variable with the wrong version of uv and not notice immediately that its not compatible and therefore ignored. ## Test Plan Existing tests. The versions in `since` have all been manually reviewed to the best of my ability for correctness.
239 lines
7 KiB
CSS
239 lines
7 KiB
CSS
:root {
|
|
--black: #261230;
|
|
--white: #ffffff;
|
|
--radiate: #d7ff64;
|
|
--flare: #6340ac;
|
|
--rock: #78876e;
|
|
--galaxy: #261230;
|
|
--space: #30173d;
|
|
--comet: #6f5d6f;
|
|
--cosmic: #de5fe9;
|
|
--sun: #ffac2f;
|
|
--electron: #46ebe1;
|
|
--aurora: #46eb74;
|
|
--constellation: #5f6de9;
|
|
--neutron: #cff3cf;
|
|
--proton: #f6afbc;
|
|
--nebula: #cdcbfb;
|
|
--supernova: #f1aff6;
|
|
--starlight: #f4f4f1;
|
|
--lunar: #fbf2fc;
|
|
--asteroid: #e3cee3;
|
|
--crater: #f0dfdf;
|
|
}
|
|
|
|
[data-md-color-scheme="astral-light"] {
|
|
--md-default-bg-color--dark: var(--black);
|
|
--md-default-fg-color--lightest: rgba(0, 0, 0, 0.14);
|
|
--md-primary-fg-color: var(--galaxy);
|
|
--md-typeset-a-color: var(--flare);
|
|
--md-accent-fg-color: var(--cosmic);
|
|
}
|
|
|
|
[data-md-color-scheme="astral-dark"] {
|
|
--md-default-bg-color: var(--galaxy);
|
|
--md-default-fg-color: var(--white);
|
|
--md-default-fg-color--light: var(--white);
|
|
--md-default-fg-color--lighter: var(--white);
|
|
--md-default-fg-color--lightest: rgba(255, 255, 255, 0.5);
|
|
--md-primary-fg-color: var(--space);
|
|
--md-primary-bg-color: var(--white);
|
|
--md-accent-fg-color: var(--cosmic);
|
|
|
|
--md-typeset-color: var(--white);
|
|
--md-typeset-a-color: var(--radiate);
|
|
--md-typeset-mark-color: var(--sun);
|
|
|
|
--md-code-fg-color: var(--white);
|
|
--md-code-bg-color: var(--space);
|
|
|
|
--md-code-hl-comment-color: var(--asteroid);
|
|
--md-code-hl-punctuation-color: var(--asteroid);
|
|
--md-code-hl-generic-color: var(--supernova);
|
|
--md-code-hl-variable-color: var(--starlight);
|
|
--md-code-hl-string-color: var(--radiate);
|
|
--md-code-hl-keyword-color: var(--supernova);
|
|
--md-code-hl-operator-color: var(--supernova);
|
|
--md-code-hl-number-color: var(--electron);
|
|
--md-code-hl-special-color: var(--electron);
|
|
--md-code-hl-function-color: var(--neutron);
|
|
--md-code-hl-constant-color: var(--radiate);
|
|
--md-code-hl-name-color: var(--md-code-fg-color);
|
|
|
|
--md-typeset-del-color: hsla(6, 90%, 60%, 0.15);
|
|
--md-typeset-ins-color: hsla(150, 90%, 44%, 0.15);
|
|
|
|
--md-typeset-table-color: hsla(0, 0%, 100%, 0.12);
|
|
--md-typeset-table-color--light: hsla(0, 0%, 100%, 0.035);
|
|
}
|
|
|
|
[data-md-color-scheme="astral-light"] img[src$="#only-dark"],
|
|
[data-md-color-scheme="astral-light"] img[src$="#gh-dark-mode-only"] {
|
|
display: none; /* Hide dark images in light mode */
|
|
}
|
|
|
|
[data-md-color-scheme="astral-light"] img[src$="#only-light"],
|
|
[data-md-color-scheme="astral-light"] img[src$="#gh-light-mode-only"] {
|
|
display: inline; /* Show light images in light mode */
|
|
}
|
|
|
|
[data-md-color-scheme="astral-dark"] img[src$="#only-light"],
|
|
[data-md-color-scheme="astral-dark"] img[src$="#gh-light-mode-only"] {
|
|
display: none; /* Hide light images in dark mode */
|
|
}
|
|
|
|
[data-md-color-scheme="astral-dark"] img[src$="#only-dark"],
|
|
[data-md-color-scheme="astral-dark"] img[src$="#gh-dark-mode-only"] {
|
|
display: inline; /* Show dark images in dark mode */
|
|
}
|
|
|
|
/* See: https://github.com/squidfunk/mkdocs-material/issues/175#issuecomment-616694465 */
|
|
.md-typeset__table {
|
|
min-width: 100%;
|
|
}
|
|
.md-typeset table:not([class]) {
|
|
display: table;
|
|
}
|
|
|
|
/* See: https://github.com/astral-sh/ruff/issues/8519 */
|
|
[data-md-color-scheme="astral-dark"] details summary a {
|
|
color: var(--flare);
|
|
}
|
|
|
|
/* See: https://github.com/astral-sh/ruff/issues/9046 */
|
|
[data-md-color-scheme="astral-dark"] div.admonition {
|
|
color: var(--md-code-fg-color);
|
|
background-color: var(--md-code-bg-color);
|
|
}
|
|
|
|
/* Prevent the shadow from the nav title from blurring the top link.
|
|
The box shadow isn't really doing anything anyway.
|
|
|
|
This is a consequence of the reduced nav spacing below. */
|
|
.md-nav--primary .md-nav__title {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Omits the nav title "uv" entirely unless on a small screen, in which case
|
|
the nav title is needed for backwards navigation in the collapsible
|
|
nav variant.
|
|
|
|
See https://github.com/astral-sh/uv/issues/5130 */
|
|
@media screen and (min-width: 76.25em) {
|
|
.md-nav__title {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
/* Always take the full screen for content, require scrolling to see the footer
|
|
This stops the size of the nav from jumping around when you visit a page without
|
|
a lot of content (i.e., an overview page). We don't apply this to sma screens
|
|
because the nav is in a hamburger menu anyway
|
|
*/
|
|
@media screen and (min-width: 76.25em) {
|
|
.md-main {
|
|
min-height: 100vh;
|
|
}
|
|
}
|
|
|
|
/* Tweak the formatting of the primary nav on a large screen */
|
|
@media screen and (min-width: 76.25em) {
|
|
.md-nav--primary .md-nav {
|
|
font-size: 0.75rem;
|
|
}
|
|
/* Remove the bold from the section headings, use a larger font instead */
|
|
.md-nav__item--section > .md-nav__link {
|
|
font-weight: normal;
|
|
font-size: 0.85rem;
|
|
}
|
|
/* Reducing spacing between nav items to fit more content
|
|
First, disable `nav__link` spacing then use `nav__item` to enforce margins this reduces inconsistencies in the spacing. */
|
|
.md-nav--primary .md-nav__link {
|
|
margin: 0;
|
|
}
|
|
.md-nav--primary .md-nav__item {
|
|
margin-top: 0.35em;
|
|
}
|
|
/* Use larger spacing for the sections headings */
|
|
.md-nav--primary .md-nav__item--section {
|
|
margin-bottom: 0.75em;
|
|
margin-top: 1em;
|
|
}
|
|
/* Decrease the font size of items in a collapsible section */
|
|
.md-nav__item--section> .md-nav > .md-nav__list > .md-nav__item > .md-nav > .md-nav__list {
|
|
font-size: 0.725rem;
|
|
}
|
|
/* Increase top margin on the first item of a collapsible section */
|
|
.md-nav__item--section> .md-nav > .md-nav__list > .md-nav__item > .md-nav > .md-nav__list > .md-nav__item:first-of-type {
|
|
margin-top: 0.5em;
|
|
}
|
|
/* Increase bottom margin on the last item of a collapsible section */
|
|
.md-nav__item--section> .md-nav > .md-nav__list > .md-nav__item > .md-nav > .md-nav__list > .md-nav__item:last-of-type {
|
|
margin-bottom: 0.575em;
|
|
}
|
|
/* Increase the size of the first nav item to match the sections
|
|
It has no children, so it is not considered a section */
|
|
.md-nav--primary > .md-nav__list > .md-nav__item:first-of-type {
|
|
font-size: 0.85rem;
|
|
margin-bottom: 0.75em;
|
|
}
|
|
}
|
|
|
|
/* Bold the active nav link for accessibility */
|
|
.md-nav__link--active {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* See: https://mkdocstrings.github.io/recipes/#prevent-selection-of-prompts-and-output-in-python-code-blocks */
|
|
.highlight .gp, .highlight .go { /* Generic.Prompt, Generic.Output */
|
|
user-select: none;
|
|
}
|
|
|
|
/* Styling for the generated CLI reference page */
|
|
.cli-reference dd {
|
|
margin-top: 0.1em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
.cli-reference dd p {
|
|
margin-block-start: 0.2em;
|
|
margin-block-end: 0.3em;
|
|
}
|
|
.cli-reference ul {
|
|
margin-bottom: 0.1em;
|
|
}
|
|
h3.cli-reference {
|
|
font-size: 1.1em;
|
|
margin: 0 0 0 0;
|
|
}
|
|
h3:has(+ p > small.added-in) {
|
|
display: inline-block;
|
|
margin: 0;
|
|
}
|
|
h3 + p:has(> small.added-in) {
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Styling for anchor link headers */
|
|
.toclink {
|
|
color: unset !important;
|
|
}
|
|
|
|
.toclink:hover {
|
|
color: var(--md-accent-fg-color) !important;
|
|
}
|
|
|
|
/* Omit the first breadcrumb item, which is the "Introduction" */
|
|
.md-path__list > .md-path__item:first-of-type {
|
|
display: none;
|
|
}
|
|
.md-path__list > .md-path__item:nth-of-type(2):before {
|
|
display: none;
|
|
}
|
|
|
|
/* Hide the modified date — its positioning is awkward but will require theme
|
|
modifications */
|
|
.md-source-file__fact {
|
|
visibility: hidden;
|
|
}
|