Skip to content

Commit 991a5e0

Browse files
committed
feat: adds support for python 3.12
chore: adds release please configuration Signed-off-by: Vincent Biret <[email protected]>
1 parent 7f7ea06 commit 991a5e0

File tree

6 files changed

+40
-5
lines changed

6 files changed

+40
-5
lines changed

.github/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
manifest: true
2+
primaryBranch: main
3+
handleGHRelease: true

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.0.1"
3+
}

CHANGELOG.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,28 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7-
85
## [1.0.1] - 2024-04-22
96

107
### Added
118

129
### Changed
13-
-Enabled Large File Upload and Page iterator support
1410

11+
-Enabled Large File Upload and Page iterator support
1512

1613
## [1.0.0] - 2023-10-31
1714

1815
### Added
1916

2017
### Changed
18+
2119
- GA release.
2220

2321
## [1.0.0a6] - 2023-10-12
2422

2523
### Added
2624

2725
### Changed
26+
2827
- Replaced default transport with graph transport when using custom client with proxy.
2928

3029
## [1.0.0a5] - 2023-06-20

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "msgraph-core"
7-
version = "1.0.0"
7+
# The SDK version
8+
# x-release-please-start-version
9+
version = "1.0.1"
10+
# x-release-please-end
811
authors = [{name = "Microsoft", email = "[email protected]"}]
912
description = "Core component of the Microsoft Graph Python SDK"
1013
dependencies = [
@@ -23,6 +26,7 @@ classifiers = [
2326
"Programming Language :: Python :: 3.9",
2427
"Programming Language :: Python :: 3.10",
2528
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
2630
"License :: OSI Approved :: MIT License",
2731
]
2832

release-please-config.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"bootstrap-sha": "69079661c12dbfe6bf0c7cc379597d0c6c49e6f8",
3+
"exclude-paths": [
4+
".git",
5+
".idea",
6+
".github",
7+
".vscode"
8+
],
9+
"release-type": "python",
10+
"include-component-in-tag": false,
11+
"include-v-in-tag": true,
12+
"packages": {
13+
".": {
14+
"package-name": "msgraph-core",
15+
"changelog-path": "CHANGELOG.md",
16+
"extra-files": [
17+
"pyproject.toml",
18+
"msgraph-core/_constants.py"
19+
]
20+
}
21+
},
22+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
23+
}

src/msgraph_core/_constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
"""
99
DEFAULT_REQUEST_TIMEOUT = 100
1010
DEFAULT_CONNECTION_TIMEOUT = 30
11+
# The SDK version
12+
# x-release-please-start-version
1113
SDK_VERSION = '1.0.1'
14+
# x-release-please-end
1215
MS_DEFAULT_SCOPE = 'https://graph.microsoft.com/.default'

0 commit comments

Comments
 (0)