-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
python312Packages.premailer: drop nose dependency #330702
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The disabled
definition can be dropped.
Would you be up for sourcing this from GitHub instead and applying peterbe/premailer#288 to get the test suite to run? You can use a /compare/‹base revision›…‹last PR commit›.patch
URL to get a reasonably stable patch without having to fetch every single commit individually, or just vendor the /pull/‹number›.patch
file in Nixpkgs.
This is an unambiguous improvement though, so I won’t block it if you don’t feel like doing that.
Missing |
60fab22
to
fc7cde6
Compare
fc7cde6
to
0aa752d
Compare
The tests don’t pass even on Python 3.11:
|
This is due to lxml having a parser difference(see reported bugs peterbe/premailer#72 and peterbe/premailer#294) in version 5.0.0 that breaks premailer. I'm not 100% sure why it does this, but I've confirmed this is the issue(pinning I'm not sure how to resolve this, but this is definitely the issue. |
If it’s been broken for this long, then perhaps we should simply drop it. The only user in‐tree is |
I think it'll be best to drop, since the project seems inactive and there are multiple PRs trying to fix support for py3.10+ which haven't been merged, and no PRs attempting to fix the lxml issue, which just creates a hassle moving forward. Will submit a new PR dropping the package. |
Closing as #348580 was merged. Thank you for your work on this! |
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.