Deprecate Parser.{config,env} by AA-Turner · Pull Request #13644 · sphinx-doc/sphinx (original) (raw)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub SparkBuild and deploy intelligent apps
* GitHub ModelsManage and compare prompts
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* GitHub Stars
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
sphinx-doc / sphinx Public
Notifications You must be signed in to change notification settings
Additional navigation options
Merged
AA-Turner merged 1 commit intosphinx-doc:masterfrom
AA-Turner:cleanup/deprecate-parser-objs
Jun 10, 2025
ConversationCommits (1)ChecksFiles changed
Merged
Deprecate Parser.{config,env}#13644
AA-Turner merged 1 commit intosphinx-doc:masterfrom
AA-Turner:cleanup/deprecate-parser-objs
Conversation
Copy link Copy Markdown
Member
AA-Turner commented
It's unclear if these attributes are used in third-party projects, and removing them would allow for a great deal of simplification. I'm open to reversing this deprecation if the impact is too large.
A
[Deprecate Parser.{config,env}](/sphinx-doc/sphinx/pull/13644/commits/bca40713156f3cff4ab38868b0105757fe6396c9 "Deprecate ``Parser.{config,env}``")
[bca4071](/sphinx-doc/sphinx/pull/13644/commits/bca40713156f3cff4ab38868b0105757fe6396c9)
AA-Turner added the internals:refactoring label
AA-Turner merged commit bb5e545 into sphinx-doc:master
25 checks passed
AA-Turner deleted the cleanup/deprecate-parser-objs branch
Copy link Copy Markdown
Contributor
bsipocz commented
This triggered in our CI for MyST-NB, I'm looking into the code now if we in fact use them or just inherited and propagated down the line.
https://github.com/executablebooks/MyST-NB/actions/workflows/tests_devdeps.yml
Copy link Copy Markdown
Contributor
bsipocz commented
Indeed, we are using env in our parser class https://github.com/executablebooks/MyST-NB/blob/master/myst_nb/sphinx_.py#L56 as well as through the Myst-parser lib (https://github.com/executablebooks/MyST-Parser).
It's not trivially clear how difficult it would be to work around these deprecation, and to judge the impact, but I would say there are quite a lot of projects out there that uses MyST-NB for their rendering; a handful of them are listed here: https://executablebooks.org/en/latest/gallery/ but also some libraries such as scipy now relies of MyST-NB for their library documentation build: https://github.com/scipy/scipy/blob/main/pyproject.toml#L99
bsipocz mentioned this pull request
COMPability: devdeps job is failing with RemovedInSphinx90Warningexecutablebooks/MyST-NB#681
Closed
AA-Turner mentioned this pull request
KeyError: 'writer' with myST-Parser since PR #13676#13713
Closed
github-actions bot locked as resolved and limited conversation to collaborators
AA-Turner added this to the 9.0.0 milestone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Sign up for free to subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
Development
Successfully merging this pull request may close these issues.