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

python3Packages.tinycss2, python3Packages.cssselect2: cleanup tests #92496

Merged
merged 2 commits into from Jul 7, 2020

Conversation

lopsided98
Copy link
Contributor

Motivation for this change

I noticed that #91967 and #91941 both fixed tinycss2's tests in different ways, but did not cause a conflict because they touched different parts of the file. I kept the upstream patch, as it seems like the better solution.

I also noticed that #91364 had, in my opinion, a better fix for cssselect2's tests, but appears to have been superseded by #91941, so I included that patch in this PR as well.

cc @colemickens @misuzu @drewrisinger

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@colemickens
Copy link
Member

LGTM, thanks!

@drewrisinger
Copy link
Contributor

@GrahamcOfBorg build python37Packages.cssselect2 python38Packages.cssselect2 python37Packages.tinycss2 python38Packages.tinycss2

Copy link
Contributor

@drewrisinger drewrisinger left a comment

Choose a reason for hiding this comment

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

I have a slight preference to not worrying about code style (i.e. flake8, import sort) when packaging python packages, but not enough to add/maintain specific patches like this.

  • Diff LGTM
  • Commits LGTM
  • Builds cleanly via nix-review
  • Build has built-in tests, no extra tests run.
https://github.com/NixOS/nixpkgs/pull/92496
15 packages built:
python37Packages.cairosvg python37Packages.cssselect2 python37Packages.pygal python37Packages.qasm2image python37Packages.tinycss2 python37Packages.weasyprint python37Packages.xml2rfc python38Packages.cairosvg python38Packages.cssselect2 python38Packages.pygal python38Packages.qasm2image python38Packages.tinycss2 python38Packages.weasyprint xml2rfc sourcehut.metasrht

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

https://github.com/NixOS/nixpkgs/pull/92496
2 packages marked as broken and skipped:
python37Packages.qasm2image python38Packages.qasm2image

13 packages built:
python37Packages.cairosvg python37Packages.cssselect2 python37Packages.pygal python37Packages.tinycss2 python37Packages.weasyprint python37Packages.xml2rfc python38Packages.cairosvg python38Packages.cssselect2 python38Packages.pygal python38Packages.tinycss2 python38Packages.weasyprint xml2rfc sourcehut.metasrht

@jonringer jonringer merged commit 51a36a4 into NixOS:master Jul 7, 2020
@lopsided98 lopsided98 deleted the tinycss-cleanup branch July 7, 2020 04:23
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.

None yet

5 participants