diff --git a/README.md b/README.md index 135a65242..79b0e1174 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ flask>=2.0.0 Running `uv pip compile requirements.in` would produce the following `requirements.txt` file: ```text -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile requirements.in blinker==1.7.0 # via flask @@ -234,7 +234,7 @@ werkzeug==3.0.1 However, `uv pip compile --resolution=lowest requirements.in` would instead produce: ```text -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile requirements.in --resolution=lowest click==7.1.2 # via flask diff --git a/crates/uv/src/commands/pip_compile.rs b/crates/uv/src/commands/pip_compile.rs index 1d699a56b..9d372a1b8 100644 --- a/crates/uv/src/commands/pip_compile.rs +++ b/crates/uv/src/commands/pip_compile.rs @@ -39,8 +39,6 @@ use crate::commands::{elapsed, ExitStatus}; use crate::printer::Printer; use crate::requirements::{ExtrasSpecification, RequirementsSource, RequirementsSpecification}; -const VERSION: &str = env!("CARGO_PKG_VERSION"); - /// Resolve a set of requirements into a set of pinned versions. #[allow(clippy::too_many_arguments, clippy::fn_params_excessive_bools)] pub(crate) async fn pip_compile( @@ -346,8 +344,7 @@ pub(crate) async fn pip_compile( writeln!( writer, "{}", - format!("# This file was autogenerated by uv v{VERSION} via the following command:") - .green() + "# This file was autogenerated by uv via the following command:".green() )?; writeln!( writer, diff --git a/crates/uv/tests/common/mod.rs b/crates/uv/tests/common/mod.rs index ff9e8fb39..22cd714bb 100644 --- a/crates/uv/tests/common/mod.rs +++ b/crates/uv/tests/common/mod.rs @@ -27,9 +27,6 @@ pub const INSTA_FILTERS: &[(&str, &str)] = &[ (r"--cache-dir [^\s]+", "--cache-dir [CACHE_DIR]"), // Operation times (r"(\d+m )?(\d+\.)?\d+(ms|s)", "[TIME]"), - // uv versions - (r"v\d+\.\d+\.\d+-prerelease\.\d+", "v[VERSION]"), - (r"v\d+\.\d+\.\d+", "v[VERSION]"), // File sizes (r"(\d+\.)?\d+([KM]i)?B", "[SIZE]"), // Rewrite Windows output to Unix output diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs index 958da9082..31b8c9774 100644 --- a/crates/uv/tests/pip_compile.rs +++ b/crates/uv/tests/pip_compile.rs @@ -32,7 +32,7 @@ fn compile_requirements_in() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in asgiref==3.7.2 # via django @@ -62,7 +62,7 @@ fn compile_requirements_in_stdin() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z - asgiref==3.7.2 # via django @@ -148,7 +148,7 @@ dependencies = [ success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z pyproject.toml asgiref==3.7.2 # via django @@ -181,7 +181,7 @@ fn compile_constraints_txt() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --constraint constraints.txt asgiref==3.7.2 # via django @@ -213,7 +213,7 @@ fn compile_constraints_inline() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in ----- stderr ----- @@ -245,7 +245,7 @@ fn compile_constraints_markers() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --constraint constraints.txt anyio==4.0.0 idna==3.4 @@ -286,7 +286,7 @@ optional-dependencies.foo = [ success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z pyproject.toml --extra foo asgiref==3.7.2 # via django @@ -327,7 +327,7 @@ optional-dependencies."FrIeNdLy-._.-bArD" = [ success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z pyproject.toml --extra FRiENDlY-...-_-BARd asgiref==3.7.2 # via django @@ -488,7 +488,7 @@ fn compile_python_312() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --python-version 3.12 black==23.10.1 click==8.1.7 @@ -525,7 +525,7 @@ fn compile_python_312_no_deps() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --no-deps --python-version 3.12 black==23.10.1 @@ -591,7 +591,7 @@ fn compile_sdist_resolution_lowest() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --resolution=lowest-direct --python-version 3.12 anyio @ https://files.pythonhosted.org/packages/2d/b8/7333d87d5f03247215d86a86362fd3e324111788c6cdd8d2e6196a6ba833/anyio-4.2.0.tar.gz idna==3.4 @@ -672,7 +672,7 @@ fn compile_numpy_py38() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --no-build numpy==1.24.4 @@ -696,7 +696,7 @@ fn compile_wheel_url_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -736,7 +736,7 @@ fn compile_sdist_url_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -781,7 +781,7 @@ fn compile_git_https_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -819,7 +819,7 @@ fn compile_git_branch_https_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in click==8.1.7 # via flask @@ -856,7 +856,7 @@ fn compile_git_tag_https_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -897,7 +897,7 @@ fn compile_git_long_commit_https_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in click==8.1.7 # via flask @@ -934,7 +934,7 @@ fn compile_git_short_commit_https_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in click==8.1.7 # via flask @@ -972,7 +972,7 @@ fn compile_git_refs_https_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -1011,7 +1011,7 @@ fn compile_git_subdirectory_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in example-pkg-a @ git+https://github.com/pypa/sample-namespace-packages.git@df7530eeb8fa0cb7dbb8ecb28363e8e36bfa2f45#subdirectory=pkg_resources/pkg_a @@ -1037,7 +1037,7 @@ fn compile_git_concurrent_access() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in example-pkg-a @ git+https://github.com/pypa/sample-namespace-packages.git@df7530eeb8fa0cb7dbb8ecb28363e8e36bfa2f45#subdirectory=pkg_resources/pkg_a example-pkg-b @ git+https://github.com/pypa/sample-namespace-packages.git@df7530eeb8fa0cb7dbb8ecb28363e8e36bfa2f45#subdirectory=pkg_resources/pkg_b @@ -1087,7 +1087,7 @@ fn mixed_url_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -1151,7 +1151,7 @@ fn compatible_direct_url_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in werkzeug @ https://files.pythonhosted.org/packages/ff/1d/960bb4017c68674a1cb099534840f18d3def3ce44aed12b5ed8b78e0153e/Werkzeug-2.0.0-py3-none-any.whl @@ -1282,7 +1282,7 @@ fn allowed_transitive_url_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --constraint constraints.txt transitive-url-dependency @ https://github.com/astral-sh/ruff/files/14078476/transitive_url_dependency.zip werkzeug @ git+https://github.com/pallets/werkzeug@af160e0b6b7ddd81c22f1652c728ff5ac72d5c74 @@ -1316,7 +1316,7 @@ fn allowed_transitive_canonical_url_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --constraint constraints.txt transitive-url-dependency @ https://github.com/astral-sh/ruff/files/14078476/transitive_url_dependency.zip werkzeug @ git+https://github.com/pallets/werkzeug@af160e0b6b7ddd81c22f1652c728ff5ac72d5c74 @@ -1357,7 +1357,7 @@ optional-dependencies.bar = [ success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z pyproject.toml --all-extras anyio==4.0.0 # via httpcore @@ -1515,7 +1515,7 @@ fn compile_exclude_newer() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --exclude-newer 2022-04-04T12:00:00Z --cache-dir [CACHE_DIR] tqdm==4.64.0 @@ -1539,7 +1539,7 @@ fn compile_exclude_newer() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --exclude-newer 2022-04-04 --cache-dir [CACHE_DIR] tqdm==4.64.0 @@ -1600,7 +1600,7 @@ fn compile_wheel_path_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -1631,7 +1631,7 @@ fn compile_wheel_path_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -1663,7 +1663,7 @@ fn compile_wheel_path_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -1695,7 +1695,7 @@ fn compile_wheel_path_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -1748,7 +1748,7 @@ fn compile_source_distribution_path_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -1811,7 +1811,7 @@ fn compile_yanked_version_direct() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in attrs==21.1.0 @@ -1871,7 +1871,7 @@ fn override_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --override overrides.txt blinker==1.7.0 # via flask @@ -1917,7 +1917,7 @@ fn override_multi_dependency() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --override overrides.txt black==23.10.1 click==8.1.7 @@ -1953,7 +1953,7 @@ fn missing_registry_extra() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in black==23.10.1 click==8.1.7 @@ -1988,7 +1988,7 @@ fn missing_url_extra() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -2028,7 +2028,7 @@ fn preserve_url() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -2073,7 +2073,7 @@ fn preserve_env_var() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in blinker==1.7.0 # via flask @@ -2130,7 +2130,7 @@ fn compile_editable() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z -e ${PROJECT_ROOT}/../../scripts/editable-installs/maturin_editable -e ../../scripts/editable-installs/poetry_editable @@ -2192,7 +2192,7 @@ fn compile_editable_url_requirement() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z -e ../../scripts/editable-installs/hatchling_editable iniconfig @ https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl @@ -2317,7 +2317,7 @@ fn compile_html() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --cache-dir [CACHE_DIR] --index-url https://download.pytorch.org/whl jinja2==3.1.2 markupsafe==2.1.3 @@ -2345,7 +2345,7 @@ fn trailing_slash() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --index-url https://test.pypi.org/simple jinja2==3.1.2 markupsafe==2.1.3 @@ -2363,7 +2363,7 @@ fn trailing_slash() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --index-url https://test.pypi.org/simple/ jinja2==3.1.2 markupsafe==2.1.3 @@ -2389,7 +2389,7 @@ fn compile_legacy_sdist_pep_517() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in flake8 @ https://files.pythonhosted.org/packages/66/53/3ad4a3b74d609b3b9008a10075c40e7c8909eae60af53623c3888f7a529a/flake8-6.0.0.tar.gz mccabe==0.7.0 @@ -2420,7 +2420,7 @@ fn compile_legacy_sdist_setuptools() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --legacy-setup-py flake8 @ https://files.pythonhosted.org/packages/66/53/3ad4a3b74d609b3b9008a10075c40e7c8909eae60af53623c3888f7a529a/flake8-6.0.0.tar.gz mccabe==0.7.0 @@ -2470,7 +2470,7 @@ fn generate_hashes() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --generate-hashes blinker==1.7.0 \ --hash=sha256:c3f865d4d54db7abc53758a01601cf343fe55b84c1de4e3fa910e420b438d5b9 \ @@ -2600,7 +2600,7 @@ fn find_links_directory() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --find-links [PROJECT_ROOT]/scripts/wheels markupsafe==2.1.3 # via werkzeug @@ -2630,7 +2630,7 @@ fn find_links_url() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --no-index --find-links https://download.pytorch.org/whl/torch_stable.html tqdm==4.64.1 @@ -2657,7 +2657,7 @@ fn find_links_requirements_txt() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --no-index --emit-find-links --find-links https://download.pytorch.org/whl/torch_stable.html @@ -2750,7 +2750,7 @@ fn upgrade_all() -> Result<()> { let requirements_txt = context.temp_dir.child("requirements.txt"); requirements_txt.write_str(indoc! {r" - # This file was autogenerated by uv v0.0.1 via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --python-version 3.12 --cache-dir [CACHE_DIR] black==23.10.1 click==8.1.2 @@ -2840,7 +2840,7 @@ fn upgrade_package() -> Result<()> { let requirements_txt = context.temp_dir.child("requirements.txt"); requirements_txt.write_str(indoc! {r" - # This file was autogenerated by uv v0.0.1 via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --python-version 3.12 --cache-dir [CACHE_DIR] black==23.10.1 click==8.1.2 @@ -3002,7 +3002,7 @@ fn no_annotate() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --no-annotate black==23.10.1 click==8.1.7 @@ -3065,7 +3065,7 @@ fn allow_unsafe() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --allow-unsafe markupsafe==2.1.3 # via werkzeug @@ -3117,7 +3117,7 @@ fn emit_index_urls() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --emit-index-url --extra-index-url https://test.pypi.org/simple/ --index-url https://pypi.org/simple --extra-index-url https://test.pypi.org/simple/ @@ -3157,7 +3157,7 @@ fn emit_find_links() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --emit-find-links --find-links ./ --find-links ./ @@ -3223,7 +3223,7 @@ fn index_url_requirements_txt() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --index-url https://pypi.org/simple tqdm==4.66.1 @@ -3291,7 +3291,7 @@ fn offline() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in black==23.10.1 click==8.1.7 @@ -3317,7 +3317,7 @@ fn offline() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --offline black==23.10.1 click==8.1.7 @@ -3411,7 +3411,7 @@ fn compile_relative_subfile() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in anyio==4.0.0 idna==3.4 @@ -3439,7 +3439,7 @@ fn compile_none_extra() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in entrypoints==0.3 @@ -3496,7 +3496,7 @@ fn compile_constraints_compatible_url() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z requirements.in --constraint constraints.txt anyio @ https://files.pythonhosted.org/packages/bf/cd/d6d9bb1dadf73e7af02d18225cbd2c93f8552e13130484f1c8dcfece292b/anyio-4.2.0-py3-none-any.whl idna==3.4 diff --git a/crates/uv/tests/pip_compile_scenarios.rs b/crates/uv/tests/pip_compile_scenarios.rs index 1d840e7f6..34fa7a10e 100644 --- a/crates/uv/tests/pip_compile_scenarios.rs +++ b/crates/uv/tests/pip_compile_scenarios.rs @@ -73,7 +73,7 @@ fn requires_incompatible_python_version_compatible_override() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --extra-index-url https://test.pypi.org/simple --cache-dir [CACHE_DIR] --python-version=3.11 albatross==1.0.0 @@ -234,7 +234,7 @@ fn requires_incompatible_python_version_compatible_override_no_wheels_available_ success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --extra-index-url https://test.pypi.org/simple --cache-dir [CACHE_DIR] --python-version=3.11 albatross==1.0.0 @@ -454,7 +454,7 @@ fn requires_python_patch_version_override_patch_compatible() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - # This file was autogenerated by uv v[VERSION] via the following command: + # This file was autogenerated by uv via the following command: # uv pip compile requirements.in --extra-index-url https://test.pypi.org/simple --cache-dir [CACHE_DIR] --python-version=3.8.0 albatross==1.0.0 diff --git a/scripts/bench/requirements.txt b/scripts/bench/requirements.txt index 0498ea3ab..4a53868ec 100644 --- a/scripts/bench/requirements.txt +++ b/scripts/bench/requirements.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.3 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/bench/requirements.in -o scripts/bench/requirements.txt blinker==1.7.0 # via pdm diff --git a/scripts/requirements/compiled/all-kinds.txt b/scripts/requirements/compiled/all-kinds.txt index 0b9bd6131..b77fb8e76 100644 --- a/scripts/requirements/compiled/all-kinds.txt +++ b/scripts/requirements/compiled/all-kinds.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/all-kinds.in annotated-types==0.6.0 # via pydantic diff --git a/scripts/requirements/compiled/black.txt b/scripts/requirements/compiled/black.txt index b26697090..3203dfdc6 100644 --- a/scripts/requirements/compiled/black.txt +++ b/scripts/requirements/compiled/black.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/black.in black==23.12.1 click==8.1.7 diff --git a/scripts/requirements/compiled/boto3.txt b/scripts/requirements/compiled/boto3.txt index b1e6456d0..ddca2e991 100644 --- a/scripts/requirements/compiled/boto3.txt +++ b/scripts/requirements/compiled/boto3.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/boto3.in boto3==1.7.84 botocore==1.10.84 diff --git a/scripts/requirements/compiled/dtlssocket.txt b/scripts/requirements/compiled/dtlssocket.txt index 574ded42d..b996590d9 100644 --- a/scripts/requirements/compiled/dtlssocket.txt +++ b/scripts/requirements/compiled/dtlssocket.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/dtlssocket.in cython==0.29.37 # via dtlssocket diff --git a/scripts/requirements/compiled/flyte.txt b/scripts/requirements/compiled/flyte.txt index 5df81ae32..fb253b9c1 100644 --- a/scripts/requirements/compiled/flyte.txt +++ b/scripts/requirements/compiled/flyte.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/flyte.in absl-py==2.0.0 # via diff --git a/scripts/requirements/compiled/jupyter.txt b/scripts/requirements/compiled/jupyter.txt index 98e3c09cf..9d51ac3d7 100644 --- a/scripts/requirements/compiled/jupyter.txt +++ b/scripts/requirements/compiled/jupyter.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.3 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/jupyter.in anyio==4.2.0 # via jupyter-server diff --git a/scripts/requirements/compiled/pdm_2193.txt b/scripts/requirements/compiled/pdm_2193.txt index e8f48ee0e..f819c974f 100644 --- a/scripts/requirements/compiled/pdm_2193.txt +++ b/scripts/requirements/compiled/pdm_2193.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/pdm_2193.in certifi==2023.11.17 # via requests diff --git a/scripts/requirements/compiled/scispacy.txt b/scripts/requirements/compiled/scispacy.txt index 0358e705b..27caee2fb 100644 --- a/scripts/requirements/compiled/scispacy.txt +++ b/scripts/requirements/compiled/scispacy.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/scispacy.in annotated-types==0.6.0 # via pydantic diff --git a/scripts/requirements/compiled/trio.txt b/scripts/requirements/compiled/trio.txt index 94fa5708c..166c595a4 100644 --- a/scripts/requirements/compiled/trio.txt +++ b/scripts/requirements/compiled/trio.txt @@ -1,4 +1,4 @@ -# This file was autogenerated by uv v0.0.1 via the following command: +# This file was autogenerated by uv via the following command: # uv pip compile scripts/requirements/trio.in alabaster==0.7.15 # via sphinx