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
python3Packages.ambee: init at 0.2.1 #126326
Conversation
|
As the author of the package that is being re-packaged here. I'm against it being repacked into here. Thank you for considering respecting the author's wishes. |
|
@frenck, what's the reason you are against it? It's a Home Assistant dependency and as a dependency it has to be present otherwise users would not be able to use the |
That is not true. It is a pure Python package, Home Assistant will just fetch it from PyPi using pip.
If users experiencing issues with the ambee library in this package, they will knock on my door. And I'm not willing to support that or accept that burden. Especially as I don't see a good repacking reason in this case. |
That is sadly not true and probably a large part of the misunderstanding here. Given that Nix packaging results in immutable output paths, home-assistant simply cannot go around and modify its site-packages by itself. Users need to opt-in to the components at build time and for that to be possible we need to package their individual dependencies into nixpkgs. |
|
In that case you are shipping an broken Home Assistant version. Which I definitely don't want to be part of. Please remove this package, including all my other packages. Thank for respecting my wishes as the author of the source. |
Hi! I'd like to understand your concerns a little better:
I'm also a little anxious that this thread has the potential to get heated quite quickly, so if you have the time and are willing to it might be worth setting up a quick Jitsi Meet to talk about this. Failing that, maybe we should pull this off into a separate issue thread so we can discuss there instead. |
|
My wishes are above, please do not repack my code into this project. Please respect that request. It is a fairly simple request, nothing heated about it. I have no intention of spending time in this project. Thanks. |
Thanks for your time. In a similar spirit, I'll spend no further time responding to this request. I'll leave it up to other people to decide what they would like to do. |
|
Thanks, @lukegb nevertheless thanks for your extended questions. Edit: All alright back at PC.
My request wasn't related to how it got the source, I don't see how that question is relevant.
This package is newly added. I don't see how that question is relevant at this point yet?
This was already answered. Please don't repack my source in this repository was my request. I don't see how your suggestion is changing that.
Yes, Gentoo isn't one of them at this point. I just did notice Fedora redistributing some of my packages because of your question, so will file a similar request with them. |
The difference would be that users would no longer associate the software with you and they would surely go to nixpkgs to report bugs. Another alternative would be requiring users to explicitly set We1 can remove the package but that should only be a last resort after we have exhausted all other options. That is because in the absence of the package in Nixpkgs, every NixOS user would have to create their own
|
I feel like I'm starting to be on repeat now. Please don't add any of my stuff to this project. Thanks
No. Please don't add it to this project. Thanks
I'm aware of the consequence. Luckily the Home Assistant project does not recommend or support that either (which is unrelated but makes me worry less). |
|
Result of 2 packages built:
|
Request kindly denied due to the lack of technical reasons. If you don't wish your code to be packaged in nixpkgs, than make sure it is not a dependency of home-assistant or choose a different license (which should have the same result). |
|
@Mic92 I will re-license and bump the dependency in a way that you guys can't distribute. Mainly because of not playing nice. Thanks |
This would likely result in no longer being open source and hence the removal from home-assistant as well. |
Unfortunately, you are wrong there. I will explicitly and publicly list parties that are allowed distribution in the license and allow for requesting distribution requests. |
|
This pisses me off in a way and is disrespectful. I asked nicely. |
|
PS: This package is outdated and not even compatible with the target release anymore. But I guess that didn't matter, as long as you could merge, right? |
|
Quoting from Debian’s thread on Distributing software written by hostile upstream developers:
I fully agree with that so I would be in favour of removing it. |
|
This is not really an issue for us, we can switch the license to an unfree one and than it is no longer build in nixpkgs but we only ship the build description for building it. |
Please do from the start, that possibility wasn't provided. |
|
Locked for now. Please see #126677 (comment). |
Our update automation for Home Assistant prints a list of outdated dependencies, so this package will surely be updated in Nixpkgs when Home Assistant is. |
|
@frenck I'd like to point out that core contributors from the Nix community are handling your request to support our project. I'd like to clarify from your sponsors page the following statement:
Do you still believe in that? |
|
There is no point in locking this thread if NixOS contributors are just gonna ignore that and continue posting here without @frenck being able to respond. |
|
FYI, this thread has resulted in some pretty spirited discussion on hackernews with somewhat polarized perspectives in both directions. |
We are aware of this. Thanks for the link anyway. :) |
|
See: #126319 (comment) |
I feel the need to clarify that even a restriction like that would contradict the first criteria of the Open Source Definition:
It would also contradict the Free Software Definition. A restriction like that would therefore result in the project no longer being open-source or free software. |
|
I'm well aware of licensing and open source. It is my full-time daily driver and is visible in the very first request I made indicating the license permits it. For me, this was not about licensing specifically. However, that point unfortunately is missed and got lost. Which is unfortunate. A lot blew up on the route, which just sucks for both parties. In the end, I think the way this project distributes Home Assistant (and its integrations, including Ambee) is not providing the intended working and thus may surprise the end user. In the end, those users are likely to knock on the doors of the Home Assistant project and their integration maintainers, not this project. As a matter of fact, most of my packages in this project are outdated and don't match the distributed version of Home Assistant. That is my concern, hence, my initially, friendly request to not include my packages, just like they don't include hundreds of other dependencies of Home Assistant either. The way it is now discussed and thorn out of proportion is neither my nor (I'm sure) this project intention. Open source is awesome, but there is more than just licensing. We have to be able to work together as well; or nothing gets built. ../Frenck PS: I think the topic is handled and closed here: #126319 (comment) |
|
I feel I've arrived somewhat late to the discussion, but I think it would be reasonable to weigh in here, because I'm home-assistant's (and coincidentally wled's) primary maintainer on nixpkgs these days. The community consensus seems to be that we really want to keep these packages around, as dropping some of them will unnecessarily break user experiences, which I hope is also not in your interest. I'll also hope we can get to a cordial outcome despite our differences of opinion. It is true that a lot of components to this day remain unsupported due to missing packages. This is due to the immense number of dependencies home-assistant relies on - but we are certainly catching up. We also run a significant number of tests for the components where we have all dependencies packaged up. We invest a reasonable amount of time to debug failing tests and make sure things work within our environment. We have rarely asked upstream for support, knowing full well that NixOS is a special snowflake with regard to how everything gets composed. But please recognize that this is the place where we collaborate to bring home-assistant together with our philosophy on how system administration should work. We take great care when updating home-assistant and its leaf packages, and the index you found is created by tooling that also compares versions of packaged and expected dependencies, so it is somewhat unlikely that we'll ship home-assistant with an outdated dependency. I also firmly believe that our community is well aware of how we compose home-assistant, so that it runs on NixOS, that they also will be highly aware when breaking changes occur, that they might be our fault. I'd be happy to more clearly make our users aware, that our distribution is not supported upstream and that issues should first and foremost be directed to us, if that unburdens your project. It was certainly not our intention to sour the relationship with our upstreams. I hope that puts all technical misunderstandings to rest and we can move on. Martin Weinelt |
Motivation for this change
Python client for Ambee API
https://github.com/frenck/python-ambee
ToDo:
component-packagesThings done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)