Skip to content

Commit

Permalink
update to python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
MSchmoecker committed Jan 10, 2025
1 parent 33113d7 commit 774d18a
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 158 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
test-pre-commit:
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.12
python: python3.13

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
4 changes: 2 additions & 2 deletions agent/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ poetry2nix
, writeShellApplication
, python312
, python313
,
}:
let
Expand All @@ -9,7 +9,7 @@ let
projectDir = ./.;
preferWheels = true;
checkGroups = [ "test" ];
python = python312;
python = python313;
}).dependencyEnv;
in
writeShellApplication {
Expand Down
8 changes: 4 additions & 4 deletions controller/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, nix
, writeShellApplication
, thymis-frontend
, python312
, python313
,
}:
let
Expand All @@ -13,11 +13,11 @@ let
projectDir = ./.;
preferWheels = true;
overrides = poetry2nix.overrides.withDefaults (self: super: {
fastapi-cli = python312.pkgs.fastapi-cli;
bcrypt = python312.pkgs.bcrypt;
fastapi-cli = python313.pkgs.fastapi-cli;
bcrypt = python313.pkgs.bcrypt;
});
checkGroups = [ "test" ];
python = python312;
python = python313;
}).dependencyEnv;
in
writeShellApplication {
Expand Down
293 changes: 145 additions & 148 deletions controller/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion controller/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.12"
python = ">=3.13"
fastapi = "^0.115.3"
pydantic = "^2.8.2"
uvicorn = "^0.32.0"
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
default = pkgs.mkShell {
packages = [
pkgs.poetry
pkgs.python312
pkgs.python313
pkgs.nodejs_22
pkgs.pre-commit
pkgs.playwright-driver.browsers
Expand Down

0 comments on commit 774d18a

Please sign in to comment.