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

Update language server modules to latest release #23623

Merged
merged 4 commits into from
Jun 17, 2024

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Jun 14, 2024

This is a prerequisite to fixing this pylance issue: microsoft/pylance-release#5402

@rchiodo rchiodo added the bug Issue identified by VS Code Team member as probable bug label Jun 14, 2024
@rchiodo rchiodo added the skip tests Updates to tests unnecessary label Jun 14, 2024
@@ -5,12 +5,11 @@ import { IJupyterExtensionDependencyManager } from '../common/application/types'
import { IDisposableRegistry, IExtensions } from '../common/types';
import { IServiceContainer } from '../ioc/types';
import { sendTelemetryEvent } from '../telemetry';
import { createHidingMiddleware } from './hidingMiddleware';
Copy link
Author

Choose a reason for hiding this comment

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

Turns out this update wasn't quite so automatic. The _Window middleware changed its signature. This meant the middleware exported from the jupyter-lsp-middleware npm module would also need to be updated. Given we haven't updated that in 2 years (and I didn't want to go through the hoops to get it published again), I just copied that code here. It was the only thing used from that module.

@rchiodo rchiodo self-assigned this Jun 14, 2024
@@ -108,7 +108,7 @@ async function runPylance(
middleware,
};

const client = new LanguageClient('python', 'Python Language Server', clientOptions, worker);
const client = new LanguageClient('python', 'Python Language Server', worker, clientOptions);
Copy link
Author

Choose a reason for hiding this comment

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

The order of the arguments changed on this constructor.

debonte
debonte previously approved these changes Jun 15, 2024
package.json Outdated Show resolved Hide resolved
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
@rchiodo rchiodo requested a review from debonte June 17, 2024 16:32
@rchiodo
Copy link
Author

rchiodo commented Jun 17, 2024

@debonte for some reason accepting your suggestions requires another review sign off

@rchiodo rchiodo enabled auto-merge (squash) June 17, 2024 16:38
@rchiodo rchiodo merged commit bc2f5e3 into microsoft:main Jun 17, 2024
40 checks passed
DonJayamanne pushed a commit that referenced this pull request Jun 24, 2024
This is a prerequisite to fixing this pylance issue:
microsoft/pylance-release#5402

---------

Co-authored-by: Erik De Bonte <erikd@microsoft.com>
eleanorjboyd pushed a commit to eleanorjboyd/vscode-python that referenced this pull request Jun 28, 2024
This is a prerequisite to fixing this pylance issue:
microsoft/pylance-release#5402

---------

Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug skip tests Updates to tests unnecessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants