Skip to content

python3Packages.python-lsp-server: fix test issues from 1.5.0 upgrade#184026

Closed
lilyinstarlight wants to merge 2 commits intoNixOS:masterfrom
lilyinstarlight:fix/python-lsp-server-tests
Closed

python3Packages.python-lsp-server: fix test issues from 1.5.0 upgrade#184026
lilyinstarlight wants to merge 2 commits intoNixOS:masterfrom
lilyinstarlight:fix/python-lsp-server-tests

Conversation

@lilyinstarlight
Copy link
Member

Description of changes

Fixes issues building python-lsp-server since it was bumped to 1.5.0 in #181620 (see hydra build 185438708)

Changes:

The package python3Packages.spyder (which depends on this package) is still failing due to the python3Packages.qdarkstyle update, but that's unrelated to this PR (I might open another PR to fix that one, but I don't personally use it, unlike this one)

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.
nixpkgs-review

Result of nixpkgs-review 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

Changes:
* The `test_numpy_completion` test is currently broken - see davidhalter/jedi#1864
* The test flags were moved from setup.cfg to pyproject.toml - see python-lsp/python-lsp-server#207
* A dependency on `whatthepatch` was added for yapf - see python-lsp/python-lsp-server#136
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 30, 2022
@lilyinstarlight
Copy link
Member Author

lilyinstarlight commented Jul 30, 2022

Oops I swear I searched this, but I missed #183862 somehow. Closing this PR in favor of that one (sorry about the extra noise)

@lilyinstarlight lilyinstarlight deleted the fix/python-lsp-server-tests branch July 30, 2022 19:09
@ofborg ofborg bot added 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. labels Jul 30, 2022
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.

1 participant