Skip to content

Bump office365-rest-python-client from 2.6.2 to 3.0.0 - #131

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/office365-rest-python-client-3.0.0
Open

Bump office365-rest-python-client from 2.6.2 to 3.0.0#131
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/office365-rest-python-client-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 6, 2026

Copy link
Copy Markdown
Contributor

Bumps office365-rest-python-client from 2.6.2 to 3.0.0.

Release notes

Sourced from office365-rest-python-client's releases.

3.0.0

First major release in over a year - and it's live on PyPI with an automated release pipeline.

⚠️ Breaking changes

  • Python 2 dropped - minimum supported version is now Python 3.8
  • ACS/SAML retirement - with_user_credentials now raises RuntimeError for SharePoint Online. Use with_username_and_password (MSAL ROPC) instead. ACS App-Only (with_client_credentials) is marked deprecated.
  • USGovernment GCC endpoints corrected - were pointing at the wrong URLs

✨ What's new

  • Full type hints across the entire library (runtime, directory, onedrive, outlook, teams, sharepoint, intune, and more)
  • with_username_and_password (MSAL ROPC) for SharePoint Online auth
  • Substantially expanded model coverage: Defender/security evidence types, subject rights requests, retention labels, threat intelligence, Copilot/Teams event details, and more
  • Expanded Intune (Cloud PC) and Teams surface area
  • New query/example modules for SharePoint, Graph, and Entra ID

🔧 Fixed

  • Cryptography CVEs updated to 48.0.0
  • Circular import in client_runtime_context.py / read_entity.py
  • NameError: name 'List' is not defined in fields/collection.py
  • single() and first() return types (never return None)
  • AttributeError: 'str' object has no attribute 'get' when SharePoint returns a string error payload
  • Pyright type-checking errors across the library and tests
  • Python 3.8 compatibility for PEP 604 type annotations

🧹 Removed

  • Python 2.7 support
  • .travis.yml (moved to GitHub Actions)
  • requirements.txt / requirements-dev.txt (use uv/pyproject.toml)

🚀 Install

pip install --upgrade office365-rest-python-client

Or with uv:

uv pip install --upgrade office365-rest-python-client
Changelog

Sourced from office365-rest-python-client's changelog.

[3.0.0]

Breaking

  • Python 2 dropped — minimum Python version is now 3.8
  • ACS/SAML retirementwith_user_credentials now raises RuntimeError for SharePoint Online. Use with_username_and_password (MSAL ROPC) instead. ACS App-Only (with_client_credentials) marked as deprecated.
  • USGovernment GCC endpoints corrected — were using wrong URLs
  • Model surface updated across SharePoint, Graph, and security namespaces (see Removed below)

Added

  • Full type hints across all modules (runtime, directory, onedrive, outlook, teams, sharepoint, intune, and more)
  • with_username_and_password (MSAL ROPC) for SharePoint Online auth
  • Substantially expanded Graph model coverage: Defender/security evidence types, subject rights requests, retention labels, threat intelligence, and more
  • Expanded Intune (Cloud PC) and Teams admin/communication model surface
  • New query/example modules for SharePoint, Graph, and Entra ID scenarios

Changed

  • Modernized SharePoint models and generator with Python 3 type hints (Self, X | None)
  • datetime.utcnow() replaced with timezone-aware alternatives (Python 3.12+ deprecation)
  • Generator tooling: entity_type_name support, EnumType generation, template-driven model props
  • Credential/guard improvements for Entra ID multi-resource (via ResourceName)

Fixed

  • Cryptography CVEs updated to 48.0.0
  • Circular import in client_runtime_context.py / read_entity.py
  • NameError: name 'List' is not defined in fields/collection.py
  • single() and first() return types (never return None)
  • AttributeError: 'str' object has no attribute 'get' when SharePoint returns a string error payload
  • Pyright type-checking errors across the library and tests

Removed

  • Python 2.7 support
  • .travis.yml (use GitHub Actions instead)
  • requirements.txt / requirements-dev.txt (use uv/pyproject.toml)
  • Deprecated/renamed model classes superseded by the regenerated schema

Internal

  • CI moved to GitHub Actions (ruff, pyright, offline pytest)
  • Dependency management via uv and pyproject.toml

Commits
  • e8e53c3 fix: use release/v1 ref for pypi publish action (v1 tag does not exist)
  • a65073a Add GitHub Actions workflow to publish releases to PyPI on tag push
  • 00f24e0 tweak a few types to comply with modern py3 style
  • 52e7f29 Update Graph/SharePoint model surface (calls, copilot, teams, subscriptions)
  • 94f13fd Prepare 3.0.0 release: fix test import, Python 3.8 compat, CI matrix, changelog
  • 860463c Update model
  • 6cc0fb8 Add public roadmap and link it from the README support section
  • 3ce046c Update model for security namespace
  • 60998d6 Add ssprRegisteredCount helper to feature summary; add sponsor section to README
  • fe7d527 Update model for security namespace
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [office365-rest-python-client](https://github.com/vgrem/office365-rest-python-client) from 2.6.2 to 3.0.0.
- [Release notes](https://github.com/vgrem/office365-rest-python-client/releases)
- [Changelog](https://github.com/vgrem/office365-rest-python-client/blob/master/CHANGELOG.md)
- [Commits](vgrem/office365-rest-python-client@2.6.2...v3.0.0)

---
updated-dependencies:
- dependency-name: office365-rest-python-client
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants