From 8ba4c4afb1b9a90cf8a63feaf60b1cd9d7e55c70 Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Thu, 3 Oct 2024 15:27:12 +0200 Subject: [PATCH] chore: version to 0.31.0 (#2195) --- CHANGELOG.md | 58 ++++++++++++++++++++++++++++++++ CITATION.cff | 4 +-- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/pixi_consts/src/consts.rs | 2 +- docs/advanced/github_actions.md | 2 +- install/install.ps1 | 2 +- install/install.sh | 2 +- schema/schema.json | 4 +-- src/cli/mod.rs | 2 +- tbump.toml | 4 +-- tests/integration/common.py | 2 +- 12 files changed, 72 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d01023c11..b711a9e09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,64 @@ 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.31.0] - 2024-10-03 +#### ✨ Highlights +Thanks to our maintainer @baszamstra! +He sped up the resolver for all cases we could think of in [#2162](https://github.com/prefix-dev/pixi/pull/2162) +Check the result of times it takes to solve the environments in our test set: +![image](https://private-user-images.githubusercontent.com/4995967/371994129-0c89b07f-7e29-430a-b876-a8a5826bbc9d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc5NjE2MzUsIm5iZiI6MTcyNzk2MTMzNSwicGF0aCI6Ii80OTk1OTY3LzM3MTk5NDEyOS0wYzg5YjA3Zi03ZTI5LTQzMGEtYjg3Ni1hOGE1ODI2YmJjOWQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTAwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEwMDNUMTMxNTM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjBlMTI5MmUxYWY5NmVkZmIwYmE5YTIwNTMyN2VkNDkwNjljZDE5ZjMzNzVkZTg4YWYyY2I2MjExZTAyNDY2NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.vh3Fs0MGdoPR0k-BmjGArXEekrlPV5N9wNM2CUq8e44) + + +#### Added + +- Add `nodefaults` to imported conda envs by @ruben-arts in [#2097](https://github.com/prefix-dev/pixi/pull/2097) +- Add newline to `.gitignore` by @ruben-arts in [#2095](https://github.com/prefix-dev/pixi/pull/2095) +- Add `--no-activation` option to prevent env activation during global install/upgrade by @183amir in [#1980](https://github.com/prefix-dev/pixi/pull/1980) +- Add `--priority` arg to `project channel add` by @minrk in [#2086](https://github.com/prefix-dev/pixi/pull/2086) + +#### Changed + +- Use pixi spec for conda environment yml by @ruben-arts in [#2096](https://github.com/prefix-dev/pixi/pull/2096) +- Update rattler by @nichmor in [#2120](https://github.com/prefix-dev/pixi/pull/2120) +- Update README.md by @ruben-arts in [#2129](https://github.com/prefix-dev/pixi/pull/2129) +- Follow symlinks while walking files by @0xbe7a in [#2141](https://github.com/prefix-dev/pixi/pull/2141) + +#### Documentation + +- Adapt wording in pixi global proposal by @Hofer-Julian in [#2098](https://github.com/prefix-dev/pixi/pull/2098) +- Community: add array-api-extra by @lucascolley in [#2107](https://github.com/prefix-dev/pixi/pull/2107) +- `pixi global` mention `no-activation` by @Hofer-Julian in [#2109](https://github.com/prefix-dev/pixi/pull/2109) +- Add minimal constructor example by @bollwyvl in [#2102](https://github.com/prefix-dev/pixi/pull/2102) +- Update global manifest `install` by @Hofer-Julian in [#2128](https://github.com/prefix-dev/pixi/pull/2128) +- Add description for `pixi update --json` by @scottamain in [#2160](https://github.com/prefix-dev/pixi/pull/2160) +- Fixes backticks for doc strings by @rachfop in [#2174](https://github.com/prefix-dev/pixi/pull/2174) + +#### Fixed + +- Sort exported conda explicit spec topologically by @synapticarbors in [#2101](https://github.com/prefix-dev/pixi/pull/2101) +- `--import env_file` breaks channel priority by @fecet in [#2113](https://github.com/prefix-dev/pixi/pull/2113) +- Allow exact yanked pypi packages by @nichmor in [#2116](https://github.com/prefix-dev/pixi/pull/2116) +- Check if files are same in `self-update` by @apoorvkh in [#2132](https://github.com/prefix-dev/pixi/pull/2132) +- `get_or_insert_nested_table` by @Hofer-Julian in [#2167](https://github.com/prefix-dev/pixi/pull/2167) +- Improve `install.sh` PATH handling and general robustness by @Arcitec in [#2189](https://github.com/prefix-dev/pixi/pull/2189) +- Output tasks on `pixi run` without input by @ruben-arts in [#2193](https://github.com/prefix-dev/pixi/pull/2193) + + +#### Performance +- Significantly speed up conda resolution by @baszalmstra in [#2162](https://github.com/prefix-dev/pixi/pull/2162) + + +#### New Contributors +* @Arcitec made their first contribution in [#2189](https://github.com/prefix-dev/pixi/pull/2189) +* @rachfop made their first contribution in [#2174](https://github.com/prefix-dev/pixi/pull/2174) +* @scottamain made their first contribution in [#2160](https://github.com/prefix-dev/pixi/pull/2160) +* @apoorvkh made their first contribution in [#2132](https://github.com/prefix-dev/pixi/pull/2132) +* @0xbe7a made their first contribution in [#2141](https://github.com/prefix-dev/pixi/pull/2141) +* @fecet made their first contribution in [#2113](https://github.com/prefix-dev/pixi/pull/2113) +* @minrk made their first contribution in [#2086](https://github.com/prefix-dev/pixi/pull/2086) +* @183amir made their first contribution in [#1980](https://github.com/prefix-dev/pixi/pull/1980) +* @lucascolley made their first contribution in [#2107](https://github.com/prefix-dev/pixi/pull/2107) + ### [0.30.0] - 2024-09-19 #### ✨ Highlights I want to thank @synapticarbors and @abkfenris for starting the work on `pixi project export`. diff --git a/CITATION.cff b/CITATION.cff index 1625ca7a9..81ae87aa8 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -24,8 +24,8 @@ authors: name-particle: de family-names: Jager email: tdejager89@gmail.com -repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.30.0' -url: 'https://pixi.sh/v0.30.0' +repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.31.0' +url: 'https://pixi.sh/v0.31.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 600b746b5..13031bdfe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3308,7 +3308,7 @@ dependencies = [ [[package]] name = "pixi" -version = "0.30.0" +version = "0.31.0" dependencies = [ "ahash 0.8.11", "assert_matches", diff --git a/Cargo.toml b/Cargo.toml index fa639831f..bf21723ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -141,7 +141,7 @@ license.workspace = true name = "pixi" readme.workspace = true repository.workspace = true -version = "0.30.0" +version = "0.31.0" [features] default = ["rustls-tls"] diff --git a/crates/pixi_consts/src/consts.rs b/crates/pixi_consts/src/consts.rs index 313d16979..a90372951 100644 --- a/crates/pixi_consts/src/consts.rs +++ b/crates/pixi_consts/src/consts.rs @@ -12,7 +12,7 @@ pub const PYPROJECT_MANIFEST: &str = "pyproject.toml"; pub const PROJECT_LOCK_FILE: &str = "pixi.lock"; pub const CONFIG_FILE: &str = "config.toml"; pub const PIXI_DIR: &str = ".pixi"; -pub const PIXI_VERSION: &str = "0.30.0"; +pub const PIXI_VERSION: &str = "0.31.0"; pub const PREFIX_FILE_NAME: &str = "pixi_env_prefix"; pub const ENVIRONMENTS_DIR: &str = "envs"; pub const SOLVE_GROUP_ENVIRONMENTS_DIR: &str = "solve-group-envs"; diff --git a/docs/advanced/github_actions.md b/docs/advanced/github_actions.md index 1366b695d..162989e85 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.30.0 + pixi-version: v0.31.0 cache: true auth-host: prefix.dev auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} diff --git a/install/install.ps1 b/install/install.ps1 index ae92b6ecb..8059e8336 100644 --- a/install/install.ps1 +++ b/install/install.ps1 @@ -18,7 +18,7 @@ .LINK https://github.com/prefix-dev/pixi .NOTES - Version: v0.30.0 + Version: v0.31.0 #> param ( [string] $PixiVersion = 'latest', diff --git a/install/install.sh b/install/install.sh index 25464c0fe..2c2de6f0e 100644 --- a/install/install.sh +++ b/install/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -euo pipefail -# Version: v0.30.0 +# Version: v0.31.0 __wrap__() { diff --git a/schema/schema.json b/schema/schema.json index b56db2759..980d61c23 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.30.0/schema/manifest/schema.json", + "$id": "https://pixi.sh/v0.31.0/schema/manifest/schema.json", "title": "`pixi.toml` manifest file", "description": "The configuration for a [`pixi`](https://pixi.sh) project.", "type": "object", @@ -13,7 +13,7 @@ "title": "Schema", "description": "The schema identifier for the project's configuration", "type": "string", - "default": "https://pixi.sh/v0.30.0/schema/manifest/schema.json", + "default": "https://pixi.sh/v0.31.0/schema/manifest/schema.json", "format": "uri-reference" }, "activation": { diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 22bee012e..bdd3a9481 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -41,7 +41,7 @@ pub mod upload; #[command( version, about = " -Pixi [version 0.30.0] - Developer Workflow and Environment Management for Multi-Platform, Language-Agnostic Projects. +Pixi [version 0.31.0] - Developer Workflow and Environment Management for Multi-Platform, Language-Agnostic Projects. Pixi is a versatile developer workflow tool designed to streamline the management of your project's dependencies, tasks, and environments. Built on top of the Conda ecosystem, Pixi offers seamless integration with the PyPI ecosystem. diff --git a/tbump.toml b/tbump.toml index b70957ebd..7c8fd3fd8 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/prefix-dev/pixi" [version] -current = "0.30.0" +current = "0.31.0" # Example of a semver regexp. # Make sure this matches current_version before @@ -19,7 +19,7 @@ regex = ''' [git] # The current version will get updated when tbump is run -message_template = "Bump version: 0.30.0 → {new_version}" +message_template = "Bump version: 0.31.0 → {new_version}" tag_template = "v{new_version}" # For each file to patch, add a [[file]] config diff --git a/tests/integration/common.py b/tests/integration/common.py index a00be3299..c60390284 100644 --- a/tests/integration/common.py +++ b/tests/integration/common.py @@ -2,7 +2,7 @@ from pathlib import Path import subprocess -PIXI_VERSION = "0.30.0" +PIXI_VERSION = "0.31.0" class ExitCode(IntEnum):