Skip to content

Commit

Permalink
chore: update python version to 3.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benoutram committed Dec 7, 2023
1 parent 0686ca8 commit c615fe0
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
rev: 23.9.1
hooks:
- id: black
language_version: python3.11
language_version: python3.12

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12.0
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ flake8 = "==6.1.0"
pre-commit = "==3.5.0"

[requires]
python_version = "3.11"
python_version = "3.12"
44 changes: 40 additions & 4 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The latter fastapi server exposes the Qdrant, openai and langchain apis. This me

## Prerequisites

- [Python](https://www.python.org/downloads/) version 3.11 or higher installed on your system.
- [Python](https://www.python.org/downloads/) version 3.12.0 installed on your system.
- [Docker](https://www.docker.com/get-started) installed and running on your system.
- [Pipenv](https://pipenv.pypa.io/en/latest/) for managing Python dependencies.
- [npm](https://nodejs.org/en/download) for managing frontend dependencies.
Expand Down
12 changes: 5 additions & 7 deletions infrastructure/azure-pipelines-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
vmImage: ubuntu-latest
strategy:
matrix:
Python311:
python.version: '3.11'
Python312:
python.version: '3.12'
displayName: 'Create Data Ingestion API Artifact'
steps:
- template: templates/python-steps.yaml
Expand All @@ -60,8 +60,8 @@ jobs:
vmImage: ubuntu-latest
strategy:
matrix:
Python311:
python.version: '3.11'
Python312:
python.version: '3.12'
displayName: 'Create Response Automater API Artifact'
steps:
- template: templates/python-steps.yaml
Expand All @@ -77,6 +77,4 @@ jobs:

- publish: $(Build.ArtifactStagingDirectory)/ResponseAutomaterAPI/ResponseAutomaterAPI$(Build.BuildId).zip
displayName: 'Upload Response Automater'
artifact: ResponseAutomaterAPI


artifact: ResponseAutomaterAPI
12 changes: 5 additions & 7 deletions infrastructure/azure-pipelines-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
vmImage: ubuntu-latest
strategy:
matrix:
Python311:
python.version: '3.11'
Python312:
python.version: '3.12'
displayName: 'Data Ingestion API Tests'
steps:
- template: templates/python-steps.yaml
Expand Down Expand Up @@ -77,8 +77,8 @@ jobs:
vmImage: ubuntu-latest
strategy:
matrix:
Python311:
python.version: '3.11'
Python312:
python.version: '3.12'
displayName: 'Response Automater Tests'
steps:
- template: templates/python-steps.yaml
Expand All @@ -100,6 +100,4 @@ jobs:
- task: PublishCodeCoverageResults@2
displayName: 'Collect Code Coverage'
inputs:
summaryFileLocation: ./coverage.xml


summaryFileLocation: ./coverage.xml

0 comments on commit c615fe0

Please sign in to comment.