From 944b3e98dbd487443f5293029d69a842125832f0 Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Wed, 5 Feb 2025 12:15:36 +0100 Subject: [PATCH] chore: version to 0.41.0 (#3065) --- CHANGELOG.md | 61 ++++++++++++++++++++++++++ CITATION.cff | 4 +- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/pixi_consts/src/consts.rs | 2 +- docs/advanced/github_actions.md | 2 +- docs/advanced/production_deployment.md | 2 +- docs/ide_integration/devcontainer.md | 2 +- install/install.ps1 | 2 +- install/install.sh | 2 +- schema/schema.json | 4 +- tbump.toml | 2 +- tests/integration_python/common.py | 2 +- 13 files changed, 75 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 470209019..9be038fed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,67 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [0.41.0] - 2025-02-05 +#### ✨ Highlights + +This PR introduces lazily creating solve environments for the `pypi-dependencies` resulting in a significant speedup for environments that only depend on wheels. +If you want to force the use of wheels you can now also set `no-build` in the `pypi-options` table. +To test this you can now just use `pixi lock` to create a lockfile without installing an environment. + +#### Added + +- Add `pixi lock` by @Hofer-Julian in [#3061](https://github.com/prefix-dev/pixi/pull/3061) and [#3064](https://github.com/prefix-dev/pixi/pull/3064) +- Add `no-build` to `pypi-options` by @tdejager in [#2997](https://github.com/prefix-dev/pixi/pull/2997) + +#### Changed + +- Lazily initiate solve environments for `pypi-dependencies` by @nichmor and @tdejager in [#3029](https://github.com/prefix-dev/pixi/pull/3029) +- Use Github Releases `/latest` for `self-update` and prompt on downgrades by @jaimergp in [#2989](https://github.com/prefix-dev/pixi/pull/2989) +- Set PS1 in shell-hook too by @jaimergp in [#2991](https://github.com/prefix-dev/pixi/pull/2991) +- Prevent line-based 3-way merge on pixi.lock by @ChristianRothQC in [#3019](https://github.com/prefix-dev/pixi/pull/3019) +- Auto-prepend 'v' to version numbers during pixi installation by @m-naumann in [#3000](https://github.com/prefix-dev/pixi/pull/3000) +- Parse labels and related errors from build backend by @baszalmstra in [#2952](https://github.com/prefix-dev/pixi/pull/2952) + +#### Documentation + +- Enable autocomplete on Zsh by @ywilke in [#3009](https://github.com/prefix-dev/pixi/pull/3009) +- Add section on aws codeartifact by @rayduck in [#3020](https://github.com/prefix-dev/pixi/pull/3020) +- Add `pixi-diff` documentation by @pavelzw in [#3025](https://github.com/prefix-dev/pixi/pull/3025) +- Fix python tutorial by @ruben-arts in [#3035](https://github.com/prefix-dev/pixi/pull/3035) + +#### Fixed + +- Always show cursor after control+c by @ruben-arts in [#2635](https://github.com/prefix-dev/pixi/pull/2635) +- `mirrors` configuration follows correct priority by @ruben-arts in [#3002](https://github.com/prefix-dev/pixi/pull/3002) +- Don't check requires python in satisfiability by @ruben-arts in [#2968](https://github.com/prefix-dev/pixi/pull/2968) +- Enforce recompile trampoline by @Hofer-Julian in [#3013](https://github.com/prefix-dev/pixi/pull/3013) +- `project platform remove` by @Hofer-Julian in [#3017](https://github.com/prefix-dev/pixi/pull/3017) +- Lockfile not invalidated when we remove platforms by @Hofer-Julian in [#3027](https://github.com/prefix-dev/pixi/pull/3027) +- Will also update prefix if there are pypi path dependencies by @tdejager in [#3034](https://github.com/prefix-dev/pixi/pull/3034) +- Initialize rayon late and use uv from tag by @baszalmstra in [#2957](https://github.com/prefix-dev/pixi/pull/2957) +- Change back to multithreaded runtime by @tdejager in [#3041](https://github.com/prefix-dev/pixi/pull/3041) +- Logic was backward for creating missing .bashrc by @hjmjohnson in [#3051](https://github.com/prefix-dev/pixi/pull/3051) +- Do proper sanity check on add and run by @ruben-arts in [#3054](https://github.com/prefix-dev/pixi/pull/3054) +- Add check error message to remove uv dependencies by @Dozie2001 in [#3052](https://github.com/prefix-dev/pixi/pull/3052) + +#### Refactor + +- Make diff module public by @pavelzw in [#3010](https://github.com/prefix-dev/pixi/pull/3010) +- Enforce no `unwrap` via clippy by @Hofer-Julian in [#3006](https://github.com/prefix-dev/pixi/pull/3006) +- Improve AuthenticationStorage, update rattler by @pavelzw in [#2909](https://github.com/prefix-dev/pixi/pull/2909) + +#### Removed + +- Remove `description` from `pixi init` template by @Hofer-Julian in [#3012](https://github.com/prefix-dev/pixi/pull/3012) + +#### New Contributors +* @Dozie2001 made their first contribution in [#3052](https://github.com/prefix-dev/pixi/pull/3052) +* @hjmjohnson made their first contribution in [#3051](https://github.com/prefix-dev/pixi/pull/3051) +* @m-naumann made their first contribution in [#3000](https://github.com/prefix-dev/pixi/pull/3000) +* @ChristianRothQC made their first contribution in [#3019](https://github.com/prefix-dev/pixi/pull/3019) +* @rayduck made their first contribution in [#3020](https://github.com/prefix-dev/pixi/pull/3020) +* @ywilke made their first contribution in [#3009](https://github.com/prefix-dev/pixi/pull/3009) + ### [0.40.3] - 2025-01-22 #### ✨ Highlights This release will greatly improve the `git` dependency experience for PyPI packages. diff --git a/CITATION.cff b/CITATION.cff index 02ba0bde6..797dc2ad3 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -30,8 +30,8 @@ authors: - given-names: Julian family-names: Hofer email: julian.hofer@protonmail.com -repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.40.3' -url: 'https://pixi.sh/v0.40.3' +repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.41.0' +url: 'https://pixi.sh/v0.41.0' abstract: >- A cross-platform, language agnostic, package/project management tool for development in virtual environments. diff --git a/Cargo.lock b/Cargo.lock index 2301cca35..d9fcd850f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3614,7 +3614,7 @@ dependencies = [ [[package]] name = "pixi" -version = "0.40.3" +version = "0.41.0" dependencies = [ "ahash", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index da76aeb01..1a5aebae2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -179,7 +179,7 @@ license.workspace = true name = "pixi" readme.workspace = true repository.workspace = true -version = "0.40.3" +version = "0.41.0" [features] default = ["online_tests", "rustls-tls"] diff --git a/crates/pixi_consts/src/consts.rs b/crates/pixi_consts/src/consts.rs index ac98a5e06..59f3c7581 100644 --- a/crates/pixi_consts/src/consts.rs +++ b/crates/pixi_consts/src/consts.rs @@ -16,7 +16,7 @@ pub const PYPROJECT_MANIFEST: &str = "pyproject.toml"; pub const CONFIG_FILE: &str = "config.toml"; pub const PIXI_VERSION: &str = match option_env!("PIXI_VERSION") { Some(v) => v, - None => "0.40.3", + None => "0.41.0", }; pub const PREFIX_FILE_NAME: &str = "pixi_env_prefix"; pub const ENVIRONMENTS_DIR: &str = "envs"; diff --git a/docs/advanced/github_actions.md b/docs/advanced/github_actions.md index 2a60aa825..24a484dee 100644 --- a/docs/advanced/github_actions.md +++ b/docs/advanced/github_actions.md @@ -15,7 +15,7 @@ We created [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) to ```yaml - uses: prefix-dev/setup-pixi@v0.8.0 with: - pixi-version: v0.40.3 + pixi-version: v0.41.0 cache: true auth-host: prefix.dev auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} diff --git a/docs/advanced/production_deployment.md b/docs/advanced/production_deployment.md index 87465bb78..284eeb066 100644 --- a/docs/advanced/production_deployment.md +++ b/docs/advanced/production_deployment.md @@ -33,7 +33,7 @@ It also makes use of `pixi shell-hook` to not rely on pixi being installed in th For more examples, take a look at [pavelzw/pixi-docker-example](https://github.com/pavelzw/pixi-docker-example). ```Dockerfile -FROM ghcr.io/prefix-dev/pixi:0.40.3 AS build +FROM ghcr.io/prefix-dev/pixi:0.41.0 AS build # copy source code, pixi.toml and pixi.lock to the container WORKDIR /app diff --git a/docs/ide_integration/devcontainer.md b/docs/ide_integration/devcontainer.md index 9de3df07b..ed03590f9 100644 --- a/docs/ide_integration/devcontainer.md +++ b/docs/ide_integration/devcontainer.md @@ -11,7 +11,7 @@ Then, create the following two files in the `.devcontainer` directory: ```dockerfile title=".devcontainer/Dockerfile" FROM mcr.microsoft.com/devcontainers/base:jammy -ARG PIXI_VERSION=v0.40.3 +ARG PIXI_VERSION=v0.41.0 RUN curl -L -o /usr/local/bin/pixi -fsSL --compressed "https://github.com/prefix-dev/pixi/releases/download/${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \ && chmod +x /usr/local/bin/pixi \ diff --git a/install/install.ps1 b/install/install.ps1 index 8ea537624..f88903500 100644 --- a/install/install.ps1 +++ b/install/install.ps1 @@ -18,7 +18,7 @@ .LINK https://github.com/prefix-dev/pixi .NOTES - Version: v0.40.3 + Version: v0.41.0 #> param ( [string] $PixiVersion = 'latest', diff --git a/install/install.sh b/install/install.sh index f36a65458..e21ed14e9 100644 --- a/install/install.sh +++ b/install/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -euo pipefail -# Version: v0.40.3 +# Version: v0.41.0 __wrap__() { diff --git a/schema/schema.json b/schema/schema.json index baf9cba3b..555895233 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://pixi.sh/v0.40.3/schema/manifest/schema.json", + "$id": "https://pixi.sh/v0.41.0/schema/manifest/schema.json", "title": "`pixi.toml` manifest file", "description": "The configuration for a [`pixi`](https://pixi.sh) project.", "type": "object", @@ -22,7 +22,7 @@ "title": "Schema", "description": "The schema identifier for the project's configuration", "type": "string", - "default": "https://pixi.sh/v0.40.3/schema/manifest/schema.json", + "default": "https://pixi.sh/v0.41.0/schema/manifest/schema.json", "format": "uri-reference" }, "activation": { diff --git a/tbump.toml b/tbump.toml index 0e084c176..a65e5384f 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/prefix-dev/pixi" [version] -current = "0.40.3" +current = "0.41.0" # Example of a semver regexp. # Make sure this matches current_version before diff --git a/tests/integration_python/common.py b/tests/integration_python/common.py index b5db74b11..7324a7995 100644 --- a/tests/integration_python/common.py +++ b/tests/integration_python/common.py @@ -8,7 +8,7 @@ from rattler import Platform -PIXI_VERSION = "0.40.3" +PIXI_VERSION = "0.41.0" ALL_PLATFORMS = '["linux-64", "osx-64", "osx-arm64", "win-64", "linux-ppc64le", "linux-aarch64"]'