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

home-assistant: unpin and fix build dependencies #250124

Closed
wants to merge 2 commits into from
Closed

home-assistant: unpin and fix build dependencies #250124

wants to merge 2 commits into from

Conversation

tjni
Copy link
Contributor

@tjni tjni commented Aug 19, 2023

Description of changes

These changes will be needed once we switch over to building Python packages with build.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@tjni tjni changed the base branch from master to staging August 19, 2023 08:41
@tjni tjni marked this pull request as ready for review August 19, 2023 08:41
@mweinelt
Copy link
Member

Thanks. I'm on mobile currently, so I'll take a more thorough look tonight.

@ofborg ofborg bot added the ofborg-internal-error Ofborg encountered an error label Aug 19, 2023
Comment on lines +374 to +375
sed -i 's/setuptools[~=]/setuptools>/' pyproject.toml
sed -i 's/wheel[~=]/wheel>/' pyproject.toml
Copy link
Member

Choose a reason for hiding this comment

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

Have you tried adding it to relaxedConstraints above?

Copy link
Member

Choose a reason for hiding this comment

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

That breaks as it expects one dependency per line.

@tjni tjni mentioned this pull request Aug 19, 2023
12 tasks
Comment on lines +37 to +44
patches = [
# https://github.com/home-assistant/intents-package/pull/1
(fetchpatch {
name = "unpin-setuptools-dependency.patch";
url = "https://github.com/home-assistant/intents-package/commit/fc03c1ec1001ba3b812f2eea670d1c447cf2acee.patch";
hash = "sha256-kTu1+IwDrcdqelyK/vfhxw8MQBis5I1jag7YTytKQhs=";
})
];
Copy link
Member

Choose a reason for hiding this comment

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

Good luck getting anything merged after having mentioned you require this for nixpkgs.

@mweinelt
Copy link
Member

Might as well go in as is. I'll have to clean up the whole dependency versioning story anyway.

@tjni
Copy link
Contributor Author

tjni commented Aug 20, 2023

Merged in #248866.

@tjni tjni closed this Aug 20, 2023
@tjni tjni deleted the homeassistant branch August 20, 2023 18:45
@cole-h cole-h removed the ofborg-internal-error Ofborg encountered an error label Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants