Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-python
Browse files Browse the repository at this point in the history
…into new_polling

* 'master' of https://github.com/Azure/azure-sdk-for-python: (85 commits)
  Update to Update-Changelog.ps1 (Azure#15981)
  Fix put_encrypted_blob function (Azure#15918)
  renamed checkpoint by batch samples to by event count (Azure#15977)
  Migration guide for EventGrid (Azure#15731)
  Clearer message for incomplete environment configuration (Azure#15974)
  renamed async checkpoint sample readme title (Azure#15958)
  fixed 'async with outside async func' syntax error in EH async auth with conn str sample (Azure#15955)
  fixed typo in EH sample + readme (Azure#15954)
  Clean up batch delete sample (Azure#15898)
  Add azure core to mgmt dependency (Azure#15969)
  [T2] GA rdbms (Azure#15934)
  GA commerce track2 sdk (Azure#15907)
  GA batch track2 sdk (Azure#15906)
  GA policyinsights track2 sdk (Azure#15905)
  GA search track2 sdk (Azure#15904)
  GA notificationhubs track2 sdk (Azure#15903)
  [T2] GA relay (Azure#15902)
  GA cognitiveservices track2 sdk (Azure#15901)
  GA advisor track2 sdk (Azure#15900)
  GA marketplaceordering track2 sdk (Azure#15899)
  ...
  • Loading branch information
iscai-msft committed Jan 5, 2021
2 parents c385d60 + 0a9288e commit 184e235
Show file tree
Hide file tree
Showing 1,988 changed files with 166,015 additions and 112,734 deletions.
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ exclude_lines =
if raw:
if custom_headers:
if headers:
if response.status_code not in
if response.status_code not in
if TYPE_CHECKING:
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/sdk/eventhub/ @annatisch @yunhaoling @KieranBrantnerMagee

# PRLabel: %Storage
/sdk/storage/ @amishra-dev @zezha-msft @annatisch @rakshith91 @xiafu-msft @tasherif-msft @kasobol-msft
/sdk/storage/ @amishra-dev @zezha-msft @annatisch @xiafu-msft @tasherif-msft @kasobol-msft

# PRLabel: %App Configuration
/sdk/appconfiguration/ @xiangyan99
Expand Down Expand Up @@ -81,7 +81,7 @@
/sdk/schemaregistry/ @yunhaoling

# PRLabel: %Search
/sdk/search/ @xiangyan99 @rakshith91
/sdk/search/ @xiangyan99

# PRLabel: %Service Fabric
/sdk/servicefabric/ @QingChenmsft @samedder
Expand All @@ -90,7 +90,7 @@
/sql/sql/ @jaredmoo

# PRLabel: %Service Bus
/sdk/servicebus/ @annatisch @yunhaoling @KieranBrantnerMagee
/sdk/servicebus/ @annatisch @yunhaoling @KieranBrantnerMagee @rakshith91

# PRLabel: %Synapse
/sdk/synapse/ @aim-for-better @idear1203
Expand All @@ -102,7 +102,7 @@
/sdk/textanalytics/ @kristapratico @iscai-msft @abhahn

# PRLabel: %Cognitive - Form Recognizer
/sdk/formrecognizer/ @kristapratico @iscai-msft @rakshith91
/sdk/formrecognizer/ @kristapratico @iscai-msft

# PRLabel: %Cognitive - Metrics Advisor
/sdk/metricsadvisor/ @xiangyan99 @kristapratico
Expand Down
29 changes: 18 additions & 11 deletions doc/dev/dev_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,21 @@ or execute the various commands available in the toolbox.

1. If you don't already have it, install Python:

- Windows: https://www.python.org/downloads/ or from the windows store https://www.microsoft.com/p/python-37/9nj46sx7x90p
- Windows: [Python website][python_website] or from the [Windows store][python_39]
- Ubuntu/Debian `sudo apt-get install python3`
- RHEL/CentOS `sudo yum install python3`

Python is also available in Bash for Windows natively.

3. Clone the repository and go to the folder
2. Clone the repository and go to the folder

```
git clone https://github.com/Azure/azure-sdk-for-python.git
cd azure-sdk-for-python
```

2. Create a [virtual environment](https://docs.python.org/3/tutorial/venv.html)
3. Create a [virtual environment][virtual_environment]

You can initialize a virtual environment this way:

```
Expand All @@ -30,19 +31,25 @@ or execute the various commands available in the toolbox.
./env/scripts/activate.bat # Windows CMD only
```

4. Setup your env (installing dependencies, etc.)
4. Setup your development environment

Install the development requirements for a specific library (located in the `dev_requirements.txt` file at the root of the library), [Tox][tox], [Tox monorepo][tox_monorepo] and an editable install of your library:
```
python scripts/dev_setup.py
```

If you work on a particular package, you can setup only this package to save some installation time:

```
python scripts/dev_setup.py -p azure-mgmt-service
azure-sdk-for-python> cd sdk/formrecognizer/azure-ai-formrecognizer
azure-sdk-for-python/sdk/formrecognizer/azure-ai-formrecognizer> pip install -r dev_requirements.txt
azure-sdk-for-python/sdk/formrecognizer/azure-ai-formrecognizer> pip install tox tox-monorepo
azure-sdk-for-python/sdk/formrecognizer/azure-ai-formrecognizer> pip install -e .
```

5. Create a .env file to store your secrets.

The recommended place to store your .env file is one directory higher than the `azure-sdk-for-python` location.
This ensures the secrets will be loaded by the interpreter and most importantly not be committed to Git history.


<!-- LINKS -->
[python_website]: https://www.python.org/downloads/
[python_39]: https://www.microsoft.com/p/python-39/9p7qfqmjrfp7
[virtual_environment]: https://docs.python.org/3/tutorial/venv.html
[tox]: https://tox.readthedocs.io/en/latest/
[tox_monorepo]: https://pypi.org/project/tox-monorepo/
Loading

0 comments on commit 184e235

Please sign in to comment.