Skip to content

Conversation

phw
Copy link
Member

@phw phw commented Aug 16, 2025

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1-2 sentences:

Problem

The management of requirements-win.txt and requirements-macos-11.0.txt was moved to uv as separate requirements groups. Unfortunately this doesn't fit our use case. uv expects the groups to not conflict. So you cannot for example fix a requirement in one group without fixing it for the entire project. Also setting conflicting versions in different groups is not allowed.

Solution

Revert to handling the requirements-win.txt and requirements-macos-11.0.txt manually again. For the majority of use cases we want to use the general requirments in pyproject.toml anyway, and I'll usually just upgrade the platform specific ones to the latest versions we also use in the generated requirements.txt. I'm fine to manage the specific cases for the wind and mac binary builds manually when needed.

phw added 2 commits August 16, 2025 17:41
uv expects the requirement groups not to conflict. Which generally is
fine, but does not fit the use case of the platform specific requirements
files as used by Picard builds.
@phw phw requested a review from zas August 16, 2025 15:47
Copy link
Collaborator

@zas zas left a comment

Choose a reason for hiding this comment

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

What a pity, let's hope we can revert this in the future.

@phw
Copy link
Member Author

phw commented Aug 16, 2025

Maybe we can even get rid of it. Right now in this setup we actually don't need it (same deps anywhere), but I'm yet hesitant to change it. Just a few months ago we had the need for different Qt6 versions on Win and macOS.

@phw phw merged commit 787a5d5 into metabrainz:master Aug 16, 2025
45 checks passed
@phw phw deleted the change-platform-specific-deps branch August 16, 2025 16:59
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.

2 participants