Skip to content

Commit

Permalink
Update python versions
Browse files Browse the repository at this point in the history
Run stuff with python 3.12. Readme and pyproject states 3.11 for now.
  • Loading branch information
jlaunonen committed Apr 6, 2024
1 parent 78d2fa0 commit 1b5e706
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.12'
cache: pip
cache-dependency-path: constraints.txt requirements-dev.txt
- run: pip install -r requirements-dev.txt
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.12
WORKDIR /usr/src/app

RUN (echo "Package: *" && echo "Pin: origin deb.nodesource.com" && echo "Pin-Priority: 600") > /etc/apt/preferences.d/nodesource && \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ It consists of a high level guide outlining the steps, example guide that has mo

### High level guide

1. Install Python >= 3.9.
1. Install Python >= 3.11.
2. Clone Kirppu.
3. Create virtualenv.
4. Install dependencies with pip and requirements-dev.txt
Expand Down Expand Up @@ -194,6 +194,7 @@ To compile frontend sources for use in browser, there is two choices, which can
Copyright (c) 2021 Jyrki Launonen
Copyright (c) 2022 Jyrki Launonen
Copyright (c) 2023 Jyrki Launonen
Copyright (c) 2024 Jyrki Launonen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kirppu"
description = "Second-hand sales POS and vendor signup for conventions"
version = "0"
requires-python = ">=3.10"
requires-python = ">=3.11"

dependencies = [
"django-environ~=0.11.0",
Expand Down

0 comments on commit 1b5e706

Please sign in to comment.