Skip to content

Commit c1a85c5

Browse files
authored
Bump typespec-python 0.12.5 (#3117)
* Update dependencies (2025-07-01 05:01:16) * Regenerate for typespec-python (2025-07-01 05:06:10) * add changelog * bump version --------- Co-authored-by: AutoPrFromHttpClientPython <AutoPrFromHttpClientPython>
1 parent 7bc84fc commit c1a85c5

64 files changed

Lines changed: 1732 additions & 26 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.chronus/changes/copilot-fix-3115-2025-6-1-3-6-11.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.chronus/changes/copilot-fix-3115-2025-7-01-02-45-12.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/autorest.python/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release
22

3+
## 6.35.5
4+
5+
No changes, version bump only.
6+
37
## 6.35.4
48

59
### Bump dependencies

packages/autorest.python/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@autorest/python",
3-
"version": "6.35.4",
3+
"version": "6.35.5",
44
"description": "The Python extension for generators in AutoRest.",
55
"scripts": {
66
"start": "node ./scripts/run-python3.js ./scripts/start.py",
@@ -29,7 +29,7 @@
2929
},
3030
"homepage": "https://github.com/Azure/autorest.python/blob/main/README.md",
3131
"dependencies": {
32-
"@typespec/http-client-python": "0.13.0-dev.2",
32+
"@typespec/http-client-python": "~0.12.5",
3333
"@autorest/system-requirements": "~1.0.2",
3434
"fs-extra": "~11.2.0",
3535
"tsx": "~4.19.1"

packages/typespec-python/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Release
22

3+
## 0.45.5
4+
5+
### Features
6+
7+
- [#3116](https://github.com/Azure/autorest.python/pull/3116) [typespec-python] Add support for uv package manager alongside pip
8+
9+
310
## 0.45.4
411

512
### Bump dependencies

packages/typespec-python/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-tools/typespec-python",
3-
"version": "0.45.4",
3+
"version": "0.45.5",
44
"author": "Microsoft Corporation",
55
"description": "TypeSpec emitter for Python SDKs",
66
"homepage": "https://github.com/Azure/autorest.python",
@@ -67,7 +67,7 @@
6767
"js-yaml": "~4.1.0",
6868
"semver": "~7.6.2",
6969
"tsx": "~4.19.1",
70-
"@typespec/http-client-python": "0.13.0-dev.2",
70+
"@typespec/http-client-python": "~0.12.5",
7171
"fs-extra": "~11.2.0"
7272
},
7373
"devDependencies": {
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Overview
2+
3+
This package is generated by `@typespec/http-client-python` with Typespec.
4+
5+
## Getting started
6+
7+
### Prequisites
8+
9+
- Python 3.9 or later is required to use this package.
10+
11+
### Install the package
12+
13+
Step into folder where setup.py is then run:
14+
15+
```bash
16+
pip install -e .
17+
```
18+
19+
### Examples
20+
21+
```python
22+
>>> from authentication.apikey import ApiKeyClient
23+
>>> from corehttp.exceptions import HttpResponseError
24+
25+
>>> client = ApiKeyClient(endpoint='<endpoint>')
26+
>>> try:
27+
<!-- write code here -->
28+
except HttpResponseError as e:
29+
print('service responds error: {}'.format(e.response.json()))
30+
```
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Overview
2+
3+
This package is generated by `@typespec/http-client-python` with Typespec.
4+
5+
## Getting started
6+
7+
### Prequisites
8+
9+
- Python 3.9 or later is required to use this package.
10+
11+
### Install the package
12+
13+
Step into folder where setup.py is then run:
14+
15+
```bash
16+
pip install -e .
17+
```
18+
19+
### Examples
20+
21+
```python
22+
>>> from authentication.http.custom import CustomClient
23+
>>> from corehttp.exceptions import HttpResponseError
24+
25+
>>> client = CustomClient(endpoint='<endpoint>')
26+
>>> try:
27+
<!-- write code here -->
28+
except HttpResponseError as e:
29+
print('service responds error: {}'.format(e.response.json()))
30+
```
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Overview
2+
3+
This package is generated by `@typespec/http-client-python` with Typespec.
4+
5+
## Getting started
6+
7+
### Prequisites
8+
9+
- Python 3.9 or later is required to use this package.
10+
11+
### Install the package
12+
13+
Step into folder where setup.py is then run:
14+
15+
```bash
16+
pip install -e .
17+
```
18+
19+
### Examples
20+
21+
```python
22+
>>> from authentication.oauth2 import OAuth2Client
23+
>>> from corehttp.exceptions import HttpResponseError
24+
25+
>>> client = OAuth2Client(endpoint='<endpoint>')
26+
>>> try:
27+
<!-- write code here -->
28+
except HttpResponseError as e:
29+
print('service responds error: {}'.format(e.response.json()))
30+
```
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Overview
2+
3+
This package is generated by `@typespec/http-client-python` with Typespec.
4+
5+
## Getting started
6+
7+
### Prequisites
8+
9+
- Python 3.9 or later is required to use this package.
10+
11+
### Install the package
12+
13+
Step into folder where setup.py is then run:
14+
15+
```bash
16+
pip install -e .
17+
```
18+
19+
### Examples
20+
21+
```python
22+
>>> from authentication.union import UnionClient
23+
>>> from corehttp.exceptions import HttpResponseError
24+
25+
>>> client = UnionClient(endpoint='<endpoint>')
26+
>>> try:
27+
<!-- write code here -->
28+
except HttpResponseError as e:
29+
print('service responds error: {}'.format(e.response.json()))
30+
```

0 commit comments

Comments
 (0)