Skip to content

Allow configuring the specification version#220

Merged
ywangd merged 2 commits into
ywangd:mainfrom
pquentin:bump-autocompletion-version
Jan 22, 2026
Merged

Allow configuring the specification version#220
ywangd merged 2 commits into
ywangd:mainfrom
pquentin:bump-autocompletion-version

Conversation

@pquentin

Copy link
Copy Markdown
Collaborator

And bump the default version from 8.2 to 9.2.

@pquentin pquentin changed the title Allow configuration the specification version Allow configuring the specification version Jan 21, 2026
@ywangd
ywangd merged commit 9b3e950 into ywangd:main Jan 22, 2026
5 checks passed
Comment thread peek/natives.py
if os.path.exists(schema_filepath):
raise RuntimeError(f'schema file already exists [{schema_filepath}]. Please remove it before download.')
git_branch = options.get('version', '8.12')
git_branch = self.options['version']

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I missed this before merging. To support specifying version for the download function, we need to consult with the options variable passed-in and fallback to self.options for default. I pushed 0fed0b8 to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants