Skip to content

Removing Neon Reference from Index.json as part of Neon CLI Deprecation#9661

Open
Shekar2004 wants to merge 1 commit intoAzure:mainfrom
Shekar2004:users/pgnanashekar/neon-CLI-Deprecation
Open

Removing Neon Reference from Index.json as part of Neon CLI Deprecation#9661
Shekar2004 wants to merge 1 commit intoAzure:mainfrom
Shekar2004:users/pgnanashekar/neon-CLI-Deprecation

Conversation

@Shekar2004
Copy link
Member

@Shekar2004 Shekar2004 commented Mar 9, 2026

Summary

Microsoft.Neon (Neon Postgres) Azure Native Integration has been retired as of March 13, 2026.
This PR removes the Neon extension entry from src/index.json and adds a deprecation warning
to inform users who still have the extension installed.

Note: As this PR is part of the removal/deprecation of the Neon extension, the standard
extension checks listed below are skipped.


Changes

File Description
src/index.json Removed the Neon extension entry to prevent new installations.
src/neon/azext_neon/__init__.py Added a _DEPRECATION_WARNING message logged at WARNING level whenever any az neon command is invoked, notifying users the service has been retired.

Skipped Checks

The following checks are skipped as this PR involves only deprecation/removal — no new features or functional logic changes:

  • azdev style neon — No new logic added.
  • python scripts/ci/test_index.py -q — Neon entry is being removed from src/index.json, not added.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copilot AI review requested due to automatic review settings March 9, 2026 10:32
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Mar 9, 2026

️✔️Azure CLI Extensions Breaking Change Test
️✔️Non Breaking Changes

@azure-client-tools-bot-prd
Copy link

Hi @Shekar2004,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 9, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Hi @Shekar2004

Release Suggestions

Module: neon

  • Please log updates into to src/neon/HISTORY.rst
  • Update VERSION to 1.0.1b2 in src/neon/setup.py

Notes

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the deprecated Microsoft.Neon Azure CLI extension entry from the public extension index (src/index.json) so it is no longer discoverable/installable via az extension add --name neon.

Changes:

  • Deleted the neon extension block (all listed wheel versions and metadata) from src/index.json.

You can also share your feedback on Copilot code review. Take the survey.

@Shekar2004
Copy link
Member Author

Shekar2004 commented Mar 10, 2026

one check was not getting triggered, even though how long I wait. Azure.azure-cli-extensions

Can you please help to trigger the last check and review the PR: @necusjz

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 11, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@github-actions
Copy link
Contributor

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@Shekar2004
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 9661 in repo Azure/azure-cli-extensions

@Shekar2004 Shekar2004 force-pushed the users/pgnanashekar/neon-CLI-Deprecation branch from 8fe9d52 to 6df9a88 Compare March 15, 2026 10:26
@Shekar2004
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 9661 in repo Azure/azure-cli-extensions

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.

4 participants