[docs] Fix documentation inconsistencies in dev guides
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- documentation
Direzione di ricerca
Esamina doc/dev/tests.md, doc/dev/mgmt/generation.md, doc/dev/packaging.md e doc/dev/static_type_checking.md rispetto al codice sorgente attuale e alle convenzioni del repository descritte nell’issue. Verifica le modifiche elencate alle indicazioni su versioni, build, packaging, numerazione e Python 2, quindi conferma che tutti e quattro i documenti non contengano più incoerenze.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This PR fixes several documentation inconsistencies found across doc/dev/ by comparing the docs against current source code and repository conventions.
Changes
doc/dev/tests.md
- Fixed numbered list (2 occurrences): The list of supported auth tools (
AZURE_TEST_USE_*_AUTH) skipped from item2.directly to4., omitting3.. Changed4. Azure Developer CLI→3. Azure Developer CLIin both locations (lines ~178 and ~216). - Updated Python version example: The virtual environment creation example referenced Python 3.14, which is an unreleased development version. Updated to Python 3.13 (the current stable release).
doc/dev/mgmt/generation.md
- Removed unnecessary
pip install setuptoolsstep: The "Installing Necessary Dependencies" section instructed users to runpip install setuptoolsafterdev_setup.py. This is not needed for modern packages usingpyproject.tomland is not documented elsewhere as a requirement. - Replaced deprecated build command:
python setup.py bdist_wheelis deprecated (PEP 517). Updated topython -m build.
doc/dev/packaging.md
- Updated legacy
setup.pyexample: The example code read fromversion.py(without underscore) andREADME.rst. Current packages use_version.py(with leading underscore) andREADME.md. Updated the code snippet accordingly. - Marked Python 2 /
azure-nspkgsection as obsolete: The "Note on Python 2" section stated thatextras_requireMUST includeazure-nspkgfor Python 2. Python 2 support was dropped on January 1st 2022; this requirement no longer applies. Reworded the section header and added an explicit obsolete notice.
doc/dev/static_type_checking.md
- Updated stale Python 2 type hint note: The note said "some libraries use comment-style type hints due to legacy Python 2 code, but these will be updated." Since Python 2 support has been dropped, this "future work" framing is no longer accurate. Updated to simply state that annotation-style hints are required as Python 2 is no longer supported.
Generated by Documentation Consistency Check · 174.8 AIC · ⌖ 12.8 AIC · ⊞ 5.8K · ◷
[!NOTE]
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branchdoc/fix-documentation-inconsistencies-5c0669ae2af3aeb2.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (133 of 133 lines)
From a48db3de1146963ef663f318c1d8a1c39553ad78 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Mon, 17 Aug 2026 05:02:13 +0000
Subject: [PATCH] doc: fix documentation inconsistencies in dev guides
- tests.md: fix numbered list skipping from 2 to 4 (two occurrences)
- tests.md: update Python 3.14 (unreleased) venv example to Python 3.13
- mgmt/generation.md: remove unnecessary 'pip install setuptools' step
- mgmt/generation.md: replace deprecated 'python setup.py bdist_wheel'
with 'python -m build'
- packaging.md: update version.py -> _version.py and README.rst -> README.md
in legacy setup.py example to match current package conventions
- packaging.md: mark 'Note on Python 2 / azure-nspkg' section as obsolete
since Python 2 support was dropped in 2022
- static_type_checking.md: update stale note about Python 2 comment-style
type hints to reflect that Python 2 is no longer supported
Co-authored-by: Copilot <[email protected]>
---
doc/dev/mgmt/generation.md | 3 +--
doc/dev/packaging.md | 10 ++++++----
doc/dev/static_type_checking.md | 2 +-
doc/dev/tests.md | 8 ++++----
4 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/doc/dev/mgmt/generation.md b/doc/dev/mgmt/generation.md
index 73cb1553..6d3767d6 100644
--- a/doc/dev/mgmt/generation.md
+++ b/doc/dev/mgmt/generation.md
@@ -57,7 +57,6 @@ PS C:\dev\azure-sdk-for-python> .\.venv\Scripts\Activate.ps1 # Windows
3. Install Python dependencies:
(.venv) PS C:\dev\azure-sdk-for-python> python .\scripts\dev_setup.py -p azure-core
-(.venv) PS C:\dev\azure-sdk-for-python> pip install setuptools
### Generate the SDK
@@ -179,7 +178,7 @@ If you're doing basic testing and want to minimal set of parameters:
And that's it! You should now have Python code ready to test. Note that this generation is for testing only and should not be sent to a customer or published to PyPI.
... (truncated)
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g 1m
- PR unite (30g)
- 218
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/azure-sdk-for-python
-
Evaluation Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Azure/azure-sdk-for-python#49190 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Update CODEOWNERSAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
Azure/azure-sdk-for-python#49183 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Evaluation Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Azure/azure-sdk-for-python#49153 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Search Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Azure/azure-sdk-for-python#48555 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Azure.Core customer-reported feature-request needs-team-attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Azure/azure-sdk-for-python#47186 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/azure-sdk-for-python
Issue simili
-
repo-audit
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
scverse/repo-health#20 ·
I maintainer di solito rispondono entro 1 giorno
-
/context/prime scope override double-prefixes an entity-ref project and drops its scoped memoriesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
phasespace-labs/palinode#232 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
collective/icalendar#1858 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
lfx-mcp cannot supply global variables: LangflowClient drops X-LANGFLOW-GLOBAL-VAR-* from envApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
langflow-ai/langflow#15496 ·
I maintainer di solito rispondono entro 1 giorno