Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Update python version to 3.12.0 #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11.3
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
2 changes: 1 addition & 1 deletion data_ingestion/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim as base
FROM python:3.12-slim as base

# Setup env
ENV PYTHONDONTWRITEBYTECODE 1
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
2 changes: 1 addition & 1 deletion response_automater/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim as base
FROM python:3.12-slim as base

# Setup env
ENV PYTHONDONTWRITEBYTECODE 1
Expand Down
Loading