Skip to content

Commit

Permalink
chore: version to 0.42.2 (#3108)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-arts authored Feb 11, 2025
1 parent b0288d6 commit 6b9ff37
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 63 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,36 @@ 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.2] - 2025-02-11
#### ✨ Highlights

This release introduces the ability to add environment variables to the `init --import` command.
We also upgraded the `uv` crate to `v0.5.29`.

#### Changed

- Add environment variables to `init --import` by @zklaus in [#3083](https://github.com/prefix-dev/pixi/pull/3083)
- Upgrade uv to `v0.5.29` by @tdejager in [#3075](https://github.com/prefix-dev/pixi/pull/3075)

#### Documentation

- Add Bodo to Community.md by @IsaacWarren in [#3103](https://github.com/prefix-dev/pixi/pull/3103)

#### Fixed

- Json Schema by @Hofer-Julian in [#3082](https://github.com/prefix-dev/pixi/pull/3082)
- Getting records for wrong platform by @tdejager in [#3084](https://github.com/prefix-dev/pixi/pull/3084)

#### Refactor

- Split workspace and package manifests by @baszalmstra in [#3043](https://github.com/prefix-dev/pixi/pull/3043)
- Env module by @tdejager in [#3074](https://github.com/prefix-dev/pixi/pull/3074)

#### New Contributors

* @IsaacWarren made their first contribution in [#3103](https://github.com/prefix-dev/pixi/pull/3103)
* @zklaus made their first contribution in [#3083](https://github.com/prefix-dev/pixi/pull/3083)

### [0.41.1] - 2025-02-07
#### Fixed
- Pixi authentication by @ruben-arts in [#3070](https://github.com/prefix-dev/pixi/pull/3070)
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.41.1'
url: 'https://pixi.sh/v0.41.1'
repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.41.2'
url: 'https://pixi.sh/v0.41.2'
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 @@ -180,7 +180,7 @@ license.workspace = true
name = "pixi"
readme.workspace = true
repository.workspace = true
version = "0.41.1"
version = "0.41.2"

[features]
default = ["online_tests", "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.41.1",
None => "0.41.2",
};
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.41.1
pixi-version: v0.41.2
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.41.1 AS build
FROM ghcr.io/prefix-dev/pixi:0.41.2 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.41.1
ARG PIXI_VERSION=v0.41.2

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.41.1
Version: v0.41.2
#>
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.41.1
# Version: v0.41.2

__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.41.1/schema/manifest/schema.json",
"$id": "https://pixi.sh/v0.41.2/schema/manifest/schema.json",
"title": "`pixi.toml` manifest file",
"description": "The configuration for a [`pixi`](https://pixi.sh) project.",
"type": "object",
Expand All @@ -10,7 +10,7 @@
"title": "Schema",
"description": "The schema identifier for the project's configuration",
"type": "string",
"default": "https://pixi.sh/v0.41.1/schema/manifest/schema.json",
"default": "https://pixi.sh/v0.41.2/schema/manifest/schema.json",
"format": "uri-reference"
},
"activation": {
Expand Down
55 changes: 6 additions & 49 deletions scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ def main() -> None:
"Commit changes",
"Push changes",
"Create and merge release prep PR",
"Tag release",
"Push tag",
"Publish release",
"Test release",
]

colored_print("Select the step to start from:", Colors.YELLOW)
Expand Down Expand Up @@ -187,52 +183,13 @@ def main() -> None:
colored_input("Merge that PR. Press Enter to continue...", Colors.MAGENTA)
status.append("Created and merged the release prep PR")

if start_step <= 11:
colored_print("\nTagging the release", Colors.YELLOW)
colored_print("\nChecking out main...", Colors.YELLOW)
run_command(["git", "fetch", "upstream"])
run_command(["git", "checkout", "upstream/main"])

colored_print("\nTagging the release...", Colors.YELLOW)
run_command(["git", "tag", f"v{release_version}", "-m", f"Release {release_version}"])
status.append(f"Tagged the release with version {release_version}")

if start_step <= 12:
colored_print("\nPushing the tag...", Colors.YELLOW)
run_command(["git", "push", "upstream", f"v{release_version}"])
status.append("Pushed the tag")

if start_step <= 13:
colored_input(
"Update the Release which has CI created for you (after the first build) and add the changelog to the release notes. Press Enter to continue...",
Colors.MAGENTA,
)
colored_input(
"Make sure all the artifacts are there and the CI is green!!! Press Enter to continue...",
Colors.MAGENTA,
)
colored_input(
"Publish the release and make sure it is set as latest. Press Enter to continue...",
Colors.MAGENTA,
)
status.append("Published the release")

colored_print("Testing the release using `pixi self-update`...", Colors.YELLOW)
run_command([pixi, "self-update"])

version_output = run_command([pixi, "--version"], capture_stdout=True)
expected_version_output = f"pixi {release_version}"
if version_output == expected_version_output:
colored_print(f"Version check passed: {version_output}", Colors.YELLOW)
else:
colored_print(
f"Version check failed: expected {expected_version_output}, got {version_output}",
Colors.YELLOW,
)
status.append("Tested the release")
colored_print(
f"\nStart a release build for 'v{release_version}' by starting the workflow manually in https://github.com/prefix-dev/pixi/actions/workflows/release.yml",
Colors.YELLOW,
)

colored_print("\nDONE!", Colors.YELLOW)
status.append("Release process completed successfully")
colored_print("\nDONE!", Colors.YELLOW)
status.append("Release process completed successfully")

except KeyboardInterrupt:
colored_print("\nProcess interrupted.", Colors.YELLOW)
Expand Down
2 changes: 1 addition & 1 deletion 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.41.1"
current = "0.41.2"

# Example of a semver regexp.
# Make sure this matches current_version before
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 @@ -8,7 +8,7 @@

from rattler import Platform

PIXI_VERSION = "0.41.1"
PIXI_VERSION = "0.41.2"


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

0 comments on commit 6b9ff37

Please sign in to comment.