uv/docs
samypr100 d5dd43aa18
Missing added_in on new env vars (#16217)
## Summary

Adds the version for environment variables added in
https://github.com/astral-sh/uv/pull/16040 and
https://github.com/astral-sh/uv/pull/16125. as these were in-flight
before documentation versioning was added.

Adds ability to emit a compiler error when added in is missing for
improved reporting to the developer.

e.g. example for the ones fixed in this PR

```shell
error: missing #[attr_added_in("x.y.z")] on `UV_UPLOAD_HTTP_TIMEOUT`
       note: env vars for an upcoming release should be annotated with `#[attr_added_in("next release")]`
   --> crates\uv-static\src\env_vars.rs:593:15
    |
593 |     pub const UV_UPLOAD_HTTP_TIMEOUT: &'static str = "UV_UPLOAD_HTTP_TIMEOUT";
    |               ^^^^^^^^^^^^^^^^^^^^^^

error: missing #[attr_added_in("x.y.z")] on `UV_WORKING_DIRECTORY`
       note: env vars for an upcoming release should be annotated with `#[attr_added_in("next release")]`
    --> crates\uv-static\src\env_vars.rs:1087:15
     |
1087 |     pub const UV_WORKING_DIRECTORY: &'static str = "UV_WORKING_DIRECTORY";
     |               ^^^^^^^^^^^^^^^^^^^^
error: could not compile `uv-static` (lib) due to 2 previous errors
```
2025-10-10 08:55:09 -05:00
..
.overrides Add `last updated` for document (#11164) 2025-02-03 22:28:47 -05:00
assets Add GitHub Actions to PyPI trusted publishing example (#15753) 2025-09-17 19:25:17 +02:00
concepts Bump version to 0.9.1 (#16212) 2025-10-09 18:28:59 +00:00
getting-started Bump version to 0.9.1 (#16212) 2025-10-09 18:28:59 +00:00
guides Bump version to 0.9.1 (#16212) 2025-10-09 18:28:59 +00:00
js Split the "Authentication" page into sections (#15575) 2025-08-28 15:45:31 -05:00
pip Add UV_SKIP_WHEEL_FILENAME_CHECK to allow installing invalid wheels (#16046) 2025-09-29 19:54:25 -04:00
reference Missing added_in on new env vars (#16217) 2025-10-10 08:55:09 -05:00
stylesheets document uv version for environment variables (#15196) 2025-10-08 12:31:12 -05:00
.gitignore
index.md Fix PowerShell code blocks (#13511) 2025-05-17 21:06:48 -05:00
requirements-insiders.in Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements-insiders.txt Add an llms.txt to uv (#13929) 2025-06-10 07:46:49 -04:00
requirements.in Add an llms.txt to uv (#13929) 2025-06-10 07:46:49 -04:00
requirements.txt Add an llms.txt to uv (#13929) 2025-06-10 07:46:49 -04:00