Skip to content

python3Packages.python-lsp-server: fix build#183862

Merged
kira-bruneau merged 2 commits intoNixOS:masterfrom
jyooru:fix/python3Packages.python-lsp-server
Aug 3, 2022
Merged

python3Packages.python-lsp-server: fix build#183862
kira-bruneau merged 2 commits intoNixOS:masterfrom
jyooru:fix/python3Packages.python-lsp-server

Conversation

@jyooru
Copy link
Member

@jyooru jyooru commented Jul 30, 2022

Description of changes
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/)
  • 22.11 Release Notes (or backporting 22.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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@jyooru jyooru requested review from FRidh and jonringer as code owners July 30, 2022 00:10
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 30, 2022
@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Jul 30, 2022
@ofborg ofborg bot requested a review from fabaff July 30, 2022 00:19
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Jul 30, 2022
@bobby285271 bobby285271 added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 30, 2022
Copy link
Member

@lilyinstarlight lilyinstarlight left a comment

Choose a reason for hiding this comment

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

The postPatch section can be removed now, since those lines were moved to pyproject.toml in 1.5.0 (see python-lsp/python-lsp-server#207) but you added pytest-cov anyway which removes the need for those lines afaik

If the --junitxml=pytest.xml and mccabe lines are still relevant, though, setup.cfg should be changed to pyproject.toml on line 55

@jyooru jyooru requested a review from fabaff July 31, 2022 05:17
@bobby285271 bobby285271 removed the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 31, 2022
@kira-bruneau
Copy link
Contributor

Result of nixpkgs-review pr 183862 run on x86_64-linux 1

2 packages failed to build:
  • spyder (python310Packages.spyder)
  • python39Packages.spyder
14 packages built:
  • python310Packages.pyls-flake8
  • python310Packages.pyls-isort
  • python310Packages.pyls-spyder
  • python310Packages.pylsp-mypy
  • python310Packages.python-lsp-black
  • python310Packages.python-lsp-server
  • python310Packages.whatthepatch
  • python39Packages.pyls-flake8
  • python39Packages.pyls-isort
  • python39Packages.pyls-spyder
  • python39Packages.pylsp-mypy
  • python39Packages.python-lsp-black
  • python39Packages.python-lsp-server
  • python39Packages.whatthepatch

Copy link
Contributor

@kira-bruneau kira-bruneau left a comment

Choose a reason for hiding this comment

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

spyder was already failing due to a bad version requirement, this fix LGTM! ❤️

@kira-bruneau kira-bruneau merged commit 4ef10c9 into NixOS:master Aug 3, 2022
@jyooru jyooru deleted the fix/python3Packages.python-lsp-server branch January 15, 2023 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants