Skip to content

Commit

Permalink
Update to python 3.12
Browse files Browse the repository at this point in the history
Update requirements file
  • Loading branch information
CamLamb committed Mar 7, 2024
1 parent df6368f commit 46c1521
Show file tree
Hide file tree
Showing 7 changed files with 174 additions and 189 deletions.
2 changes: 1 addition & 1 deletion .copilot/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
repository: intranet/digital-workspace
builder:
name: paketobuildpacks/builder-jammy-full
version: 0.3.294
version: 0.3.338
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- name: Install poetry
run: |
pip install --upgrade pip
Expand Down
52 changes: 26 additions & 26 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
repos:
- repo: https://github.com/uktrade/pii-secret-check-hooks
rev: 0.0.0.35
hooks:
- id: pii_secret_filename
files: ''
language: python
language_version: python3.11
pass_filenames: true
require_serial: true
- id: pii_secret_file_content
files: ''
language: python
language_version: python3.11
pass_filenames: true
require_serial: true
- id: pii_secret_file_content_ner
files: ''
language: python
language_version: python3.11
# args: [--ner_output_file=ner_output_file.txt] # uncomment to output NER entities
pass_filenames: true
require_serial: true
- id: hooks_version_check
name: Checking local hooks against latest release
verbose: true
require_serial: true
- repo: https://github.com/uktrade/pii-secret-check-hooks
rev: 0.0.0.35
hooks:
- id: pii_secret_filename
files: ""
language: python
language_version: python3.12
pass_filenames: true
require_serial: true
- id: pii_secret_file_content
files: ""
language: python
language_version: python3.12
pass_filenames: true
require_serial: true
- id: pii_secret_file_content_ner
files: ""
language: python
language_version: python3.12
# args: [--ner_output_file=ner_output_file.txt] # uncomment to output NER entities
pass_filenames: true
require_serial: true
- id: hooks_version_check
name: Checking local hooks against latest release
verbose: true
require_serial: true
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-bookworm
FROM python:3.12-bookworm

ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
Expand Down
18 changes: 2 additions & 16 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
# Django
django = "^4.2"
django-environ = "^0.10.0"
Expand Down
Loading

0 comments on commit 46c1521

Please sign in to comment.