From b20624349d7853ae6562495dacf573d247a80479 Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Wed, 20 Mar 2024 15:02:34 +0100 Subject: [PATCH] chore: prepare v0.17.0 (#1026) --- CHANGELOG.md | 62 +++++++++++++++++++++++++++++++++ CITATION.cff | 4 +-- Cargo.lock | 2 +- Cargo.toml | 2 +- cliff.toml | 5 +++ docs/advanced/github_actions.md | 2 +- tbump.toml | 12 +++++-- 7 files changed, 82 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79f971030..7fdd0749e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,68 @@ 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.17.0] - 2024-03-19 +### ✨ Highlights + +- This release greatly improves `pixi global` commands, thanks to @chawyehsu! +- We now support global (or local) configuration for pixi's own behavior, including mirrors, and OCI registries. +- We support channel mirrors for corporate environments! +- Faster `task` execution thanks to caching 🚀 Tasks that already executed successfully can be skipped based on the hash of the `inputs` and `outputs`. +- PyCharm and GitHub Actions integration thanks to @pavelzw – read more about it in the docs! + +### 📃 Details + +#### Added + +- Add citation file by @ruben-arts in [#908](https://github.com/prefix-dev/pixi/pull/908) +- Add a pixi badge by @ruben-arts in [#961](https://github.com/prefix-dev/pixi/pull/961) +- Add deserialization of pypi source dependencies from toml by @ruben-arts and @wolf in [#895](https://github.com/prefix-dev/pixi/pull/895) [#984](https://github.com/prefix-dev/pixi/pull/984) +- Implement mirror and OCI settings by @wolfv in [#988](https://github.com/prefix-dev/pixi/pull/988) +- Implement `inputs` and `outputs` hash based task skipping by @wolfv in [#933](https://github.com/prefix-dev/pixi/pull/933) + +#### Changed + +- Refined global upgrade commands by @chawyehsu in [#948](https://github.com/prefix-dev/pixi/pull/948) +- Global upgrade supports matchspec by @chawyehsu in [#962](https://github.com/prefix-dev/pixi/pull/962) +- Improve `pixi search` with platform selection and making limit optional by @wolfv in [#979](https://github.com/prefix-dev/pixi/pull/979) +- Implement global config options by @wolfv in [#960](https://github.com/prefix-dev/pixi/pull/960) [#1015](https://github.com/prefix-dev/pixi/pull/1015) [#1019](https://github.com/prefix-dev/pixi/pull/1019) +- Update auth to use rattler cli by @kassoulait by @ruben-arts in [#986](https://github.com/prefix-dev/pixi/pull/986) + +#### Documentation + +- Remove cache: true from setup-pixi by @pavelzw in [#950](https://github.com/prefix-dev/pixi/pull/950) +- Add GitHub Actions documentation by @pavelzw in [#955](https://github.com/prefix-dev/pixi/pull/955) +- Add PyCharm documentation by @pavelzw in [#974](https://github.com/prefix-dev/pixi/pull/974) +- Mention `watch_file` in direnv usage by @pavelzw in [#983](https://github.com/prefix-dev/pixi/pull/983) +- Add tip to help users when no PROFILE file exists by @ruben-arts in [#991](https://github.com/prefix-dev/pixi/pull/991) +- Move yaml comments into mkdocs annotations by @pavelzw in [#1003](https://github.com/prefix-dev/pixi/pull/1003) +- Fix --env and extend actions examples by @ruben-arts in [#1005](https://github.com/prefix-dev/pixi/pull/1005) +- Add Wflow to projects built with pixi by @Hofer-Julian in [#1006](https://github.com/prefix-dev/pixi/pull/1006) +- Removed `linenums` to avoid buggy visualization by @ruben-arts in [#1002](https://github.com/prefix-dev/pixi/pull/1002) +- Fix typos by @pavelzw in [#1016](https://github.com/prefix-dev/pixi/pull/1016) + +#### Fixed + +- Pypi dependencies not being removed by @tdejager in [#952](https://github.com/prefix-dev/pixi/pull/952) +- Permissions for lint pr by @ruben-arts in [#852](https://github.com/prefix-dev/pixi/pull/852) +- Install Windows executable with `install.sh` in Git Bash by @jdblischak in [#966](https://github.com/prefix-dev/pixi/pull/966) +- Proper scanning of the conda-meta folder for `json` entries by @wolfv in [#971](https://github.com/prefix-dev/pixi/pull/971) +- Global shim scripts for Windows by @wolfv in [#975](https://github.com/prefix-dev/pixi/pull/975) +- Correct fish prompt by @wolfv in [#981](https://github.com/prefix-dev/pixi/pull/981) +- Prefix_file rename by @ruben-arts in [#959](https://github.com/prefix-dev/pixi/pull/959) +- Conda transitive dependencies of pypi packages are properly extracted by @baszalmstra in [#967](https://github.com/prefix-dev/pixi/pull/967) +- Make tests more deterministic and use single * for glob expansion by @wolfv in [#987](https://github.com/prefix-dev/pixi/pull/987) +- Create conda-meta/history file by @pavelzw in [#995](https://github.com/prefix-dev/pixi/pull/995) +- Pypi dependency parsing was too lenient by @wolfv in [#984](https://github.com/prefix-dev/pixi/pull/984) +- Add reactivation of the environment in pixi shell by @wolfv in [#982](https://github.com/prefix-dev/pixi/pull/982) +- Add `tool` to strict json schema by @ruben-arts in [#969](https://github.com/prefix-dev/pixi/pull/969) + +## New Contributors +* @jdblischak made their first contribution in [#966](https://github.com/prefix-dev/pixi/pull/966) +* @kassoulait made their first contribution in [#986](https://github.com/prefix-dev/pixi/pull/986) + +[Full commit history](https://github.com/prefix-dev/pixi/compare/v0.16.1..v0.17.0) + ## [0.16.1] - 2024-03-11 ### 📃 Details #### Fixed diff --git a/CITATION.cff b/CITATION.cff index a3fbbf8ad..a0d5ecc6e 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.16.1' -url: 'https://pixi.sh/v0.16.1' +repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.17.0' +url: 'https://pixi.sh/v0.17.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 b182cec2d..75d8eb761 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3045,7 +3045,7 @@ dependencies = [ [[package]] name = "pixi" -version = "0.16.1" +version = "0.17.0" dependencies = [ "assert_matches", "async-once-cell", diff --git a/Cargo.toml b/Cargo.toml index 4fb742ad6..323d543df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pixi" -version = "0.16.1" +version = "0.17.0" description = "A package management and workflow tool" edition = "2021" authors = ["pixi contributors "] diff --git a/cliff.toml b/cliff.toml index 9a98647cc..c3e0da876 100644 --- a/cliff.toml +++ b/cliff.toml @@ -90,6 +90,11 @@ commit_preprocessors = [ ] # regex for parsing and grouping commits commit_parsers = [ + { message = "^docs:.*", group = "Documentation" }, + { message = "^style:.*", group = "Style" }, + { message = "^refactor:.*", group = "Refactor" }, + { message = "^perf:.*", group = "Performance" }, + { message = "^performance:.*", group = "Performance" }, { message = "^.*: add", group = "Added" }, { message = "^[a|A]dd", group = "Added" }, { message = "^.*: support", group = "Added" }, diff --git a/docs/advanced/github_actions.md b/docs/advanced/github_actions.md index 8d4d6176f..bbd500dd9 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.5.1 with: - pixi-version: v0.16.1 + pixi-version: v0.17.0 cache: true auth-host: prefix.dev auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} diff --git a/tbump.toml b/tbump.toml index c790cf060..e0e2ffeba 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/prefix-dev/pixi" [version] -current = "0.16.1" +current = "0.17.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.16.1 → {new_version}" +message_template = "Bump version: 0.17.0 → {new_version}" tag_template = "v{new_version}" # For each file to patch, add a [[file]] config @@ -40,3 +40,11 @@ src = "CITATION.cff" name = "candidate" # the default value to use, if there is no match default = "" + +[[file]] +src = "Cargo.toml" +search = '^version = "{current_version}"' + +[[file]] +src = "docs/advanced/github_actions.md" +search = "pixi-version: v{current_version}"