From 69e3a10cfcc299641c3effb9a000f6efe15a418c Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Tue, 27 May 2025 12:05:51 +0100 Subject: [PATCH 1/2] Add pyfakefs to dependencies (from dev dependencies) --- poetry.lock | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 4dae194c..ad05381e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. [[package]] name = "annotated-types" @@ -999,7 +999,7 @@ version = "5.7.4" description = "pyfakefs implements a fake file system that mocks the Python file system modules." optional = false python-versions = ">=3.7" -groups = ["dev"] +groups = ["main"] files = [ {file = "pyfakefs-5.7.4-py3-none-any.whl", hash = "sha256:3e763d700b91c54ade6388be2cfa4e521abc00e34f7defb84ee511c73031f45f"}, {file = "pyfakefs-5.7.4.tar.gz", hash = "sha256:4971e65cc80a93a1e6f1e3a4654909c0c493186539084dc9301da3d68c8878fe"}, @@ -1571,4 +1571,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.1" python-versions = ">=3.11,<4.0" -content-hash = "947b4e34fce30980f39cfc2ca1090bcbb4a89a5725647c9ce83df15719d2119d" +content-hash = "b69ac02be43827665ba8b116d7fde24d01d1fbaf6cbaa00e24ad2c28c9873c91" diff --git a/pyproject.toml b/pyproject.toml index 8b9358d2..e2f4da55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ dependencies = [ "prometheus-client (>=0.0.16)", "psycopg2-binary (>=2.9,<3)", "simplejson (>=3,<4)", + "pyfakefs (>=5.7,<6)" ] authors = [ { name = "Matthew Elwell" }, @@ -64,7 +65,6 @@ django-stubs = "^5.1.3" djangorestframework-stubs = "^3.15.3" mypy = "^1.15.0" pre-commit = "*" -pyfakefs = "^5.7.4" pytest = "^8.3.4" pytest-asyncio = "^0.25.3" pytest-cov = "^6.0.0" From 6552e9c15d2c9128120c99bd16e0349e0e03178e Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Tue, 27 May 2025 12:11:15 +0100 Subject: [PATCH 2/2] Post merge poetry lock --- poetry.lock | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 835f190d..70046932 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. [[package]] name = "annotated-types" @@ -900,7 +900,6 @@ files = [ {file = "psycopg2_binary-2.9.10-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:bb89f0a835bcfc1d42ccd5f41f04870c1b936d8507c6df12b7737febc40f0909"}, {file = "psycopg2_binary-2.9.10-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f0c2d907a1e102526dd2986df638343388b94c33860ff3bbe1384130828714b1"}, {file = "psycopg2_binary-2.9.10-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f8157bed2f51db683f31306aa497311b560f2265998122abe1dce6428bd86567"}, - {file = "psycopg2_binary-2.9.10-cp313-cp313-win_amd64.whl", hash = "sha256:27422aa5f11fbcd9b18da48373eb67081243662f9b46e6fd07c3eb46e4535142"}, {file = "psycopg2_binary-2.9.10-cp38-cp38-macosx_12_0_x86_64.whl", hash = "sha256:eb09aa7f9cecb45027683bb55aebaaf45a0df8bf6de68801a6afdc7947bb09d4"}, {file = "psycopg2_binary-2.9.10-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b73d6d7f0ccdad7bc43e6d34273f70d587ef62f824d7261c4ae9b8b1b6af90e8"}, {file = "psycopg2_binary-2.9.10-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ce5ab4bf46a211a8e924d307c1b1fcda82368586a19d0a24f8ae166f5c784864"}, @@ -1071,7 +1070,7 @@ version = "5.7.4" description = "pyfakefs implements a fake file system that mocks the Python file system modules." optional = false python-versions = ">=3.7" -groups = ["main", "dev"] +groups = ["main"] files = [ {file = "pyfakefs-5.7.4-py3-none-any.whl", hash = "sha256:3e763d700b91c54ade6388be2cfa4e521abc00e34f7defb84ee511c73031f45f"}, {file = "pyfakefs-5.7.4.tar.gz", hash = "sha256:4971e65cc80a93a1e6f1e3a4654909c0c493186539084dc9301da3d68c8878fe"}, @@ -1679,4 +1678,4 @@ test-tools = ["pyfakefs"] [metadata] lock-version = "2.1" python-versions = ">=3.11,<4.0" -content-hash = "18369d05529bfce4aad0393b73baa2f6d32394acbd3f3965d2a4e4f96da98078" +content-hash = "6c90977d4d7ab29daefbb8ef68d42f081fa34b91afc6f0265edb89c96986b759"