René's URL Explorer Experiment


Title: Update: Version 2.0 → Migrate to pygls + Microsoft's lsprotocol + Save Document · Issue #671 · python-lsp/python-lsp-server · GitHub

Open Graph Title: Update: Version 2.0 → Migrate to pygls + Microsoft's lsprotocol + Save Document · Issue #671 · python-lsp/python-lsp-server

X Title: Update: Version 2.0 → Migrate to pygls + Microsoft's lsprotocol + Save Document · Issue #671 · python-lsp/python-lsp-server

Description: Overview To align with Spyder IDE's remote development features (part of CZI 2022-316698 grant), the version 2.0 of the python's LSP server needs to support the latest LSP protocol version and allow to save document edditions on remote m...

Open Graph Description: Overview To align with Spyder IDE's remote development features (part of CZI 2022-316698 grant), the version 2.0 of the python's LSP server needs to support the latest LSP protocol version and allo...

X Description: Overview To align with Spyder IDE's remote development features (part of CZI 2022-316698 grant), the version 2.0 of the python's LSP server needs to support the latest LSP protocol version ...

Opengraph URL: https://github.com/python-lsp/python-lsp-server/issues/671

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update: Version 2.0 → Migrate to pygls + Microsoft's lsprotocol + Save Document","articleBody":"# Overview\n\nTo align with Spyder IDE's remote development features (part of CZI 2022-316698 grant), the version 2.0 of the python's LSP server needs to support the latest LSP protocol version and allow to save document edditions on remote machines (enableling remote editing for Spyder). With this requirements, instead of relying on the current custom protocol implementation, it will be adopted Microsoft’s official **`lsprotocol`** package for Python. Also, the server will be refactored to use **`pygls`** for handling base TCP communications, features management and document management. This changes lays the foundation for a server more scalable, maintainable and robust, especially for remote environments.\n\n# Key Features\n\n* **Asyncio-based foundation with pygls**\n  The server leverages **pygls** as its base implementation, providing a robust asyncio-driven framework for building language servers in Python. This includes built-in support for feature and command registration, multiple connection modes (TCP, STDIO, WebSocket), and automatic handling of document lifecycle events (open, change, close).\n\n* **Standards-compliant typing with lsprotocol**\n  By adopting **lsprotocol**, the server uses officially maintained, up-to-date Python types that align directly with the evolving LSP specification. This ensures cleaner versioning, greater consistency, and reduced maintenance overhead compared to proprietary type definitions.\n\n* **Atomic document commit mechanism**\n  To enhance reliability in remote development workflows (such as Spyder), the server supports an **opt-in atomic commit feature**. Instead of persisting edits immediately, the server can hold them in memory until a custom command (e.g., `spyder/commitEdits`) is issued. This enables atomic persistence of edits, improving resilience against latency and partial failures.\n\n# **Roadmap**\n\n1. **Migrate to pygls**\n\n   * Replace the custom LSP scaffolding with **pygls** to serve as the event loop and request/notification dispatcher.\n   * Ensure existing LSP features (completion, hover, diagnostics, etc.) are re-registered using pygls’s feature/command decorators with current plugin architecture.\n   * Configure entry-points for TCP, STDIO, and WebSocket connection modes for compatibility with current server API.\n\n2. **Refactor configuration and plugin architecture**\n\n   * Adopt **lsprotocol** types across the plugins codebase for functions signatures ensuring alignment with the official LSP specification.\n   * Type check all plugins to ensure proper specification.\n   * Redesign configuration loading and plugin interfaces to extend the **pygls base server**, allowing external modules to register features more cleanly.\n\n3. **Implement atomic document commit support**\n\n   * Maintain in-memory buffers of document changes rather than writing them immediately to disk.\n   * Introduce a custom command (e.g., `server/commitEdits`) to atomically persist pending edits when requested.\n","author":{"url":"https://github.com/hlouzada","@type":"Person","name":"hlouzada"},"datePublished":"2025-09-12T20:38:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/671/python-lsp-server/issues/671"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:762b7fe0-fac4-2b25-186f-564e356970ec
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD49A:2713AA:25E382E:32E5800:69706ADC
html-safe-noncec6e291b9aaee49015ddb1afc50b0f6bcd141943af3520870d074b8a94b1f22b4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDlBOjI3MTNBQToyNUUzODJFOjMyRTU4MDA6Njk3MDZBREMiLCJ2aXNpdG9yX2lkIjoiMzk2Mjk3MTY2ODcyNzQ5MTI5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca67aa0163f9f3c5301dbb2db64a0cb6c2f2d27d78c230f4fa7829b08c4089e06
hovercard-subject-tagissue:3411878015
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-lsp/python-lsp-server/671/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4ef5c29ab6c99863552a9a3304f9a8ca4172afd7e81b70c156803f9e05017780/python-lsp/python-lsp-server/issues/671
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4ef5c29ab6c99863552a9a3304f9a8ca4172afd7e81b70c156803f9e05017780/python-lsp/python-lsp-server/issues/671
og:image:altOverview To align with Spyder IDE's remote development features (part of CZI 2022-316698 grant), the version 2.0 of the python's LSP server needs to support the latest LSP protocol version and allo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehlouzada
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
go-importgithub.com/python-lsp/python-lsp-server git https://github.com/python-lsp/python-lsp-server.git
octolytics-dimension-user_id51609341
octolytics-dimension-user_loginpython-lsp
octolytics-dimension-repository_id341006790
octolytics-dimension-repository_nwopython-lsp/python-lsp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id341006790
octolytics-dimension-repository_network_root_nwopython-lsp/python-lsp-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d6181066430cc06553c8396ca201e194ae33cb9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/671#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lsp%2Fpython-lsp-server%2Fissues%2F671
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lsp%2Fpython-lsp-server%2Fissues%2F671
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-lsp%2Fpython-lsp-server
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/671
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/671
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/671
python-lsp https://patch-diff.githubusercontent.com/python-lsp
python-lsp-serverhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Fork 230 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Star 2.5k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Code https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Issues 144 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues
Pull requests 21 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulls
Discussions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/discussions
Actions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/actions
Projects 0 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/671
Insights https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulse
Code https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Issues https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues
Pull requests https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulls
Discussions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/discussions
Actions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/actions
Projects https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/projects
Security https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/security
Insights https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-lsp/python-lsp-server/issues/671
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-lsp/python-lsp-server/issues/671
Update: Version 2.0 → Migrate to pygls + Microsoft's lsprotocol + Save Documenthttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/671#top
v2.0.0https://github.com/python-lsp/python-lsp-server/milestone/30
https://github.com/hlouzada
https://github.com/hlouzada
hlouzadahttps://github.com/hlouzada
on Sep 12, 2025https://github.com/python-lsp/python-lsp-server/issues/671#issue-3411878015
v2.0.0No due datehttps://github.com/python-lsp/python-lsp-server/milestone/30
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.