Skip to content

Commit

Permalink
[PY] chore: implement poetry v2 updates (#2325)
Browse files Browse the repository at this point in the history
## Linked issues

closes: #minor

## Details

- poetry issued breaking changes in their v2
- updated min support to 3.9 as 3.8 is no longer LTS

---------

Co-authored-by: lilydu <[email protected]>
  • Loading branch information
lilyydu and lilydu authored Mar 3, 2025
1 parent 708876d commit dcb90cc
Show file tree
Hide file tree
Showing 60 changed files with 3,891 additions and 1,660 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
environment: main
env:
python-version: 3.8
python-version: 3.9
defaults:
run:
working-directory: python/packages/ai
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-build-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
defaults:
run:
working-directory: python/
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry==1.8.5
pip install poetry
python scripts/install.py
- name: Check
run: |
Expand Down
2 changes: 1 addition & 1 deletion getting-started/QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ To get started, ensure that you have the following tools:
| [Visual Studio Code](https://code.visualstudio.com/download) | Python build environments. Use the latest version. |
| [Teams Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) (5.3.x or greater) | Microsoft Visual Studio Code extension that creates a project scaffolding for your app. Use the latest version. |
| [Git](https://git-scm.com/downloads) | Git is a version control system that helps you manage different versions of code within a repository. |
| [Python](https://www.python.org/downloads/) (>=3.8, <4.0) | Python programming language |
| [Python](https://www.python.org/downloads/) (>=3.9, <4.0) | Python programming language |
| [Poetry](https://python-poetry.org/docs/) | Dependency management and packaging tool for Python | |
| [Python VSCode Extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) | Provides rich support for Python on VSCode | |
| [Microsoft Teams](https://www.microsoft.com/microsoft-teams/download-app) | Microsoft Teams to collaborate with everyone you work with through apps for chat, meetings, and call-all in one place. |
Expand Down
2 changes: 0 additions & 2 deletions pipelines/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ pool:

strategy:
matrix:
Python38:
python.version: '3.8'
Python39:
python.version: '3.9'
Python310:
Expand Down
2 changes: 1 addition & 1 deletion python/packages/ai/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ persistent=yes

# Minimum Python version to use for version dependent checks. Will default to
# the version used to run pylint.
py-version=3.8
py-version=3.9

# Discover python modules and packages in the file system subtree.
recursive=no
Expand Down
2 changes: 1 addition & 1 deletion python/packages/ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Welcome to the Teams AI Library Python package!
This SDK is specifically designed to assist you in creating bots capable of interacting with Teams and Microsoft 365 applications. It is constructed using the [Bot Framework SDK](https://github.com/microsoft/botbuilder-python) as its foundation, simplifying the process of developing bots that interact with Teams' artificial intelligence capabilities. See the [Teams AI repo README.md](https://github.com/microsoft/teams-ai), for general information.

Requirements:
* [Python](https://www.python.org/downloads/) (>=3.8, <4.0)
* [Python](https://www.python.org/downloads/) (>=3.9, <4.0)
* [Poetry](https://python-poetry.org/docs/)

## Getting Started
Expand Down
Loading

0 comments on commit dcb90cc

Please sign in to comment.