From 9a21ce66d720b1c3e81c555336bd22aca41c3ada Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Mon, 6 May 2024 16:42:23 +0200 Subject: [PATCH] chore: bump to v0.21.0 (#1328) --- CHANGELOG.md | 48 +++++++++++++++++++++++++++++++++ CITATION.cff | 4 +-- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/advanced/github_actions.md | 2 +- install/install.ps1 | 2 +- install/install.sh | 2 +- schema/schema.json | 4 +-- tbump.toml | 4 +-- 9 files changed, 59 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d9ef6caa..24a2dee96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,54 @@ 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.21.0] - 2024-05-06 +### ✨ Highlights +- This release adds support for configuring PyPI settings globally, to use alternative PyPI indexes and load credentials with keyring. +- We now support cross-platform running, for `osx-64` on `osx-arm64` and `wasm` environments. +- There is now a `no-default-feature` option to simplify usage of environments. + +### 📃 Details + +#### Added +- Add pypi config for global local config file + keyring support by @wolfv in [#1279](https://github.com/prefix-dev/pixi/pull/1279) +- Allow for cross-platform running, for `osx-64` on `osx-arm64` and `wasm` environments by @wolfv in [#1020](https://github.com/prefix-dev/pixi/pull/1020) + +#### Changed +- Add `no-default-feature` option to environments by @olivier-lacroix in [#1092](https://github.com/prefix-dev/pixi/pull/1092) +- Add `/etc/pixi/config.toml` to global configuration search paths by @pavelzw in [#1304](https://github.com/prefix-dev/pixi/pull/1304) +- Change global config fields to kebab-case by @tdejager in [#1308](https://github.com/prefix-dev/pixi/pull/1308) +- Show all available task with `task list` by @Hoxbro in [#1286](https://github.com/prefix-dev/pixi/pull/1286) +- Allow to emit activation environment variables as JSON by @borchero in [#1317](https://github.com/prefix-dev/pixi/pull/1317) +- Use locked pypi packages as preferences in the pypi solve to get minimally updating lock files by @ruben-arts in [#1320](https://github.com/prefix-dev/pixi/pull/1320) +- Allow to upgrade several global packages at once by @olivier-lacroix in [#1324](https://github.com/prefix-dev/pixi/pull/1324) + +#### Documentation +- Typo in tutorials python by @carschandler in [#1297](https://github.com/prefix-dev/pixi/pull/1297) +- Python Tutorial: Dependencies, PyPI, Order, Grammar by @JesperDramsch in [#1313](https://github.com/prefix-dev/pixi/pull/1313) + +#### Fixed +- Schema version and add it to tbump by @ruben-arts in [#1284](https://github.com/prefix-dev/pixi/pull/1284) +- Make integration test fail in ci and fix ssh issue by @ruben-arts in [#1301](https://github.com/prefix-dev/pixi/pull/1301) +- Automate adding install scripts to the docs by @ruben-arts in [#1302](https://github.com/prefix-dev/pixi/pull/1302) +- Do not always request for prefix mapping by @nichmor in [#1300](https://github.com/prefix-dev/pixi/pull/1300) +- Align CLI aliases and add missing by @ruben-arts in [#1316](https://github.com/prefix-dev/pixi/pull/1316) +- Alias `depends_on` to `depends-on` by @ruben-arts in [#1310](https://github.com/prefix-dev/pixi/pull/1310) +- Add error if channel or platform doesn't exist on remove by @ruben-arts in [#1315](https://github.com/prefix-dev/pixi/pull/1315) +- Allow spec in `pixi q` instead of only name by @ruben-arts in [#1314](https://github.com/prefix-dev/pixi/pull/1314) +- Remove dependency on sysroot for linux by @ruben-arts in [#1319](https://github.com/prefix-dev/pixi/pull/1319) +- Fix linking symlink issue, by updating to the latest `rattler` by @baszalmstra in [#1327](https://github.com/prefix-dev/pixi/pull/1327) + +#### Refactor +- Use IndexSet instead of Vec for collections of unique elements by @olivier-lacroix in [#1289](https://github.com/prefix-dev/pixi/pull/1289) +- Use generics over PyPiDependencies and CondaDependencies by @olivier-lacroix in [#1303](https://github.com/prefix-dev/pixi/pull/1303) + +## New Contributors +* @borchero made their first contribution in [#1317](https://github.com/prefix-dev/pixi/pull/1317) +* @JesperDramsch made their first contribution in [#1313](https://github.com/prefix-dev/pixi/pull/1313) +* @Hoxbro made their first contribution in [#1286](https://github.com/prefix-dev/pixi/pull/1286) +* @carschandler made their first contribution in [#1297](https://github.com/prefix-dev/pixi/pull/1297) + +[Full commit history](https://github.com/prefix-dev/pixi/compare/v0.20.1..v0.21.0) ## [0.20.1] - 2024-04-26 ### ✨ Highlights diff --git a/CITATION.cff b/CITATION.cff index 80b52347f..f34d82d53 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.20.1' -url: 'https://pixi.sh/v0.20.1' +repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.21.0' +url: 'https://pixi.sh/v0.21.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 d187eff28..9515ec774 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3241,7 +3241,7 @@ dependencies = [ [[package]] name = "pixi" -version = "0.20.1" +version = "0.21.0" dependencies = [ "assert_matches", "async-once-cell", diff --git a/Cargo.toml b/Cargo.toml index bf27ed58c..1ebc32d56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pixi" -version = "0.20.1" +version = "0.21.0" description = "A package management and workflow tool" edition = "2021" authors = ["pixi contributors "] diff --git a/docs/advanced/github_actions.md b/docs/advanced/github_actions.md index 2be4a6a6c..17e6c9cdf 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.6.0 with: - pixi-version: v0.20.1 + pixi-version: v0.21.0 cache: true auth-host: prefix.dev auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} diff --git a/install/install.ps1 b/install/install.ps1 index 086f835bd..c31dd8d90 100644 --- a/install/install.ps1 +++ b/install/install.ps1 @@ -18,7 +18,7 @@ .LINK https://github.com/prefix-dev/pixi .NOTES - Version: v0.20.1 + Version: v0.21.0 #> param ( [string] $PixiVersion = 'latest', diff --git a/install/install.sh b/install/install.sh index 2d1281b9a..cea694ad4 100644 --- a/install/install.sh +++ b/install/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -euo pipefail -# Version: v0.20.1 +# Version: v0.21.0 __wrap__() { diff --git a/schema/schema.json b/schema/schema.json index 39769e567..209d92b4d 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.20.1/schema/manifest/schema.json", + "$id": "https://pixi.sh/v0.21.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.20.1/schema/manifest/schema.json", + "default": "https://pixi.sh/v0.21.0/schema/manifest/schema.json", "format": "uri-reference" }, "activation": { diff --git a/tbump.toml b/tbump.toml index e5726d17e..7e2130518 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/prefix-dev/pixi" [version] -current = "0.20.1" +current = "0.21.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.20.1 → {new_version}" +message_template = "Bump version: 0.21.0 → {new_version}" tag_template = "v{new_version}" # For each file to patch, add a [[file]] config