Skip to content

fix: pixi global update shortcuts#4463

Merged
Hofer-Julian merged 15 commits intoprefix-dev:mainfrom
Hofer-Julian:feature/pix-1085-pixi-global-update-removes-desktop-files-generated-by
Sep 1, 2025
Merged

fix: pixi global update shortcuts#4463
Hofer-Julian merged 15 commits intoprefix-dev:mainfrom
Hofer-Julian:feature/pix-1085-pixi-global-update-removes-desktop-files-generated-by

Conversation

@Hofer-Julian
Copy link
Contributor

@Hofer-Julian Hofer-Julian commented Aug 28, 2025

Fixes #4455

@Hofer-Julian
Copy link
Contributor Author

If I update rattler-build to 0.37 or higher I get this error message when running

pixi run update-test-channel shortcuts_channel_1
pixi run test-specific-test test_shortcuts
E       AssertionError: Return code was 1, expected 0, stderr: Error:   × Couldn't install pixi-editor
E         ├─▶ failed to fetch pixi-editor-0.1.3-h4616a5c_0.conda
E         ╰─▶ hash mismatch when extracting file:///var/home/julian/Projekte/github.com/prefix-dev/pixi-1/tests/data/channels/channels/shortcuts_channel_1/noarch/pixi-editor-0.1.3-h4616a5c_0.conda to /var/home/julian/Projekte/github.com/prefix-dev/pixi-1/pytest-temp/test_add_shortcut0/data_home/.cache/rattler/cache/bld/pkgs/pixi-editor-0.1.3-h4616a5c_0: expected 0a37428753970f65700aa4b8672ef29e, got ccd432787b5b996e06737e2507493f49, total size 335333 bytes

Maybe @zelosleone can help me with that tomorrow?

@wolfv
Copy link
Member

wolfv commented Aug 29, 2025

Does it fail with the latest versions of everything? Because we did, at some point, had a problem with the hashing in rattler.

Can you check which hash is broken? The one in the repodata or the one calculated by rattler upon installation?

@Hofer-Julian
Copy link
Contributor Author

Does it fail with the latest versions of everything? Because we did, at some point, had a problem with the hashing in rattler.

I couldn't find a single working release starting with 0.37

Can you check which hash is broken? The one in the repodata or the one calculated by rattler upon installation?

How would I check that? :)

@Hofer-Julian
Copy link
Contributor Author

@wolfv the one in the repodata is wrong

@wolfv
Copy link
Member

wolfv commented Aug 29, 2025

Did you run git lfs pull?

@wolfv
Copy link
Member

wolfv commented Aug 29, 2025

I guess I am wondering why the hash of the earlier package also changed?

@Hofer-Julian
Copy link
Contributor Author

Did you run git lfs pull?

I don't understand where git lfs is involved here

@Hofer-Julian Hofer-Julian marked this pull request as ready for review September 1, 2025 06:07
Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works on my machine!

Co-authored-by: Ruben Arts <ruben@prefix.dev>
@Hofer-Julian Hofer-Julian enabled auto-merge (squash) September 1, 2025 08:04
@Hofer-Julian Hofer-Julian merged commit 771b30f into prefix-dev:main Sep 1, 2025
42 checks passed
@Hofer-Julian Hofer-Julian deleted the feature/pix-1085-pixi-global-update-removes-desktop-files-generated-by branch September 1, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pixi global update removes desktop files generated by shortcuts

3 participants