Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: version to v0.40.0 #2876

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,61 @@ 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.40.0] - 2025-01-10
#### ✨ Highlights
Manifest file parsing has been significantly improved.
Errors will now be clearer and more helpful, for example:
```shell
× Expected one of 'first-index', 'unsafe-first-match', 'unsafe-best-match'
╭─[pixi.toml:2:27]
1 │
2 │ index-strategy = "UnsafeFirstMatch"
· ────────────────
3 │
╰────
help: Did you mean 'unsafe-first-match'?
```

#### Breaking Change Alert:
The `depends_on` field has been renamed to `depends-on` for better consistency.
Using the old format without a dash (depends_on) will now result in an error.
The new errors should help you find the location:
```shell
Error:
× field 'depends_on' is deprecated, 'depends-on' has replaced it
╭─[pixi.toml:22:51]
21 │ install = "cargo install --path . --locked"
22 │ install-as = { cmd = "python scripts/install.py", depends_on = [
· ─────┬────
· ╰── replace this with 'depends-on'
23 │ "build-release",
╰────
```

#### Added
- Pixi add git source dependency by @nichmor in [#2858](https://github.com/prefix-dev/pixi/pull/2858)

#### Documentation
- Fix installation docs mistake in index.md by @PanTheDev in [#2869](https://github.com/prefix-dev/pixi/pull/2869)

#### Fixed
- Create missing global manifest folder with pixi global edit by @zbowling in [#2847](https://github.com/prefix-dev/pixi/pull/2847)
- Pixi add creates a project by @nichmor in [#2861](https://github.com/prefix-dev/pixi/pull/2861)
- Initialized detached envs with None by @ruben-arts in [#2841](https://github.com/prefix-dev/pixi/pull/2841)

#### `pixi build` Preview work
- Build backend docs by @tdejager in [#2844](https://github.com/prefix-dev/pixi/pull/2844)
- Move pixi build type conversions into its own crate by @tdejager in [#2866](https://github.com/prefix-dev/pixi/pull/2866)
- Expose build type v1 function by @tdejager in [#2875](https://github.com/prefix-dev/pixi/pull/2875)
- Use toml-span for deserialization by @baszalmstra in [#2718](https://github.com/prefix-dev/pixi/pull/2718)
- Expands options for setting pixi-build override options by @tdejager in [#2843](https://github.com/prefix-dev/pixi/pull/2843)
- Split capability retrieval from initialize by @tdejager in [#2831](https://github.com/prefix-dev/pixi/pull/2831)
- Move package fields under `[package]`. by @baszalmstra in [#2731](https://github.com/prefix-dev/pixi/pull/2731)
- Extract pixi manifest info into protocol by @tdejager in [#2850](https://github.com/prefix-dev/pixi/pull/2850)

#### New Contributors
* @PanTheDev made their first contribution in [#2869](https://github.com/prefix-dev/pixi/pull/2869)

### [0.39.5] - 2025-01-06
#### ✨ Highlights
By updating [`resolvo`](https://github.com/mamba-org/resolvo/pull/91) to the latest version we now significantly lower the RAM usage during the solve process. 🚀
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ authors:
- given-names: Julian
family-names: Hofer
email: [email protected]
repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.39.5'
url: 'https://pixi.sh/v0.39.5'
repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.40.0'
url: 'https://pixi.sh/v0.40.0'
abstract: >-
A cross-platform, language agnostic, package/project
management tool for development in virtual environments.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ license.workspace = true
name = "pixi"
readme.workspace = true
repository.workspace = true
version = "0.39.5"
version = "0.40.0"

[features]
default = ["rustls-tls"]
Expand Down
2 changes: 1 addition & 1 deletion crates/pixi_consts/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.39.5",
None => "0.40.0",
};
pub const PREFIX_FILE_NAME: &str = "pixi_env_prefix";
pub const ENVIRONMENTS_DIR: &str = "envs";
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/github_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We created [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) to
```yaml
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.39.5
pixi-version: v0.40.0
cache: true
auth-host: prefix.dev
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/production_deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.39.5 AS build
FROM ghcr.io/prefix-dev/pixi:0.40.0 AS build

# copy source code, pixi.toml and pixi.lock to the container
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion docs/ide_integration/devcontainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.39.5
ARG PIXI_VERSION=v0.40.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 \
Expand Down
2 changes: 1 addition & 1 deletion install/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.LINK
https://github.com/prefix-dev/pixi
.NOTES
Version: v0.39.5
Version: v0.40.0
#>
param (
[string] $PixiVersion = 'latest',
Expand Down
2 changes: 1 addition & 1 deletion install/install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
# Version: v0.39.5
# Version: v0.40.0

__wrap__() {

Expand Down
4 changes: 2 additions & 2 deletions schema/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://pixi.sh/v0.39.5/schema/manifest/schema.json",
"$id": "https://pixi.sh/v0.40.0/schema/manifest/schema.json",
"title": "`pixi.toml` manifest file",
"description": "The configuration for a [`pixi`](https://pixi.sh) project.",
"type": "object",
Expand All @@ -22,7 +22,7 @@
"title": "Schema",
"description": "The schema identifier for the project's configuration",
"type": "string",
"default": "https://pixi.sh/v0.39.5/schema/manifest/schema.json",
"default": "https://pixi.sh/v0.40.0/schema/manifest/schema.json",
"format": "uri-reference"
},
"activation": {
Expand Down
4 changes: 2 additions & 2 deletions tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/prefix-dev/pixi"

[version]
current = "0.39.5"
current = "0.40.0"

# Example of a semver regexp.
# Make sure this matches current_version before
Expand All @@ -19,7 +19,7 @@ regex = '''

[git]
# The current version will get updated when tbump is run
message_template = "Bump version: 0.39.5 → {new_version}"
message_template = "Bump version: 0.40.0 → {new_version}"
tag_template = "v{new_version}"

# For each file to patch, add a [[file]] config
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_python/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from rattler import Platform

PIXI_VERSION = "0.39.5"
PIXI_VERSION = "0.40.0"


ALL_PLATFORMS = '["linux-64", "osx-64", "osx-arm64", "win-64", "linux-ppc64le", "linux-aarch64"]'
Expand Down
Loading