From 5050996547155bdb49b8b30f75bb90631f4e9c88 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Sat, 4 Jan 2025 01:05:40 +0100 Subject: [PATCH] updated depenency versions --- flake.lock | 8 ++++---- flake.nix | 2 +- pyproject.toml | 20 ++++++++++---------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index 611ac39..5648e75 100644 --- a/flake.lock +++ b/flake.lock @@ -42,17 +42,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1735471104, - "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", + "lastModified": 1733759999, + "narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", + "rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-unstable", "repo": "nixpkgs", + "rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 52b7573..ea4383f 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "A webserver to create files for testing purposes"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:nixos/nixpkgs?rev=a73246e2eef4c6ed172979932bc80e1404ba2d56"; microvm = { url = "github:astro/microvm.nix"; diff --git a/pyproject.toml b/pyproject.toml index 1669000..9635067 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,27 +1,27 @@ [project] name = "testdata" version = "1.1.0" -requires-python = ">=3.11, <4" +requires-python = "~=3.12, <4" dependencies = [ - "fastapi==0.115.*", - "uvicorn==0.32.*", - "pydantic==2.10.*", + "fastapi~=0.115.3", + "uvicorn~=0.32.0", + "pydantic~=2.9.2", ] [project.optional-dependencies] dev = [ - "pytest==8.3.*", - "mypy==1.13.*", - "pylint==3.3.*", - "requests==2.32.*", - "types-requests==2.32.*" + "pytest~=8.3.4", + "mypy~=1.13.0", + "pylint~=3.3.3", + "requests~=2.32.3", + "types-requests~=2.32.0" ] [project.scripts] testdata = "testdata.main:main" [build-system] -requires = ["setuptools==75.*"] +requires = ["setuptools~=75.1.1"] build-backend = "setuptools.build_meta" [tool.setuptools.packages.find]